Skip to content

merembablas/arascan

 
 

Repository files navigation

ARAScan

Block and data explorer for Nuchain network.

Minimal and optimized version of Subscan.

Engine that power ARAScan.

Sequencer

Use to iterate through blocks from higher to lower number of blocks and process them.

Run:

yarn start:sequencer

Parameters:

  • --no-skip-limit - process without skip limit.
  • --all - process all blocks.

Development Cycle

Run the database using docker:

docker-compose up -d mongodb

API server

To start API server run the following command:

yarn start:api-server

Make sure the database already running and ready to accept connections.

Web UI

To start Web UI server run the following command:

yarn start:web-ui

Sync with production database

Sometimes we need to debug using production database, we can download from backup and restore to local database, for this purpose we can use the following command:

# backup and download database from remote
$ ./etc/script/get_latest_backup_db.sh
# restore to local database
$ ./etc/script/sync_latest_backup_db.sh

Packages

No packages published

Languages

  • TypeScript 35.4%
  • JavaScript 33.4%
  • CSS 13.7%
  • Pug 10.0%
  • Vue 6.5%
  • Shell 0.5%
  • Dockerfile 0.5%