Cardano Relay Configuration

Let's create a simple configuration for your core/relay node (for core node you will need to register keys/certificates which we will touch later)

Let's start by creating a folder structure for our nodes:

mkdir -p cnode
cd cnode
mkdir -p config db sockets keys logs scripts
cd config

We will be download the latest default configuration and genesis files from here:

Let's download them from our server's console (currently we are using 5822084 MainNet configuration files)

#checking the latest built for configs
export LAST_BUILD=$(curl -s | grep -e "This item has moved" | sed -e 's/.*build\/\(.*\)\/download.*/\1/')
#downloading configs
wget -q -O mainnet-config.json${LAST_BUILD}/download/1/mainnet-config.json
wget -q -O mainnet-byron-genesis.json${LAST_BUILD}/download/1/mainnet-byron-genesis.json
wget -q -O mainnet-shelley-genesis.json${LAST_BUILD}/download/1/mainnet-shelley-genesis.json
wget -q -O mainnet-topology.json${LAST_BUILD}/download/1/mainnet-topology.json
#list downloaded files
ls -al mainnet*

By default you have IOG ( relay in your topology file, let's add one more:

cat > mainnet-topology.json << EOF
"Producers": [
"addr": "",
"port": 3001,
"valency": 2
"addr": "",
"port": 3001,
"valency": 1

We are almost done - I know that you are eager to test what we have done so far :) So let's test and run our Node on port 3000

Let's start with the core node:

cardano-node run --database-path /home/cardano/cnode/db --socket-path /home/cardano/cnode/sockets/node.socket --port 3000 --config /home/cardano/cnode/config/mainnet-config.json --topology /home/cardano/cnode/config/mainnet-topology.json

Starting from version 1.23.0 the "LiveView" screen has been removed - now we have only text-based output. For more graphical output check the RTView application.

If you followed the guide, you should see this