Celestia
Make sure you have the latest Go build and system components installed
Install Node
cd $HOME
rm -rf celestia-app
git clone https://github.com/celestiaorg/celestia-app.git
cd celestia-app/
git checkout v1.3.0
make install
celestia-appd version
Initialize Node
celestia-appd init NodeName --chain-id=celestia
Download Genesis
curl -Ls https://ss.celestia.nodestake.top/genesis.json > $HOME/.celestia-app/config/genesis.json
Download addrbook
curl -Ls https://ss.celestia.nodestake.top/addrbook.json > $HOME/.celestia-app/config/addrbook.json
Create Service
sudo tee /etc/systemd/system/celestia-appd.service > /dev/null <<EOF
[Unit]
Description=celestia-appd Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which celestia-appd) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable celestia-appd
Download Snapshot
SNAP_NAME=$(curl -s https://ss.celestia.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss.celestia.nodestake.top/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.celestia-app
Launch Node
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f - cat
Get Sync Status
celestia-appd status 2>&1 | jq .SyncInfo.catching_up
Add New Key
celestia-appd keys add wallet
Recover Existing Key
celestia-appd keys add wallet --recover
Query 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="Moniker" \
--chain-id=celestia \
--commission-rate=0.10 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--from=wallet \
--gas-prices=0.1utia \
--gas-adjustment=1.5 \
--gas=auto \
-y
Service command
# Reload Service
sudo systemctl daemon-reload
# Enable Service
sudo systemctl enable celestia-appd
# Disable Service
sudo systemctl disable celestia-appd
# Start Service
sudo systemctl start celestia-appd
# Stop Service
sudo systemctl stop celestia-appd
# Restart Service
sudo systemctl restart celestia-appd
# Check Service Status
sudo systemctl status celestia-appd
# Check Service Logs
sudo journalctl -u celestia-appd -f -o cat
Last updated