Skip to main content

Configure Topology Files

Before you start your nodes, you need to prepare the topology files for block-producing and relay nodes.

Configure the block-producing node#

Make the block-producing node to "talk" only to YOUR relay node. Do not forget to configure your firewall also:

nano mainnet-topology.json
{  "Producers": [    {      "addr": "<RELAY IP ADDRESS>",      "port": <PORT>,      "valency": 1    }  ]}

Configure the relay node:#

Make your relay node talk to your block-producing node and other relays in the network by editing the topology.json file:

nano mainnet-topology.json
{  "Producers": [    {      "addr": "<BLOCK-PRODUCING IP ADDRESS>",      "port": <PORT>,      "valency": 1    },    {      "addr": "<IP ADDRESS>",      "port": <PORT>,      "valency": 1    },    {      "addr": "<IP ADDRESS>",      "port": <PORT>,      "valency": 1    }  ]}