Skip to content

Latest commit

 

History

History

mainnet_v1

Godwoken mainnet_v1

Godwoken Web3 RPC

Tools

Deployment information

  • Chain ID: 71402
curl -X POST 'https://v1.mainnet.godwoken.io/rpc' \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_chainId","params": [],"id":1}'

# Result
# {"jsonrpc":"2.0","id":1,"result":"0x116ea"}

How to run a Godwoken mainnet_v1 readonly node?

cd mainnet_v1
# Note: It is better to run your own CKB mainnet node first.
# see: https://docs.nervos.org/docs/basics/guides/run-ckb-with-docker/#run-a-ckb-mainnet-node
docker-compose up -d gw-readonly

echo "Wait until Godwoken readonly node is ready to serve"
watch -n 6 "docker-compose ps && docker-compose logs --tail 10 | egrep 'sync new block'" 

# if the status of gw-readonly service is healthy,
# then Start Godwoken Web3 and Indexer services
docker-compose up -d

Documentation - https://docs.godwoken.io