Skip to content
Switch branches/tags
This branch is 264 commits ahead, 436 commits behind bulwark-crypto:master.
Fetch upstream

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

DogeCash Logo

DogeCash Explorer · GitHub license Build Status Discord GitHub version

Simple cryptocurrency block explorer system.


This repo assumes git, mongodb, node, yarn, and are installed with configuration done. Please adjust commands to your local environment.

Download links:

It is also required to have the DogeCash daemon running in the background. It is recommended to set this up before beginning to set up the explorer so that it syncs by the time you need it.

Our geniuses here at DogeCash™ have put together a script to do this for you. Just run

bash script/

This will install the latest DogeCash wallet and create a rpc username/password before starting the daemon.


git clone - copy repo to local folder.

cd dogecash-explorer - change into project directory.

yarn install - install packages used by the system.

Install (Windows 10 using Linux Subsystems)

  1. Add/Remove Features in Windows -> Add: Windows Subsystem for Linux, restart
  2. Install Ubuntu 18.04 from Windows App Store
  3. Run step by step commands on:
  4. After installation just run sudo mongod on Linux terminal, sudo mongo on a 2nd Linux terminal
  5. Open 3rd Linux terminal, type sudo apt install cmdtest
  6. In Linux terminal type cd /mnt followed by ls command to list your drivers, select drive+directory where you want to install explorer
  7. Type in git clone
  8. cd dogecash-explorer followed by bash script/


BlockEx API Configuration

cp config.template.js config.js - setup configuration using template.

Database Configuration

mongo - connect using mongo client.

use blockex - switch to database.

db.createUser( { user: "blockexuser", pwd: "Explorer!1", roles: [ "readWrite" ] } ) - create a user with the values stored in the config.js file from above, meaning they should match.

exit - exit the mongo client.

IMPORTANT: You should not build the frontend using the same config.js file as created above or you WILL LEAK sensitive database information.

BlockEx UI Configuration

On the local development machine, not the server/VPS, run cp config.template.js config.js to create new configuration file that will have the UI information in it.

IMPORTANT: You should have two config.js files, one for the server with the sensitive database connection information, and one that is used by the developer/designer on their local machine to configure and build the UI.


The following automated tasks are currently needed for BlockEx to update but before running the tasks please update the cron script /path/to/blockex/script/ for the block with the local /path/to/node.

yarn run cron:coin - will fetch coin related information like price and supply from

yarn run cron:masternode - updates the masternodes list in the database with the most recent information clearing old information before.

yarn run cron:peer - gather the list of peers and fetch geographical IP information.

yarn run cron:block - will sync blocks and transactions by storing them in the database.

yarn run cron:rich - generate the rich list.

Note: is is recommended to run all the crons before editing the crontab to have the information right away. Follow the order above, start with cron:coin and end with cron:rich.

To setup the crontab please see run crontab -e to edit the crontab and paste the following lines (edit with your local information):

*/1 * * * * cd /path/to/blockex && ./script/ >> ./tmp/block.log 2>&1
*/1 * * * * cd /path/to/blockex && /path/to/node ./cron/masternode.js >> ./tmp/masternode.log 2>&1
*/1 * * * * cd /path/to/blockex && /path/to/node ./cron/peer.js >> ./tmp/peer.log 2>&1
*/1 * * * * cd /path/to/blockex && /path/to/node ./cron/rich.js >> ./tmp/rich.log 2>&1
*/5 * * * * cd /path/to/blockex && /path/to/node ./cron/coin.js >> ./tmp/coin.log 2>&1


At this time only the client web interface needs to be built using webpack and this can be done by running yarn run build:web. This will bundle the application and put it in the /public folder for delivery.


yarn run start:api - will start the api.

yarn run start:web - will start the web, open browser http://localhost:8081.

Helpful scripts

node ./cron/clear-db.js - removes all entries from mongodb tables: Block, Coin, Masternode, Peer, Rich, Tx, Utxo


yarn run test:client - will run the client side tests.

yarn run test:server - will test the rpc connection, database connection, and api endpoints.

Development - Important File Locations

Client - Frontend (react, react-redux)

client/App.jsx - Contains all react routes to components (using react-router-dom)

client/core/Reducers.jsx - Contains all reducers used in redux connect() mapping (using react-redux)

client/core/Actions.jsx - Contains all actions used in redux connect() mapping (using react-redux)

Server - Rest API (node, express, mongo, mongoose)

server/route/api.js - Contains all public rest api endpoint routes


  • Write more tests
  • Cluster support for api


Block explorer for DogeCash Cryptocurrency




No releases published


No packages published