π Installation - Celestia Lightnode (Mainnet)
π» Hardware Requirements
Components | Minimum Requirements |
---|---|
CPU | Single Core |
RAM | 500 MB RAM (minimum) |
STORAGE | 100 GB SSD |
1οΈβ£ Installation packeges and dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential git make ncdu -y
β‘οΈ Go Installation
cd $HOME
VER="1.22.3"
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
go version
2οΈβ£ Install node
cd $HOME
rm -rf celestia-node
git clone https://github.com/celestiaorg/celestia-node.git
cd celestia-node/
git checkout tags/v0.15.0-rc0
make build
make install
make cel-key
Check celestia version.
celestia version
Warning
Create a wallet. Donβt forget to save.
Reminder
βοΈfirst wallet created is by default named with key-name βmy_celes_keyββοΈ
celestia light init
For wallet information;
./cel-key list --node.type light --keyring-backend test
β‘οΈ Create a service
sudo tee <<EOF >/dev/null /etc/systemd/system/celd.service
[Unit]
Description=celestia-light
After=network-online.target
[Service]
User=$USER
ExecStart=$(which celestia) light start --core.ip rpc.celestia.pops.one --p2p.network celestia
Restart=on-failure
RestartSec=3
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable celd
sudo systemctl start celd
β‘οΈ Check service
sudo systemctl status celd
β‘οΈ Check logs
sudo journalctl -u celd -f
β‘οΈ Other Commands
Generate wallet
./cel-key add <key-name> --keyring-backend test --node.type light \
--p2p.network celestia
Recover wallet
./cel-key add <key-name> --recover --keyring-backend test \
--node.type light --p2p.network celestia
You have the ability to export a private key from the local keyring in a format that is both encrypted and ASCII-armored.
./cel-key export <key-name> --keyring-backend test --node.type light \
--p2p.network celestia