Shentu Node Setup Guide
This guide presents you the Shentu Node setup for Mainnet.
Prerequisites
- Minimum hardware requirements
- A validator can be run on a VPS or Dedicated server/VM
physical CPU: 8 core
Memory: 16GB+
Disk: SSD - 300GB+
- Golang v1.21
- Install the appropriate Golang version (found on our GitHub, linked above).
- GitHub
Install Shentu
git clone https://github.com/shentufoundation/shentu.git
cd shentu
git checkout [release tag]
make install
#verify versions
shentud version --long
Setup Shentu Node
Initialize Shentu Config
#Init shentud
shentud init [your_moniker_name] --chain-id shentu-2.2
#(Optional) Back up the old chain state.
mv $HOME/.shentud/data $HOME/.shentud/data_old
#Reset the chain state
shentud tendermint unsafe-reset-all --home $HOME/.shentud
cd $HOME/.shentud/config
rm genesis.json
Setup the Genesis File
wget https://raw.githubusercontent.com/ShentuChain/mainnet/main/shentu-2.2/genesis.json -O genesis.json
mv genesis.json $HOME/.shentud/config/genesis.json```
Edit `$HOME/.shentu/config/config.toml` to add the following seeds peers.
```bash
seeds = "867a2986f28575b1fde864136862fde465cac17c@47.253.209.134:26656,3edd4e16b791218b623f883d04f8aa5c3ff2cca6@shentu-seed.panthea.eu:36656"
Add minimum gas prices into $HOME/.shentu/config/app.toml
minimum-gas-prices = "0.025uctk"