Run the project (Ubuntu)
- Node version - 20.15.1
- Run the Docker Desktop on your local machine
- Open the project with VS Code
- Create a .env file in the root directory (if it doesn’t exist) and copy the env.example there.
CONSENSUS_TIME=10
RPC_FEE=5
SERVER_PORT=53550
EXPOSED_URL=http://127.0.0.1:53550
- Open the terminal
- Run the command ./install
- After successfully installing the dependencies, find the public key file in the root directory, copy the public key
- Create a file demos_peerlist.json in the root directory, and copy the demos_peerlist.json.example there and replace the “identity” with your public key.
- Run the project ./run