Guide
Here is a node installation guide (Simplified and manual)
Preparing the server for installation
sudo apt update && sudo apt upgrade -y && \
sudo apt install curl tar wget clang pkg-config libssl-dev libleveldb-dev jq build-essential bsdmainutils git make ncdu htop screen unzip bc fail2ban htop -y
Installing the latest version of Go
ver="1.21.3" && \
cd $HOME && \
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" && \
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile && \
source $HOME/.bash_profile && \
go version
Build
cd ~
git clone https://github.com/celestiaorg/celestia-app.git
cd celestia-app
git checkout v1.3.0
make install
cd ~
git clone https://github.com/celestiaorg/networks.git
Init your node
celestia-appd config chain-id mocha-4
celestia-appd init <YOUR_MONIKER> --chain-id mocha-4
Create or recover your wallet
#NEW WALLET
celestia-appdkeys add <WALLET_NAME>
#RECOVER OLD WALLET
celestia-appdkeys add <WALLET_NAME> --recover
Download Genesis
cp $HOME/networks/mocha-4/genesis.json $HOME/.celestia-app/config
Set up the minimum gas price and Peers/Seeds/Filter peers/MaxPeers
SEEDS=""
PEERS="daf2cecee2bd7f1b3bf94839f993f807c6b15fbf@celestia-testnet-peer.itrocket.net:11656,5a7566aa030f7e5e7114dc9764f944b2b1324bcd@65.109.23.114:11656,0640e5f6916438c593c888469637bbc0d3151784@185.252.220.89:25009,c17c0cbf05e98656fee5f60fad469fc528f6d6de@65.109.25.113:11656,cd03d4f6eaf3bf6249d120557c5a6ed5b3de78d1@34.162.240.64:26656,6d996aeed0402ce5da57c1272eb33f7b38c183ec@43.157.38.30:26656,c13acb30480216ade8e182f7adc9206842d849b7@65.108.238.215:26956,1363cc050a6b8045ae55e1516e9be45b2dc625cb@146.148.90.32:26656,2c6b4cb9d9790a4c5d234fc5d150ffb41cdbc5db@94.130.132.227:3000,583ecf5f48d77dbd18f8a4bed1d8ac1ae48caec8@159.69.79.247:26656,db1723a167c0b895697dde4a609a3df8489b52e8@125.143.190.194:10002"
SEED_MODE="true"
sed -i -e 's|^seeds *=.*|seeds = "'$SEEDS'"|; s|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.celestia-app/config/config.toml
sed -i -e "s/^seed_mode *=.*/seed_mode = \"$SEED_MODE\"/" $HOME/.celestia-app/config/config.toml
sed -i.bak -e "s/^mode *=.*/mode = \"validator\"/" $HOME/.celestia-app/config/config.toml
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0utia\"/" $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
Download addrbook
wget -O $HOME/.celestia-app/config/addrbook.json "https://raw.githubusercontent.com/nodersteam/cosmos-adrbook/main/celestia/addrbook.json"
Create a service file
sudo tee /etc/systemd/system/celestia-appd.service > /dev/null <<EOF
[Unit]
Description=celestia
After=network-online.target
[Service]
User=$USER
ExecStart=$(which celestia-appd) start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
Use our StateSync
Start your node
sudo systemctl daemon-reload &&
sudo systemctl enable celestia-appd &&
sudo systemctl restart celestia-appd && sudo journalctl -u celestia-appd -f -o cat
You can get tokens for running the validator in the project's discord
Wait for full synchronization and create a validator
celestia-appd tx staking create-validator \
--amount 1000000utia \
--from <WALLET_NAME> \
--commission-max-change-rate "0.01" \
--commission-max-rate "0.2" \
--commission-rate "0.05" \
--min-self-delegation "1" \
--pubkey $(celestia-appd tendermint show-validator) \
--moniker <YOUR_MONIKER> \
--chain-id mocha-4 \
--fees 5000utia \
--gas 1000000 \
--gas-adjustment 1.3 -y
If you want to delete a node
sudo systemctl stop celestia-appd && \
sudo systemctl disable celestia-appd && \
rm /etc/systemd/system/celestia-appd.service && \
sudo systemctl daemon-reload && \
cd $HOME && \
rm -rf .celestia-app && \
rm -rf $(which celestia-appd)
Last updated