🧊Celestia
Celestia is a modular data availability network that securely scales with the number of users, making it easy for anyone to launch their own blockchain.
Delegator Dashboard
The ultimate solution for delegators to track their validators across multiple blockchain networks. Managing your investments has never been easier or more secure.
https://dashboard.validatorvn.com/Contribution
Tutorial run Validator Celestia mocha testnet 17 Dec 2022
https://youtu.be/pikIDb5_CVMTutorial run Full Node Celestia mocha testnet 16 Dec 2022
https://youtu.be/9TXwtDG8fWgTutorial run Light Node Celestia mocha testnet 06 Dec 2022
https://youtu.be/RzAZQoXk7SoTutorial run Full Node Celestia Mamaki testnet 2022
https://youtu.be/ZfQo7bpRV7ATutorial run Node Blockspace Race 27 Mar 2023
https://youtu.be/7uN0zps8SBcPublic Endpoints
RPC: https://celestia-rpc.validatorvn.com
API: https://celestia-api.validatorvn.com
gRPC: celestia-grpc.validatorvn.com:443IBC Relayer
Celestia <> Elys Network Celestia <> Axelar Celestia <> Osmosis Celestia <> Namada
Explorer
https://tiascan.orgSnapshot
sudo systemctl stop celestia-appd
cp $HOME/.celestia-app/data/priv_validator_state.json $HOME/.celestia-app/priv_validator_state.json.backup
rm -rf $HOME/.celestia-app/data
celestia-appd tendermint unsafe-reset-all --home ~/.celestia-app/ --keep-addr-book
curl -L https://snapshot.validatorvn.com/celestia/data.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.celestia-app
mv $HOME/.celestia-app/priv_validator_state.json.backup $HOME/.celestia-app/data/priv_validator_state.json
sudo systemctl restart celestia-appd && sudo journalctl -u celestia-appd -f -o catSeeds & Peers
peers="[email protected]:11656,[email protected]:26656,[email protected]:26656,[email protected]:26679,[email protected]:2400,[email protected]:21656,[email protected]:26656,[email protected]:11656,[email protected]:26656,[email protected]:11656,[email protected]:27206,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:40656,[email protected]:26656,[email protected]:26656,[email protected]:11556"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.celestia-app/config/config.toml
seeds=""
sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" $HOME/.celestia-app/config/config.tomlAddrbook & Genesis Files
curl -L https://snapshot.validatorvn.com/celestia/addrbook.json > $HOME/.celestia-app/config/addrbook.json
curl -L https://snapshot.validatorvn.com/celestia/genesis.json > $HOME/.celestia-app/config/genesis.jsonManual Installation
sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -yInstall GO
# install go, if needed
cd $HOME
VER="1.22.6"
wget "https://golang.org/dl/go$VER.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$VER.linux-amd64.tar.gz"
rm "go$VER.linux-amd64.tar.gz"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin
# set vars
echo "export WALLET="wallet"" >> $HOME/.bash_profile
echo "export MONIKER="test"" >> $HOME/.bash_profile
echo "export CELESTIA_CHAIN_ID="mocha-4"" >> $HOME/.bash_profile
source $HOME/.bash_profile
# download binary
cd $HOME
rm -rf celestia-app
git clone https://github.com/celestiaorg/celestia-app.git
cd celestia-app/
APP_VERSION=v3.2.0-mocha
git checkout tags/$APP_VERSION -b $APP_VERSION
make install
celestia-appd config keyring-backend os
celestia-appd config chain-id mocha-4
celestia-appd init $MONIKER --chain-id mocha-4
# download genesis and addrbook
wget -O $HOME/.celestia-app/config/genesis.json https://celestia.validatorvn.com/testnet/celestia/genesis.json
wget -O $HOME/.celestia-app/config/addrbook.json https://celestia.validatorvn.com/testnet/celestia/addrbook.json
# set seeds and peers
SEEDS="5d0bf034d6e6a8b5ee31a2f42f753f1107b3a00e@celestia-testnet-seed.itrocket.net:11656"
PEERS="daf2cecee2bd7f1b3bf94839f993f807c6b15fbf@celestia-testnet-peer.itrocket.net:11656,[email protected]:26656,[email protected]:36656,[email protected]:26656,[email protected]:21656,[email protected]:26656,[email protected]:11656,[email protected]:11656,[email protected]:36656,[email protected]:10156,[email protected]:26656,[email protected]:11656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:11656,[email protected]:26656,[email protected]:40656,[email protected]:12002,[email protected]:26656,[email protected]:26656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*seeds *=.*/seeds = \"$SEEDS\"/}" \
-e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.celestia-app/config/config.toml
# config pruning
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.celestia-app/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.celestia-app/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $HOME/.celestia-app/config/app.toml
# set minimum gas price, enable prometheus and disable indexing
sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0.002utia"|g' $HOME/.celestia-app/config/app.toml
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.celestia-app/config/config.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.celestia-app/config/config.toml
# create service file
sudo tee /etc/systemd/system/celestia-appd.service > /dev/null <<EOF
[Unit]
Description=Celestia node
After=network-online.target
[Service]
User=$USER
WorkingDirectory=$HOME/.celestia-app
ExecStart=$(which celestia-appd) start --home $HOME/.celestia-app
Restart=on-failure
RestartSec=5
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
# enable and start service
sudo systemctl daemon-reload
sudo systemctl enable celestia-appd
sudo systemctl restart celestia-appd && sudo journalctl -u celestia-appd -fo catCheat Sheet
Add new keys
celestia-appd keys add walletRecover keys
celestia-appd keys add wallet --recoverList All keys
celestia-appd keys listQuery Wallet Balance
celestia-appd q bank balances $(celestia-appd keys show wallet -a) Create New Validator
celestia-appd tx staking create-validator \
--amount=1000000utia \
--pubkey=$(celestia-appd tendermint show-validator) \
--moniker="ValidatorVN" \
--identity=6CB6AC3E672AAB9D \
--details="Trusted Proof-of-Stake validator across Cosmos universe. Active ecosystem contributor, IBC relayer and chain service provider." \
--chain-id=mocha-4 \
--commission-rate=0.05 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--from=wallet \
--gas-prices=0.01utia \
--gas-adjustment=1.5 \
--gas=auto \
-y Unjail Validator
celestia-appd tx slashing unjail --from wallet --chain-id mocha-4 --gas-prices 0.01utia --gas-adjustment 1.5 --gas auto -y Withdraw commission & rewards
celestia-appd tx distribution withdraw-rewards $(celestia-appd keys show wallet --bech val -a) --commission --from wallet --chain-id mocha-4 --gas-prices 0.01utia --gas-adjustment 1.5 --gas auto -y Delegate
celestia-appd tx staking delegate YOUR_TO_VALOPER_ADDRESS 1000000utia --from wallet --chain-id mocha-4 --gas-prices 0.01utia --gas-adjustment 1.5 --gas auto -y Re-delegate
celestia-appd tx staking redelegate $(celestia-appd keys show wallet --bech val -a) YOUR_TO_VALOPER_ADDRESS 1000000utia --from wallet --chain-id mocha-4 --gas-prices 0.01utia --gas-adjustment 1.5 --gas auto -y Service Management
Reload Service
sudo systemctl daemon-reloadEnable Service
sudo systemctl enable celestiaRun Service
sudo systemctl start celestiaCheck Service Status
sudo systemctl status celestiaCheck Services logs
sudo journalctl -u celestia -f --no-hostname -o catSetting Bridge-Node
Install GO
cd ~
! [ -x "$(command -v go)" ] && {
VER="1.23.1"
wget "https://golang.org/dl/go$VER.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$VER.linux-amd64.tar.gz"
rm "go$VER.linux-amd64.tar.gz"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source ~/.bash_profile
}
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin
go versionInstall Celestia node
cd $HOME
rm -rf celestia-node
git clone https://github.com/celestiaorg/celestia-node.git
cd celestia-node/
git checkout tags/v0.20.4-mocha
make build
sudo make install
make cel-keyConfig & init app
celestia bridge init --core.ip --core.grpc.port --p2p.network mochacd $HOME/celestia-node
./cel-key list --node.type bridge --keyring-backend test --p2p.network mochaCreate service file
sudo tee /etc/systemd/system/celestia-bridge.service > /dev/null <<EOF
[Unit]
Description=celestia Bridge
After=network-online.target
[Service]
User=$USER
ExecStart=$(which celestia) bridge start \
--p2p.network mocha --archival \
--metrics.tls=true --metrics --metrics.endpoint otel.mocha.celestia.observer
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOFEnable & start service
sudo systemctl daemon-reload
sudo systemctl enable celestia-bridge
sudo systemctl restart celestia-bridge && sudo journalctl -u celestia-bridge -fo catBridge node Snapshot
sudo systemctl stop celestia-bridge
rm -rf ~/.celestia-bridge-mocha-4/{blocks,data,index,inverted_index,transients,.lock}
curl -L https://snapshot.validatorvn.com/celestia/celestia-bridge.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.celestia-bridge-mocha-4
sudo systemctl restart celestia-bridgeCheat sheet
celestia state balance --node.store ~/.celestia-bridge-mocha-4/Get wallet addresses
cd $HOME/celestia-node
./cel-key list --node.type bridge --keyring-backend test --p2p.network mochaRestore wallet
KEY_NAME="my_celes_key"
cd ~/celestia-node
./cel-key add $KEY_NAME --keyring-backend test --node.type bridge --recover --p2p.network mochaCheck node status
celestia header sync-state --node.store ~/.celestia-bridge-mocha-4/Get Node ID
celestia p2p info --node.store ~/.celestia-bridge-mocha-4/Reset node
celestia bridge unsafe-reset-store --p2p.network mochaUpgrade Bridge node
sudo systemctl stop celestia-bridge
cd $HOME
rm -rf celestia-node
git clone https://github.com/celestiaorg/celestia-node.git
cd celestia-node/
git checkout tags/v0.20.4-mocha
make build
sudo make install
make cel-key
celestia bridge config-update --p2p.network mocha
sudo systemctl restart celestia-bridge && sudo journalctl -u celestia-bridge -fo catDelete Bridge node
sudo systemctl stop celestia-bridge
sudo systemctl disable celestia-bridge
sudo rm /etc/systemd/system/celestia-bridge*
rm -rf $HOME/celestia-node $HOME/.celestia-bridge-mocha-4Last updated