Mainnet

 

https://rpc.canto.nodestake.top

 

https://api.canto.nodestake.top

 

https://grpc.canto.nodestake.top

Chain Name: Canto
RPC: https://jsonrpc.
canto.nodestake.top/
Chain ID: 7700
Symbol: CANTO
Explorer: https://evm.explorer.canto.io

https://ss.canto.nodestake.top/genesis.json

https://ss.canto.nodestake.top/Addrbook.json

SNAP_RPC="https://rpc.canto.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

 

sudo systemctl stop cantod

cantod tendermint unsafe-reset-all --home ~/.cantod/

 

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\"\"|" ~/.cantod/config/config.toml

more ~/.cantod/config/config.toml | grep 'rpc_servers'

more ~/.cantod/config/config.toml | grep 'trust_height'

more ~/.cantod/config/config.toml | grep 'trust_hash'

 

sudo systemctl restart cantod

journalctl -u cantod -f -o cat

sudo apt update

sudo apt-get install snapd lz4 -y

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.cantod/config/config.toml

sudo systemctl stop cantod

rm -rf ~/.cantod/data

cantod tendermint unsafe-reset-all --home ~/.cantod/

SNAP_NAME=$(curl -s https://ss.canto.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.canto.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.cantod

sudo systemctl restart cantod

journalctl -f -u cantod

Testnet

 

https://explorer.nodestake.top/temp-testnet

 

https://rpc-t.temp.nodestake.top

 

https://api-t.temp.nodestake.top

 

https://grpc-t.temp.nodestake.top

Chain Name: TEMP
RPC: https://jsonrpc-t.temp.nodestake.top/
Chain ID: 0000
Symbol: TEMP
Explorer: 

https://ss-t.temp.nodestake.top/genesis.json

https://ss-t.temp.nodestake.top/Addrbook.json

SNAP_RPC="https://rpc-t.realio.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

 

sudo systemctl stop realio-networkd

realio-networkd unsafe-reset-all --home ~/.realio-network/

realio-networkd tendermint unsafe-reset-all --home ~/.realio-network/

 

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\"\"|" ~/.realio-network/config/config.toml

more ~/.realio-network/config/config.toml | grep 'rpc_servers'

more ~/.realio-network/config/config.toml | grep 'trust_height'

more ~/.realio-network/config/config.toml | grep 'trust_hash'

 

sudo systemctl restart realio-networkd

journalctl -u realio-networkd -f -o cat

sudo apt update

sudo apt-get install snapd lz4 -y

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.realio-network/config/config.toml

sudo systemctl stop realio-networkd

rm -rf ~/.realio-network/data

realio-networkd tendermint unsafe-reset-all --home ~/.realio-network/

realio-networkd unsafe-reset-all --home ~/.realio-network/

SNAP_NAME=$(curl -s https://ss-t.realio.nodestake.top | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss-t.realio.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.realio-network

sudo systemctl restart realio-networkd

journalctl -f -u realio-networkd