top of page

Canto

Canto is a layer-1 blockchain built to deliver on the promise of defi. as a post-traditional financial movement, canto enables accessibility, transparency, and freedom for new systems. driven by a loosely organized collective of chain-native builders, canto provides a new commons powered by free public infrastructure

Chain ID: canto_7700-1

Website: canto.io

Public Endpoints:

✅ RPC

rpc.canto.ppnv.space:23657

✅ API / REST

 api.canto.ppnv.space 

✅ gRPC

 grpc.canto.ppnv.space:23090 

✅ gRPC Web

 grpc.canto.ppnv.space:23091

Genesis:

curl -Ls https://service.ppnv.space/canto/genesis.json > $HOME/.cantod/config/genesis.json

Peering:

✅ Seed Node

✅ Live Peers

✅ Addrbook #update every hour

curl -Ls https://service.ppnv.space/canto/addrbook.json > $HOME/.cantod/config/addrbook.json

✅ State Sync #snapshot-interval = 1000

sudo systemctl stop cantod
cp $HOME/.cantod/data/priv_validator_state.json $HOME/.cantod/priv_validator_state.json.backup
cantod tendermint unsafe-reset-all --home $HOME/.cantod
STATE_SYNC_RPC=http://rpc.canto.ppnv.space:23657
STATE_SYNC_PEER=f74639c33b7647b0462e634974147c20505747a6@rpc.canto.ppnv.space:23656
LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height)
SYNC_BLOCK_HEIGHT=$(($LATEST_HEIGHT - 1000))
SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash)
sed -i.bak -e "s|^enable *=.*|enable = true|" $HOME/.cantod/config/config.toml
sed -i.bak -e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \
$HOME/.cantod/config/config.toml
sed -i.bak -e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \
$HOME/.cantod/config/config.toml
sed -i.bak -e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \
$HOME/.cantod/config/config.toml
sed -i.bak -e "s|^persistent_peers *=.*|persistent_peers = \"$STATE_SYNC_PEER\"|" \
$HOME/.cantod/config/config.toml
mv $HOME/.cantod/priv_validator_state.json.backup $HOME/.cantod/data/priv_validator_state.json
sudo systemctl restart cantod && journalctl -u cantod -f --no-hostname -o cat

bottom of page