Commands to Setup Explorer for Cryptocurrency

Commands to Setup Explorer for Cryptocurrency
(Last Updated On: 22/05/2023)

This blog is part of the course on how to create your own Cryptocurrency. This blog contains all the commands to set up explorers for Cryptocurrency. If you want to understand the complete process of coin building, please go to this link How to create Cryptocurrency 

Here below are the methods to setup 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 setup 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 explorer

Step: 2 Install the component

#enter the directory
cd explorer

#install packages
npm install --production

Step: 3 Run the explorer

npm start
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 background

nohup npm start & disown -h