Skip to content

xhinis/celestia-lightnode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Celestia Node Setup Guide (v0.20.4)

Install Dependencies

Run the following command to install the required dependencies:

sudo apt install curl tar wget aria2 clang pkg-config libssl-dev jq build-essential git make ncdu -y

Install Go

Download and install Go:

wget "https://golang.org/dl/go1.23.0.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go1.23.0.linux-amd64.tar.gz"
rm "go1.23.0.linux-amd64.tar.gz"

Update the PATH

Add Go binaries to your PATH:

echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile

Verify Go Installation

Check if Go is installed correctly:

go version

Clone the Celestia-Node Repository

Clone the Celestia-Node repository:

cd $HOME
rm -rf celestia-node
screen -S CELESTIA
git clone https://github.com/celestiaorg/celestia-node.git
cd celestia-node/

Check Out the Correct Version

Switch to the latest version (v0.20.4):

git fetch --tags
git checkout tags/v0.20.4

Build and Install Celestia-Node

Build and install Celestia Node:

make build-jemalloc
make install
make cel-key
celestia version

Initialize the Light Node

Initialize the Celestia light node:

celestia light init --p2p.network celestia

Create a Key for the Light Node

Generate a key for the light node:

./cel-key add CHOOSE_A_NAME --keyring-backend test --node.type light --p2p.network celestia

Start the Light Node with the Key

Start the light node using the created key:

celestia light start --core.ip consensus.lunaroasis.net --keyring.keyname ENTER_THE_NAME_YOU_CHOSE_BEFORE

This completes the setup of a Celestia light node with version v0.20.4. Ensure your node is running correctly and syncing with the network.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published