- Mocha testnet is an upgrade of Mamaki testnet. Like Mamaki, there is no reward. This page is for those who are running a Mamaki node and want to upgrade to Mocha.
- Before proceeding, I recommend that you back up your files related to the Mamaki node.
- Memory: 8 GB RAM
- CPU: Quad-Core
- Disk: 250 GB SSD Storage
- Bandwidth: 1 Gbps for Download/100 Mbps for Upload
sudo systemctl stop celestia-appd
celestia-appd tendermint unsafe-reset-all --home $HOME/.celestia-app
rm -rf celestia-app
rm -rf .celestia-app
cd $HOME
git clone https://github.com/celestiaorg/celestia-app.git
cd celestia-app/
APP_VERSION=v0.11.0
git checkout tags/$APP_VERSION -b $APP_VERSION
make install
cd $HOME
rm -rf networks
git clone https://github.com/celestiaorg/networks.git
celestia-appd version
when you type aa, it should output0.11.0
celestia-appd init "node-name" --chain-id mocha
cp $HOME/networks/mocha/genesis.json $HOME/.celestia-app/config
SEEDS="[email protected]:26656,3f472746f46493309650e5a033076689996c8881@celestia-testnet.rpc.kjnodes.com:20659"
PEERS="[email protected]:26656,[email protected]:11656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:36656,[email protected]:11656,[email protected]:26656,[email protected]:26656"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.celestia-app/config/config.toml
PRUNING="custom"
PRUNING_KEEP_RECENT="100"
PRUNING_INTERVAL="10"
sed -i -e "s/^pruning *=.*/pruning = \"$PRUNING\"/" $HOME/.celestia-app/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \
\"$PRUNING_KEEP_RECENT\"/" $HOME/.celestia-app/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \
\"$PRUNING_INTERVAL\"/" $HOME/.celestia-app/config/app.toml
celestia-appd tendermint unsafe-reset-all --home $HOME/.celestia-app
cd $HOME
rm -rf ~/.celestia-app/data
mkdir -p ~/.celestia-app/data
SNAP_NAME=$(curl -s https://snaps.qubelabs.io/celestia/ | \
egrep -o ">mocha.*tar" | tr -d ">")
wget -O - https://snaps.qubelabs.io/celestia/${SNAP_NAME} | tar xf - \
-C ~/.celestia-app/data/
celestia-appd keys add walletname
celestia-appd keys add walletname --recover
sudo systemctl enable celestia-appd
sudo systemctl start celestia-appd
sudo systemctl status celestia-appd
- You can exit the status screen by pressing
ctrl+c
sudo journalctl -u celestia-appd.service -f
curl -s localhost:26657/status | jq .result | jq .sync_info
latest_block_height = compare its value with the explorer value. When they are identical to each other, synchronization to the system is complete.
MONIKER="Validator Name"
VALIDATOR_WALLET="Wallet Name"
EVM_ADDRESS=You can add any Ethereum-based address
ORCHESTRATOR_ADDRESS=Validators certainly can use their existing Celestia addresses here but it is recommended to create a new one.
celestia-appd tx staking create-validator \
--amount=1000000utia \
--pubkey=$(celestia-appd tendermint show-validator) \
--moniker=$MONIKER \
--chain-id=mocha \
--commission-rate=0.1 \
--commission-max-rate=0.2 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1000000 \
--from=$VALIDATOR_WALLET \
--orchestrator-address=$ORCHESTRATOR_ADDRESS \
--evm-address=$EVM_ADDRESS \
--fees 500utia \
--gas=400671
celestia-appd tx staking delegate VALIDATOR_ADDRESS 1000000utia --chain-id mocha --fees=300utia --from walletname