logo

Celestia Mainnet Snapshot, State Sync and API/RPC

With this guide you can easily connect to the Bitcanna in a couple of minutes

State Sync

https://rpc-celestia.nodiums.com
pruning="custom"
pruning_keep_recent="1000" 
pruning_interval="100" 

sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.celesia-app/config/app.toml 
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.celesia-app/config/app.toml 
sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.celesia-app/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.celesia-app/config/app.toml

SNAP_RPC=http://rpc-celestia.nodiums.com:443 
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ BLOCK_HEIGHT=$((LATEST_HEIGHT - 100)); \ 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\"\"|" $HOME/.celesia-app/config/config.toml

Snapshot

https://snapshots.nodiums.com/celestia/celestia.tar.lz4

API and RPC endpoints

https://rpc-celestia.nodiums.com
https://api-celestia.nodiums.com
https://grpc-celestia.nodiums.com

Peering service

PEERS=4f9c8e61b4c078b4dc61348e46bf8b0ed8c80186@51.81.49.176:11656,396673f9d0559a2ec8b44016ef591dee96831989@148.251.13.186:11656,ae70fd00ab841ca2f70b9b2dcc6d65dbe9a534a3@65.108.232.104:11656,262c018947ff57112d5ec159c58e6f61de2fbaf5@213.168.227.52:26756,0da394fcbdc7fd702045e39b223b270d5ff2a506@37.27.50.60:26656,57307aa4cac3b00aace33d34fe0a7c52e290705f@80.190.129.50:27657,636089594650a539bc6e0777497703e6ebc65b3d@65.108.141.109:57656,93c73b587230bebb180a44cb216d8400931955e7@135.181.21.239:26656,2a4cf74e21a28f4aa387ad00de3956af512d837b@65.108.123.161:26656,09d0e5241b5f7f6ce9168ca8501d6f8816aee7dd@68.183.209.106:31432,3fd7b265bc01fc05a5ccc9396cf9326dfa3c6607@185.17.199.70:11656,07d0bbe1b32692b71f818a9d933bddd19bade5dd@65.108.108.123:26605,dd4545e1d31c68f952989df6dff35e6698602052@78.46.109.146:26656,3e9edb7aa157894b498e75373e2148f7c22100b2@103.219.171.67:26656,629c36a551ee1a3c8bb3ecee6e00a9977a60e53e@65.108.46.248:56656,d20e3412a06c6b74d35bc94373331df4ce097209@134.65.195.239:26656,501d29b5ff76638ae641536782931f72aa5262f8@183.81.169.106:29656,89757803f40da51678451735445ad40d5b15e059@169.155.169.39:26656,1f1cbe8cd737e428bd23a553d1b2211948b09364@160.202.128.199:43656,d47279e4f27e0c0cefdc40e99111affffa87c8e9@51.210.3.218:26656,dd712ce528ed012d9d9fe3c3362cd74a77ed191d@103.219.171.69:26656,0158b4fe4aca53810f43982bf1a220cfa6d266a3@51.159.98.199:12056,e726816f42831689eab9378d5d577f1d06d25716@164.152.163.148:26656,140df92f010e78bd9d854e47d019468e10df7628@65.109.27.253:26001,914ce1f8784b32c69b0ec72e66901daf42865b3e@52.30.132.101:26656,7a2ce6b15f916e14e7632ff08533bad1402cf299@62.171.162.94:11656,b3e572d991ba62ca7e1f2f186644994a0ee57615@85.214.91.162:26656,fed121cc9450f5518f2441ee9e1168392027a117@135.181.236.8:36656,96e826b681d7a2f7f7c8e7cc48ee129277971c32@63.229.234.75:26656,a2b1f0be74b322f81befa9c62f5f04cbaa6a8427@159.89.11.240:32102,97189bc5178a1eacb25fa2a56aed3e2555ebe029@35.215.18.227:26656,615c84cf8b2c76b3370b5ba59e8baed3622fff5c@65.108.40.61:32656
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.celestia-app/config/config.toml