Skip to main content

Node Configuration

Node configs: config/node/node1.toml, node2.toml, node3.toml.

Key Settings

SettingDescriptionExample
libp2p_topic_nameNetwork topictest-net
blockchain_nameChain identifierclutch-node-test-1
author_public_keyValidator public key0x9b6e8af...
author_secret_keyValidator secret (keep secure)
websocket_addrWebSocket bind0.0.0.0:8081
listen_addrslibp2p listen["/ip4/0.0.0.0/tcp/4001"]
bootstrap_nodesPeers to connect to["/dns4/node1/tcp/4001"] (node2/3)
authoritiesList of validator public keysMust match across nodes
block_reward_amountCLT minted to block author per non-genesis block50
ride_request_referrer_fee_percentRequest referrer fee on each RidePay2
ride_offer_referrer_fee_percentOffer referrer fee on each RidePay2
serve_metric_addrPrometheus metrics0.0.0.0:3001
seq_urlSeq logging URLhttp://seq:80

Bootstrap

  • Node 1: bootstrap_nodes = [] (it is the bootstrap)
  • Node 2, 3: bootstrap_nodes = ["/dns4/node1/tcp/4001"]

Multi-Node

All nodes must share the same authorities and libp2p_topic_name.

See CLT Economics for how referrer fees and block rewards interact.