/pactusscan

Block explorer for pactus blockchain

Primary LanguageJavaScriptApache License 2.0Apache-2.0

pactus-scan :

pactus explorer which is build using react js with webpack. It fetch the data from pactus blockchain to dispay the transactions details,block details and network details. Still in development phase.

Prerequisite : Required tools and packages to run the project.

Run pactus-scan server its written using node js:

cd server

yarn install

yarn build

yarn start

Run pactus-scan client written using React js:

cd client

yarn install

yarn build

yarn start

Mango Db config:

To remove mongo db

  • connect to the mongosh db with mongosh mongosh --host localhost --port 27017

  • switch to the database that you wish to drop use <database name>;

  • drop the database db.dropDatabase();

  • you need to create mongo db with database name block_chain and provide username and password to dbURI

const dbURI = "mongodb+srv://username:<password@<you_cluster>/block_chain?retryWrites=true&w=majority"

Note : npm will serve http://localhost:3000/.

Contribution

Any ideas are welcome. Feel free to submit any issues or pull requests and can join our discord channel Discord.

License

The pactus blockchain is under MIT license.