- RPC URL: https://v1.mainnet.godwoken.io/rpc
- WebSocket: wss://v1.mainnet.godwoken.io/ws
- Explorer (GwScan): https://v1.gwscan.com
- Token Bridge: https://bridge.godwoken.io
- 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"}
-
ETH Address Registry ID: 2
ETH Address Registry
layer2 contract introduces two-ways mappings betweeneth_address
andgw_script_hash
.
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