Celestia Mainet
Guide to setting up Validator Node, Bridge Node, and Light Node on Celestia
Install dependencies
Update system and install build tools
sudo apt -q update
sudo apt -qy install curl git jq lz4 build-essential
sudo apt -qy upgradeInstall Go
sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go1.23.5.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
eval $(echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/golang.sh)
eval $(echo 'export PATH=$PATH:$HOME/go/bin' | tee -a $HOME/.profile)Download and build binaries
# Clone project repository
cd $HOME
rm -rf celestia-app
git clone https://github.com/celestiaorg/celestia-app.git
cd celestia-app
git checkout v3.3.1
# Build binaries
make build
# Prepare binaries for Cosmovisor
mkdir -p $HOME/.celestia-app/cosmovisor/genesis/bin
mv build/celestia-appd $HOME/.celestia-app/cosmovisor/genesis/bin/
rm -rf build
# Create application symlinks
ln -s $HOME/.celestia-app/cosmovisor/genesis $HOME/.celestia-app/cosmovisor/current -f
sudo ln -s $HOME/.celestia-app/cosmovisor/current/bin/celestia-appd /usr/local/bin/celestia-appd -fInitialize the node
Set up validator
Official documentation: https://docs.celestia.org/nodes/validator-node
1. Create a wallet
First of all we will need to create wallet for our validator. You have two options for that.
Option 1 - Create new wallet
Option 2 - Recover existing wallet
Save the mnemonic output as this is the only way to recover your validator wallet in case you lose it!
To list your wallets use command below
2. Top up wallet with tokens
You can buy tokens at app.osmosis.zone
To check wallet balance use command below
3. Create validator
Please make sure you have adjusted moniker, identity, details, website to match your values.
Save the ~/.celestia-app/config/priv_validator_key.json file as this is the only way to recover your validator signing key in case you lose it!
Install Bridge Node
Official documentation: https://docs.celestia.org/nodes/bridge-node
Download and build binaries
Add Bridge wallet
Generate new wallet
Recover existing wallet
Fund the wallet with testnet tokens
Once you start the Bridge Node, a wallet key will be generated for you. You will need to fund that address with Testnet tokens to pay for PayForBlob transactions
Initialize Bridge node
Create service
Start Bridge node
Check Bridge node logs
Useful commands
Get Bridge Node ID
Get Bridge node key
Check Bridge node wallet balance
Upgrade Bridge Node
Stop Bridge node
Download and build binaries
Check Bridge node version
Node upgrade
To upgrade Celestia Bridge node you have two options
Option 1 - Soft upgrade
This option will only update attributes of configuration files without deleting any data.
Update configuration file
Option 2 - Hard upgrade
This option will clear data store and re-initialize the node. Keys will not be deleted.
Clear data store and remove configuration file
Initialize Bridge node
Start Bridge node
Check Bridge node logs
Last updated
