Cover photo

Celestia Node Testnet Tutorial MOCHA

SETUP NODE

You can setup your celestia fullnode in few minutes by using automated script below. It will prompt you to input your validator node name!

wget -O celestia.sh https://raw.githubusercontent.com/kj89/testnet_manuals/main/celestia/celestia.sh && chmod +x celestia.sh && ./celestia.sh

POST INSTALLATION

When installation is finished please load variables into system

source $HOME/.bash_profile

Next you have to make sure your validator is syncing blocks. You can use command below to check synchronization status

celestia-appd status 2>&1 | jq .SyncInfo

CREATE WALLET

To create new wallet you can use command below. Don’t forget to save the mnemonic

celestia-appd keys add $WALLET

Check wallet list

celestia-appd keys list

Add wallet and valoper address into variables:

CELESTIA_WALLET_ADDRESS=$(celestia-appd keys show $WALLET -a)
CELESTIA_VALOPER_ADDRESS=$(celestia-appd keys show $WALLET --bech val -a)
echo 'export CELESTIA_WALLET_ADDRESS='${CELESTIA_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export CELESTIA_VALOPER_ADDRESS='${CELESTIA_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profile

Fund your wallet In order to create validator first you need to fund your wallet with testnet tokens. To top up your wallet join celestia discord server and navigate to:

#faucet to request test tokens To request a faucet grant:

$request To check wallet balance: $balance Create validator Before creating validator please make sure that you have at least 1 tia (1 tia is equal to 1000000 utia) and your node is synchronized To check your wallet balance: celestia-appd query bank balances $CELESTIA_WALLET_ADDRESS If your wallet does not show any balance than probably your node is still syncing. Please wait until it finish to synchronize and then continue CREATE NEW VALIDATOR celestia-appd tx staking create-validator \ --amount 1000000utia \ --from $WALLET \ --commission-max-change-rate "0.01" \ --commission-max-rate "0.2" \ --commission-rate "0.07" \ --min-self-delegation "1" \ --pubkey $(celestia-appd tendermint show-validator) \ --moniker $NODENAME \ --chain-id $CELESTIA_CHAIN_ID \ --evm-address="YOUR_EVM_ADDRESS" \ --orchestrator-address="YOUR_ORCHESTRATOR_ADDRESS" \ --gas-adjustment=1.4 \ --gas=auto \ --fees=1000utia \ -y DONE~