Running a full node¶
Setup¶
-
Initialize the blockchain configuration files
MONIKER= CHAIN_ID= sentinelhub init ${MONIKER} \ --chain-id ${CHAIN_ID}
-
Download the Genesis file
curl -fsLS https://raw.githubusercontent.com/sentinel-official/networks/main/${CHAIN_ID}/genesis.zip \ -o ${HOME}/genesis.zip
-
Unzip the Genesis to the blockchain configuration directory
unzip ${HOME}/genesis.zip \ -d ${HOME}/.sentinelhub/config/
-
Set minimun gas prices
- Open the file
${HOME}/.sentinelhub/config/app.toml
- Go to the line which contains the field
minimum-gas-prices = ""
-
Insert the output of the below command
curl -fsLS https://raw.githubusercontent.com/sentinel-official/networks/main/${CHAIN_ID}/minimum-gas-prices.txt
-
Save the file
- Open the file
-
Set peers and seeds
- Open the file
${HOME}/.sentinelhub/config/config.toml
- Go to the line which contains the field
persistent_peers = ""
-
Insert the output of the below command
curl -fsLS https://raw.githubusercontent.com/sentinel-official/networks/main/${CHAIN_ID}/persistent_peers.txt
-
Go to the line which contains the field
seeds = ""
-
Insert the output of the below command
curl -fsLS https://raw.githubusercontent.com/sentinel-official/networks/main/${CHAIN_ID}/seeds.txt
-
Save the file
- Open the file
Start¶
- Start the Sentinel Hub daemon