Chain ID: arkeo | Node Version: 1
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 /root/go/bin/
wget https://ss-t.arkeo.nodestake.top/arkeod
chmod +x arkeod
mv arkeod /root/go/bin/
arkeod version
Replace NodeName with your own moniker.
arkeod init NodeName --chain-id=arkeo
curl -Ls https://ss-t.arkeo.nodestake.top/genesis.json > $HOME/.arkeo/config/genesis.json
curl -Ls https://ss-t.arkeo.nodestake.top/addrbook.json > $HOME/.arkeo/config/addrbook.json
sudo tee /etc/systemd/system/arkeod.service > /dev/null <<EOF
[Unit]
Description=arkeod Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which arkeod) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable arkeod
SNAP_NAME=$(curl -s https://ss-t.arkeo.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss-t.arkeo.nodestake.top/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.arkeo
sudo systemctl restart arkeod
journalctl -u arkeod -f
If you have any questions, please reach out to our Discord
https://rpc-t.arkeo.nodestake.top
https://api-t.arkeo.nodestake.top
https://grpc-t.arkeo.nodestake.top:443
https://ss-t.arkeo.nodestake.top/genesis.json
curl -Ls https://ss-t.arkeo.nodestake.top/genesis.json > $HOME/.arkeo/config/genesis.json
https://ss-t.arkeo.nodestake.top/addrbook.json
curl -Ls https://ss-t.arkeo.nodestake.top/addrbook.json > $HOME/.arkeo/config/addrbook.json
sudo systemctl restart arkeod
journalctl -u arkeod -f
364ff02df0007a498eca4039688c46fd4190e771@rpc-t.arkeo.nodestake.top:666
seed="364ff02df0007a498eca4039688c46fd4190e771@rpc-t.arkeo.nodestake.top:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.arkeo/config/config.toml
sudo systemctl restart arkeod
journalctl -u arkeod -f
peers=$(curl -s https://ss-t.arkeo.nodestake.top/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.arkeo/config/config.toml
sudo systemctl restart arkeod
journalctl -u arkeod -f
sudo systemctl stop arkeod
arkeod tendermint unsafe-reset-all --home ~/.arkeo/ --keep-addr-book
SNAP_RPC="https://rpc-t.arkeo.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\"|" ~/.arkeo/config/config.toml
more ~/.arkeo/config/config.toml | grep 'rpc_servers'
more ~/.arkeo/config/config.toml | grep 'trust_height'
more ~/.arkeo/config/config.toml | grep 'trust_hash'
sudo systemctl restart arkeod
journalctl -u arkeod -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|" ~/.arkeo/config/config.toml
sudo systemctl stop arkeod
cp $HOME/.arkeo/data/priv_validator_state.json $HOME/.arkeo/priv_validator_state.json.backup
rm -rf $HOME/.arkeo/data
arkeod tendermint unsafe-reset-all --home ~/.arkeo/ --keep-addr-book
SNAP_NAME=$(curl -s https://ss-t.arkeo.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss-t.arkeo.nodestake.top/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.arkeo
mv $HOME/.arkeo/priv_validator_state.json.backup $HOME/.arkeo/data/priv_validator_state.json
sudo systemctl restart arkeo
journalctl -u arkeo -f
If you have any questions, please reach out to our Discord