Installation Node
Hardware requirements
The following requirements are recommended:
- 4 or more physical CPU cores
- At least 200GB of SSD disk storage
- At least 8GB of memory (RAM)
- At least 100mbps network bandwidth
Install dependencies Required
sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y
Install go
We are gonna use GO Version 1.22.5 If you already have GO installed you can skip this
ver="1.22.5"
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
go version
Install binary
cd $HOME
rm -rf gno
git clone https://github.com/gnolang/gno/
cd gno
git checkout chain/test6.3
make -C gno.land install.gnoland
Init
cd $HOME
gnoland config init
gnoland secrets init
Download Genesis
- Genesis
wget -O $HOME/gnoland-data/config/genesis.json https://gno-testnets-genesis.s3.eu-central-1.amazonaws.com/test6/genesis.json
create service file and start node
Create service file
sudo tee /etc/systemd/system/gnoland.service > /dev/null <<EOF
[Unit]
Description=gnoland
After=network-online.target
[Service]
User=$USER
WorkingDirectory=$HOME/gnoland-data
ExecStart=$HOME/go/bin/gnoland start \
--chainid test6 \
--data-dir $HOME/gnoland-data \
--genesis $HOME/gnoland-data/config/genesis.json
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
- Enable Service and Start Node
sudo systemctl daemon-reload
sudo systemctl enable gnoland
sudo systemctl restart gnoland
journalctl -u gnoland -f -o cat
Sync Info
curl -s http://localhost:26657/status | jq -r .result.sync_info.catching_up
Latest Block
curl -s localhost:26657/status | jq .result.sync_info.latest_block_height
Snapshot
Create Validator
Heads up to the Cheat Sheets to create validator