Configure topology files for block-producing and relay nodes.
Before we register our stake pool, let's configure our block-producing and relay nodes:
NOTE: Here you can find peers to connect to, and submit your own relay's data: ​https://explorer.cardano-testnet.iohkdev.io/relays/topology.json​

Configure the block-producing node

Get the configuration files for your core node if you don't have them already, for example
1
mkdir pool
2
cd pool
3
​
4
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/testnet-config.json
5
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/testnet-shelley-genesis.json
6
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/testnet-topology.json
Copied!
Make the core node "talk" only to YOUR relay node.
1
nano testnet-topology.json
2
​
3
{
4
"Producers": [
5
{
6
"addr": "<YOUR RELAY NODE IP ADDRESS>",
7
"port": <PORT>,
8
"valency": 1
9
}
10
]
11
}
Copied!

Configure the relay node:

Make your relay node talk to your block-producing node and other relays in the network by editing the testnet-topology.json file:
1
nano testnet-topology.json
2
​
3
{
4
"Producers": [
5
{
6
"addr": "<YOUR BLOCK-PRODUCING NODE IP ADDRESS>",
7
"port": <PORT>,
8
"valency": 1
9
},
10
{
11
"addr": "<OTHER RELAY NODE IP ADDRESS>",
12
"port": <PORT>,
13
"valency": 1
14
},
15
{
16
"addr": "<OTHER RELAY NODE IP ADDRESS>",
17
"port": <PORT>,
18
"valency": 1
19
}
20
]
21
}
Copied!
QUESTIONS AND FEEDBACK
If you have any questions and suggestions while taking the lessons please feel free to ask in the forum and we will respond as soon as possible.