Installation Node
Hardware requirements
The following requirements are recommended for running :
- 8 or more physical CPU cores
- At least 400GB of SSD disk storage
- At least 16GB 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
ver="1.24.5"
cd $HOME
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 sunrise
git clone https://github.com/sunriselayer/sunrise.git
cd sunrise
git checkout v1.1.0-make-install
make install
Initialize Node
Please change <MONIKER>
To your own Moniker.
sunrised init <MONIKER> --chain-id sunrise-1
Custom Port
PORT=189
sed -i -e "s%:26657%:${PORT}57%" $HOME/.sunrise/config/client.toml
sed -i -e "s%:26658%:${PORT}58%; s%:26657%:${PORT}57%; s%:6060%:${PORT}60%; s%:26656%:${PORT}56%; s%:26660%:${PORT}61%" $HOME/.sunrise/config/config.toml
sed -i -e "s%:1317%:${PORT}17%; s%:9090%:${PORT}90%" $HOME/.sunrise/config/app.toml
Download Genesis file and addrbook
- Genesis
curl -L https://snap.vinjan.xyz/sunrise/genesis.json > $HOME/.sunrise/config/genesis.json
- Addrbook
curl -L https://snap.vinjan.xyz/sunrise/addrbook.json > $HOME/.sunrise/config/addrbook.json
Configure Gas
sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"1000uusdrise\"/" $HOME/.sunrise/config/app.toml
Indexer Off
sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.sunrise/config/config.toml
create service file and start node
Create service file
sudo tee /etc/systemd/system/sunrised.service > /dev/null <<EOF
[Unit]
Description=sunrise
After=network-online.target
[Service]
User=$USER
ExecStart=$(which sunrised) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
- Enable Service and Start Node
sudo systemctl daemon-reload
sudo systemctl enable sunrised
sudo systemctl restart sunrised
sudo journalctl -u sunrised -f -o cat
- Check Sync ( If False than go to create validator )
- Use Snapshot to faster sync
sunrised status 2>&1 | jq .sync_info
Snapshot
Create Validator
Heads up to the Cheat Sheets to create validator