posthuman - nodes
Celestia
Celestia websiteCelestia githubCelestia twitterCelestia discord

Celestia

type:
testnet
chain id:
mocha-4
rpc:
https://rpc.celestia-testnet.posthuman.digital
rest:
https://rest.celestia-testnet.posthuman.digital
grpc:
https://grpc.celestia-testnet.posthuman.digital
peer:
f57805e824e984467f8b1f2560a5ef4c80077ed5@207.121.49.100:11656
  • installation guide
  • state sync
  • full node setup
  • light node setup
  • bridge node setup
  • snapshots
  • one liner

Our State-Sync Server Setup

Our app.toml settings related to state-sync is as follows. This is for you information only. You do not need to follow the same setup on your node.

# Prune Type pruning = "custom" # Prune Strategy pruning-keep-every = 2000 # State-Sync Snapshot Strategy snapshot-interval = 2000 snapshot-keep-recent = 5

Our state-sync RPC server for <pretty_name> is:

https://rpc.celestia-testnet.posthuman.digital

Instruction

We assume that you use Cosmovisor to manage your node. If you do not use Cosmovisor, you will need to customize the following instruction slightly.

Create a reusable shell script such as state_sync.sh with the following code. The code will fetch important state-sync information (such as block height and trust hash) from our server and update your config.toml file accordingly.

#!/bin/bash SNAP_RPC="https://rpc.celestia-testnet.posthuman.digital" LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.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\"|" <node_home>/config/config.toml

Grant user the privilege to execute script and then run the script:

chmod 700 state_sync.sh ./state_sync.sh

Stop the node:

sudo systemctl stop celestia-appd.service

Reset the node:

# On some tendermint chains ~/go/bin/.celestia-appd unsafe-reset-all # On other tendermint chains ~/go/bin/.celestia-appd tendermint unsafe-reset-all --home <node_home> --keep-addr-book

Restart the node:

sudo systemctl start celestia-appd.service

If everything goes well, your node should start syncing within 10 minutes.

POSTHUMAN Ā© Copyright 2025. All Rights Reserved.