Welcome to argochain, a PoS blockchain based on ethereum model with a VRF lottery validator mechanism.
To run the block explorer navigate into ./block_exporer
and run yarn install
or npm install
Then just run yarn start
or npm run start
Make sure you have docker installed. Then while in the root directory of the project run the follwing to build the image.
docker build . -t <user>/node
Then run the image with:
docker run -p 5001:5001 -d <user>/node
You can run the application without docker by just using npm.
Install the dependecies
npm i
Then run the porject locally with:
npm run production
For the production envirionment or
npm run dev
For the development environment
For first node:
set P2P_PORT=5001 && set HTTP_PORT=3001 && npm run dev
For second node:
set P2P_PORT=5002 && set HTTP_PORT=3002 &&set PEERS=ws://localhost:5001 && npm run dev
...
...
...
...