⚛️Celestia

Setting up a light node

Update packages and Install dependencies:

sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make gcc tar clang pkg-config libssl-dev ncdu -y

Install:

cd ~
! [ -x "$(command -v go)" ] && {
VER="1.21.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 ~/.bash_profile
}
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin
go version

Download and build binaries:

Config and init app:

Create wallet:

(Optional) Restore an existing cel_key:

You can find the address by running the following command in the celestia-node directory:

Add Consensus node RPC and gRPC ports:

Create Service file and replace FULL node ip, RPC and gRPC ports:

Enable and start service:

Cheat sheet

Check light wallet balance:

Get wallet address:

Restore an existing cel_key:

Check light node status:

Get Node ID:

(Optional) Add permissions for transferring keys to another server:

Reset node:

Upgrade

Stop light node:

Download binary:

Update:

Start light node:

Delete light node

Last updated