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.
cd server
yarn install
yarn build
yarn start
cd client
yarn install
yarn build
yarn start
-
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/.
Any ideas are welcome. Feel free to submit any issues or pull requests and can join our discord channel Discord.
The pactus blockchain is under MIT license.