This blog contains all the commands to set up explorers for your Cryptocurrency. This blog is part of the course on how to create your own Cryptocurrency. If you want to understand the complete process of coin building, please check out our course on How to Create Cryptocurrency.
Here below are the methods to set up your own Cryptocurrency Explorer
Solution 1: Host your Explorer on Blockerry
Deploying a Crypto Explorer involves a bit of a technical part.
Maintaining Crypto Explorer takes deploying a correct version of Nodejs, setting up crontab, syncing explorer, keeping a node running in the background, and whatnot. Domain point and maintaining SSL is another tough nut to crack.
You can avoid all the hustle, with minimalistic cost, and that too without even maintaining a virtual cloud server. The Solution to all the above problems is – Blockerry!
Blockerry is a No-Code Blockchain Service provider platform. They provide a service to host your cryptocurrency explorer there for a cost as low as $29 per month. Just sign up and fill up the minimum details required to run the Explorer. They also take care of domain pointing with SSL service at the same cost. In case of any issues, you can raise a ticket to their support team and they will help you out.
Visit Blockerry Explorer Service here, Blockerry – Crypto Explorer
Solution 2: Commands to set up your own Explorer
Here below are the steps to deploy Explorer on your own server.
Step by Step Commands to Setup Explorer for Cryptocurrency
Step: 1 Clone the repository
git clone https://github.com/iquidus/explorer explorer
Step: 2 Install the component
#enter the directory cd explorer #install packages npm install --production
Step: 3 Run the explorer
Step: 4 Setup Crontab
*/1 * * * * cd ~/explorer && node scripts/sync.js index update > /dev/null 2>&1 */2 * * * * cd ~/explorer && node scripts/sync.js market > /dev/null 2>&1 */5 * * * * cd ~/explorer && node scripts/peers.js > /dev/null 2>&1
Step: 3 Run the explorer in the background
nohup npm start & disown -h