Skip to content

jibchain-net/node

Repository files navigation

The JBC Blockchain Network

🏃 How to run a node

  1. Make an environment file
make env
  1. Open the .env file to edit your machine's public IP address
# Change to your IP address
NODE_PUBLIC_IP=xx.xx.xx.xxx 
  1. Generate new jwt.hex
make generate_hex
cat config/jwt.hex # check new jwt.hex
  1. Run a node
make node

📁 How to check execution and consensus logs

  • All logs
docker compose logs -f
  • Execution logs
docker logs -f jbc-execution
  • Consensus logs
docker logs -f jbc-consensus