Chain ID: router_9600-1 | Node Version: v2.1.1
https://restake.nodestake.org/router
sudo apt update
sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y
rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version
cd $HOME
mkdir -p $HOME/go/bin/
wget https://ss.router.nodestake.org/routerd
chmod +x routerd
mv routerd $HOME/go/bin/routerd
routerd version
Replace NodeName with your own moniker.
routerd init NodeName --chain-id=router_9600-1
curl -Ls https://ss.router.nodestake.org/genesis.json > $HOME/.routerd/config/genesis.json
curl -Ls https://ss.router.nodestake.org/addrbook.json > $HOME/.routerd/config/addrbook.json
sudo tee /etc/systemd/system/routerd.service > /dev/null <<EOF
[Unit]
Description=routerd Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which routerd) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable routerd
SNAP_NAME=$(curl -s https://ss.router.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss.router.nodestake.org/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.routerd
sudo systemctl restart routerd
journalctl -u routerd -f
If you have any questions, please reach out to our Discord
https://rpc.router.nodestake.org
https://api.router.nodestake.org
https://grpc.router.nodestake.org:443
Chain Name: Router Mainnet
RPC: https://jsonrpc.router.nodestake.org/
Chain ID: 9600
Symbol: ROUTE
Explorer:
https://ss.router.nodestake.org/genesis.json
curl -Ls https://ss.router.nodestake.org/genesis.json > $HOME/.routerd/config/genesis.json
990c7a0955e2ad03d7610f05554422c2c80ad8a7@rpc.router.nodestake.org:666
seed="990c7a0955e2ad03d7610f05554422c2c80ad8a7@rpc.router.nodestake.org:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.routerd/config/config.toml
sudo systemctl restart routerd
journalctl -u routerd -f
https://ss.router.nodestake.org/addrbook.json
curl -Ls https://ss.router.nodestake.org/addrbook.json > $HOME/.routerd/config/addrbook.json
sudo systemctl restart routerd
journalctl -u routerd -f
peers=$(curl -s https://ss.router.nodestake.org/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.routerd/config/config.toml
sudo systemctl restart routerd
journalctl -u routerd -f
sudo systemctl stop routerd
routerd tendermint unsafe-reset-all --home ~/.evmosd/ --keep-addr-book
SNAP_RPC="https://rpc.router.nodestake.org:443"
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" ~/.routerd/config/config.toml
more ~/.routerd/config/config.toml | grep 'rpc_servers'
more ~/.routerd/config/config.toml | grep 'trust_height'
more ~/.routerd/config/config.toml | grep 'trust_hash'
rm -rf ~/.routerd/wasm
curl -o - -L https://ss.router.nodestake.org/wasm.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.routerd
sudo systemctl restart routerd
journalctl -u routerd -f
We make the node snapshot every 12h
sudo apt update
sudo apt-get install snapd lz4 -y
sudo systemctl stop routerd
cp $HOME/.routerd/data/priv_validator_state.json $HOME/.routerd/priv_validator_state.json.backup
rm -rf $HOME/.routerd/data
rm -rf $HOME/.routerd/wasm
routerd tendermint unsafe-reset-all --home ~/.routerd/ --keep-addr-book
SNAP_NAME=$(curl -s https://ss.router.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss.router.nodestake.org/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.routerd
mv $HOME/.routerd/priv_validator_state.json.backup $HOME/.routerd/data/priv_validator_state.json
sudo systemctl restart routerd
journalctl -u routerd -f
Get old Snapshots
If you have any questions, please reach out to our Discord
Chain ID: router_9601-1 | Node Version: N/A
sudo apt update
sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y
rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.19.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version
cd $HOME
rm -rf evmos
git clone https://github.com/evmos/evmos.git
cd evmos
git checkout v9.1.0
make install
evmosd version
Replace NodeName with your own moniker.
evmosd init NodeName --chain-id=altruistic-1
curl -Ls https://ss-t.temp.nodestake.top/genesis.json > $HOME/.evmosd/config/genesis.json
curl -Ls https://ss-t.temp.nodestake.top/addrbook.json > $HOME/.evmosd/config/addrbook.json
sudo tee /etc/systemd/system/evmosd.service > /dev/null <<EOF
[Unit]
Description=evmosd Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which evmosd) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable evmosd
SNAP_NAME=$(curl -s https://ss-t.temp.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss-t.temp.nodestake.top/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.temp
sudo systemctl restart evmosd
journalctl -u evmosd -f
If you have any questions, please reach out to our Discord
https://rpc-t.router.nodestake.top
https://api-t.router.nodestake.top
https://grpc-t.router.nodestake.top:443
Chain Name: Router Testnet
RPC: https://jsonrpc-t.router.nodestake.top/
Chain ID: 9601
Symbol: ROUTE
Explorer:
https://ss-t.router.nodestake.top/genesis.json
curl -Ls https://ss-t.router.nodestake.top/genesis.json > $HOME/.routerd/config/genesis.json
https://ss-t.router.nodestake.top/addrbook.json
curl -Ls https://ss-t.router.nodestake.top/addrbook.json > $HOME/.routerd/config/addrbook.json
sudo systemctl restart routerd
journalctl -u routerd -f
25ef89b315f4f38410af673bd79f1789431548a8@rpc-t.router.nodestake.top:666
seed="25ef89b315f4f38410af673bd79f1789431548a8@rpc-t.router.nodestake.top:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.routerd/config/config.toml
sudo systemctl restart routerd
journalctl -u routerd -f
peers=$(curl -s https://ss-t.router.nodestake.top/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.routerd/config/config.toml
sudo systemctl restart routerd
journalctl -u routerd -f
sudo systemctl stop routerd
routerd tendermint unsafe-reset-all --home ~/.evmosd/ --keep-addr-book
SNAP_RPC="https://rpc-t.router.nodestake.top:443"
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" ~/.routerd/config/config.toml
more ~/.routerd/config/config.toml | grep 'rpc_servers'
more ~/.routerd/config/config.toml | grep 'trust_height'
more ~/.routerd/config/config.toml | grep 'trust_hash'
rm -rf ~/.routerd/wasm
curl -o - -L https://ss-t.router.nodestake.top/wasm.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.routerd
sudo systemctl restart routerd
journalctl -u routerd -f
We make the node snapshot every 6h
sudo apt update
sudo apt-get install snapd lz4 -y
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.routerd/config/config.toml
sudo systemctl stop routerd
cp $HOME/.routerd/data/priv_validator_state.json $HOME/.routerd/priv_validator_state.json.backup
rm -rf $HOME/.routerd/data
rm -rf $HOME/.routerd/wasm
routerd tendermint unsafe-reset-all --home ~/.routerd/ --keep-addr-book
SNAP_NAME=$(curl -s https://ss-t.router.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss-t.router.nodestake.top/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.routerd
mv $HOME/.routerd/priv_validator_state.json.backup $HOME/.routerd/data/priv_validator_state.json
sudo systemctl restart routerd
journalctl -u routerd -f
If you have any questions, please reach out to our Discord