Run the project (MacOS)

  1. Node version - 20.15.1

  2. Run the Docker Engine on your local machine

  3. Open the project with VS Code

  4. 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

  1. Make the following changes to the install file:

    1. Comment on all the apt-get related lines (25, 41, 42, 53, 61, 62)

    2. Change the line 93 from source $HOME/.bashrc to source $HOME/.zshrc

  2. Open the terminal

  3. Run the command ./install

  4. After successfully installing the dependencies, find the public key file in the root directory, copy the public key

  5. 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.

  1. Run the project ./run

Last updated