Skip to content

Instantly share code, notes, and snippets.

@dmfxyz
Created March 3, 2024 02:00
Show Gist options
  • Save dmfxyz/392e122da6ef06497140f4b3aa43e015 to your computer and use it in GitHub Desktop.
Save dmfxyz/392e122da6ef06497140f4b3aa43e015 to your computer and use it in GitHub Desktop.
rnet_config template base
{
"log_path": "infernet_node.log",
"server": {
"port": 4000
},
"chain": {
"enabled": true,
"trail_head_blocks": 5,
"rpc_url": "{rpc_url alchemy is a decent provider}",
"coordinator_address": "0x8d871ef2826ac9001fb2e33fdd6379b6aabf449c",
"wallet": {
"max_gas_limit": 5000000,
"private_key": "0x...{base account with a bit of eth}"
}
},
"docker": {
"username": "{not_needed}",
"password": "{not_needed}"
},
"redis": {
"host": "redis",
"port": 6379
},
"forward_stats": true,
"startup_wait": 1.0,
"containers": [
{
"id": "hello-world",
"image": "ritualnetwork/hello-world-infernet:latest",
"external": true,
"port": "3000",
"allowed_delegate_addresses": [],
"allowed_addresses": [],
"allowed_ips": [],
"command": "--bind=0.0.0.0:3000 --workers=2",
"env": {}
},
{
"id": "anvil-node",
"image": "ritualnetwork/infernet-anvil:0.0.0",
"external": true,
"port": "8545",
"allowed_delegate_addresses": [],
"allowed_addresses": [],
"allowed_ips": [],
"command": "",
"env": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment