Run the project (MacOS)
- Node version - 20.15.1
- Run the Docker Engine 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
- Make the following changes to the install file:
- Comment on all the apt-get related lines (25, 41, 42, 53, 61, 62)
- Change the line 93 from source HOME/.zshrc
- 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