Commands to Setup Explorer for Cryptocurrency

Commands to Setup Explorer for Cryptocurrency
(Last Updated On: 01/09/2022)

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 of How to create Cryptocurrency if you are not already enrolled. To Enroll directly on the course, please visit this link Create Own Cryptocurrency.

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

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