How to run Celestia Light Node on the Mocha Testnet

Follow along to learn how to install Celestia light node on Ubuntu 20.04 LTS

Resources

Celestia node types

Celestia is a modular blockchain that tackles scalability issues by attempting to scale vertically which is a stark contrast when compared to monolithic chains like Ethereum and Solana. Celestia simplified it's scaling solution and focused on manufacturing only key ingredients that are needed for massive scalability. That is transaction ordering and making data available.

Celestia network consists of various types of nodes. They are split into two categories:

  1. Consensus Nodes

    1. Validator Nodes

    2. Consensus Full Nodes

  2. Data Availability Nodes

    1. Bridge Nodes

    2. Full Storage Nodes

    3. Light Nodes

Since there are already plenty of validator nodes on the testnet network and it is unlikely that new users will be able to join active validator set, the team encourages community to run light nodes. Hence this guide will provide instructions on how to get up to speed with running light nodes on a Linux machine. Light nodes are in charge of data availability sampling on the Data Availability network.

Celestia block size scales with the number of data sampling light nodes on the network.

Hardware requirements

Running a light node is not an intensive process and you can run it on basically any machine you can find laying around. We will use a tiny Ubuntu 20.04 VPS as an example.

Update system and install dependencies

Install Go

After the setup is completed, use go version to check if the Go has been successfully installed.

Install Celestia light node

Check if the freshly built binary is working with the following command: celestia version

Initialize the light node

Generate wallet

Don't forget to save the mnemonic phrase just in case. You can optionally import your existing wallet if you already have one using the command below:

List wallets

Now you can join the Discord server linked above and request testnet tokens in the faucet channel.

Create light node service

Enable and start light node service

Check light node logs

Check wallet balance

Managing light node service

Check service status

Stop the service

Restart the service

Delete Celestia light node

Thanks for reading and enjoy helping Celestia network with data availability sampling,

Njokac

Last updated