# Celestia Node [![Go Reference](https://pkg.go.dev/badge/github.com/celestiaorg/celestia-node.svg)](https://pkg.go.dev/github.com/celestiaorg/celestia-node) [![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/celestiaorg/celestia-node)](https://github.com/celestiaorg/celestia-node/releases/latest) [![Go CI](https://github.com/celestiaorg/celestia-node/actions/workflows/go-ci.yml/badge.svg)](https://github.com/celestiaorg/celestia-node/actions/workflows/go-ci.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/celestiaorg/celestia-node)](https://goreportcard.com/report/github.com/celestiaorg/celestia-node) [![codecov](https://codecov.io/gh/celestiaorg/celestia-node/branch/main/graph/badge.svg?token=CWGA4RLDS9)](https://codecov.io/gh/celestiaorg/celestia-node) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/celestiaorg/celestia-node) Golang implementation of Celestia's data availability node types (`light` | `bridge`). The celestia-node types described above comprise the celestia data availability (DA) network. The DA network wraps the celestia-core consensus network by listening for blocks from the consensus network and making them digestible for data availability sampling (DAS). Continue reading [here](https://blog.celestia.org/celestia-mvp-release-data-availability-sampling-light-clients) if you want to learn more about DAS and how it enables secure and scalable access to Celestia chain data. ## Table of Contents - [Celestia Node](#celestia-node) - [Table of Contents](#table-of-contents) - [Minimum requirements](#minimum-requirements) - [System requirements](#system-requirements) - [Supported architectures](#supported-architectures) - [Installation](#installation) - [API docs](#api-docs) - [Node types](#node-types) - [Run a node](#run-a-node) - [Quick Start with Light Node on mocha](#quick-start-with-light-node-on-mocha) - [Environment variables](#environment-variables) - [Package-specific documentation](#package-specific-documentation) - [Code of Conduct](#code-of-conduct) ## Minimum requirements | Requirement | Notes | | ----------- |----------------| | Go version | 1.26.8 or higher | ## System requirements See the [official docs page](https://docs.celestia.org/how-to-guides/nodes-overview#data-availability-nodes) for system requirements for each node type. ## Supported architectures Celestia-node officially supports the following architectures: - `linux/amd64` - `linux/arm64` - `darwin/amd64` (macOS Intel) - `darwin/arm64` (macOS Apple Silicon) Only these four architectures are officially tested and supported. ## Installation ```sh git clone https://github.com/celestiaorg/celestia-node.git cd celestia-node make build sudo make install ``` For more information on setting up a node and the hardware requirements needed, go visit our docs at . ## API docs The celestia-node public API is documented [here](https://node-rpc-docs.celestia.org/). ## Node types - **Bridge** nodes - relay blocks from the celestia consensus network to the celestia data availability (DA) network - **Light** nodes - verify the availability of block data by sampling the DA network for shares More information can be found [here](https://github.com/celestiaorg/celestia-node/blob/main/docs/adr/adr-003-march2022-testnet.md#legend). ## Run a node `` can be: `bridge` or `light`. ```sh celestia init ``` ```sh celestia start ``` Please refer to [this guide](https://docs.celestia.org/how-to-guides/celestia-node/) for more information on running a node. ### Quick Start with Light Node on mocha View available commands and their usage: ```sh make node-help ``` Install celestia node and cel-key binaries: ```sh make node-install ``` Start a light node with automated setup: ```sh make light-mocha-up ``` This command: - Automatically checks wallet balance - Requests funds from faucet if needed - Sets node height to latest-1 for quick startup - Initializes the node if running for the first time Options: ```sh make light-mocha-up COMMAND=again # Reset node state to latest height make light-mocha-up CORE_IP= # Use custom core IP ``` ## Environment variables | Variable | Explanation | Default value | Required | | ----------------------- | ----------------------------------- | ------------- | -------- | | `CELESTIA_BOOTSTRAPPER` | Start the node in bootstrapper mode | `false` | Optional | ## Package-specific documentation - [Header](./header/doc.go) - [Share](./share/doc.go) - [DAS](./das/doc.go) ## Code of Conduct See our Code of Conduct [here](https://docs.celestia.org/community/coc).