Starting the node and connecting to mainnet
Getting configuration files:
The node requires 4 configuration files:
- topology,json
- byronGenesis.json
- shelleyGenesis.json
- config.json
You can download them here.
Or from the command line with:
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/mainnet-config.json wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/mainnet-byron-genesis.json
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/mainnet-shelley-genesis.json wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/mainnet-topology.json
Starting the node
To start the node use:
cardano-node run \
--topology path/to/mainnet-topology.json \
--database-path path/to/db \
--socket-path path/to/db/node.socket \
--host-addr x.x.x.x \
--port PORT \
--config path/to/mainnet-config.json
For detailed information on starting the node, please check Start your nodes