> For the complete documentation index, see [llms.txt](https://services.luckyresearch.org/lucky-research-services/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://services.luckyresearch.org/lucky-research-services/testnet/celestia/installation.md). Agents can also search and read this documentation through its [MCP server](https://services.luckyresearch.org/lucky-research-services/~gitbook/mcp).

# Installation

{% hint style="info" %}
**Network:** Celestia Mocha testnet — chain-id `mocha-5`

**celestia-app / fibre:** `v10.6.0-mocha` (app version 10)

**Last updated:** November 7, 2026
{% endhint %}

{% hint style="warning" %}
`mocha-4` has been shut down. `mocha-5` is a new chain starting at height 1 — if you still have a mocha-4 node, do **not** reuse its home directory or `priv_validator_state.json`. Use a fresh home (or `--home $HOME/.celestia-app-mocha-5`).
{% endhint %}

### Hardware requirements

**Validator / consensus node:**

* Memory: **32 GB RAM**
* CPU: **32 cores** (must pass the [CPU benchmark](https://github.com/celestiaorg/celestia-app/blob/main/tools/cpu_requirements/README.md))
* Disk: **2 TB NVMe**
* Bandwidth: **1 Gbps**
* OS: **Ubuntu 24.04 LTS** — the multiplexer build needs glibc **2.38+**, Ubuntu 22.04 and older will not work

**Fibre server** (validators):

* Memory: **32 GB RAM** minimum
* A **separate disk** from celestia-app data
* Disk and bandwidth per validator: [Fibre requirements sheet](https://docs.google.com/spreadsheets/d/1P3k-KQrZxbRjRwIxWkJBNwgAFlFMJUdT7OupA_WoKa0/edit?gid=971673838#gid=971673838)
* OS: glibc **2.34+**

**Update if needed**

```bash
sudo apt update && sudo apt upgrade -y
```

## Install packages

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

**Install Go** (source builds require Go 1.26.10)

```bash
cd $HOME
ver="1.26.10"
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"
echo "export PATH=\$PATH:/usr/local/go/bin:\$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
go version
```

## Install celestia-app

`make install` builds the **multiplexer** binary. Do not use the `standalone` build and do not use Cosmovisor.

```bash
cd $HOME
rm -rf celestia-app
git clone https://github.com/celestiaorg/celestia-app.git
cd celestia-app
git checkout tags/v10.6.0-mocha
make install

celestia-appd version
```

Prebuilt binaries: [v10.6.0-mocha release](https://github.com/celestiaorg/celestia-app/releases/tag/v10.6.0-mocha) (verify against `checksums.txt`).

## Init node

```bash
MONIKER="<YOUR_MONIKER>"
celestia-appd init "$MONIKER" --chain-id mocha-5
celestia-appd config set client chain-id mocha-5
celestia-appd config set client keyring-backend test
```

## Genesis - Seeds - Gas prices

```bash
# genesis
celestia-appd download-genesis mocha-5
# if the command is not available:
# curl -sL https://raw.githubusercontent.com/celestiaorg/networks/main/mocha-5/genesis.json -o $HOME/.celestia-app/config/genesis.json

# official seeds
SEEDS=$(curl -sL https://raw.githubusercontent.com/celestiaorg/networks/main/mocha-5/seeds.txt | tr '\n' ',')
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/" $HOME/.celestia-app/config/config.toml

# minimum gas price
sed -i 's/^minimum-gas-prices *=.*/minimum-gas-prices = "0.002utia"/' $HOME/.celestia-app/config/app.toml
```

Peers list: [mocha-5/peers.txt](https://github.com/celestiaorg/networks/blob/main/mocha-5/peers.txt)

## Pruning - Indexer

```bash
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.celestia-app/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.celestia-app/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"50\"/" $HOME/.celestia-app/config/app.toml

sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.celestia-app/config/config.toml
```

## gRPC (required for Fibre)

Both application gRPC and the privval gRPC endpoint must be enabled. With `[grpc] enable = false`, `create-validator` fails with `unknown query path` even though RPC works.

```bash
# app.toml -> [grpc]
sed -i '/^\[grpc\]/,/^\[/ s/^enable *=.*/enable = true/' $HOME/.celestia-app/config/app.toml

# config.toml -> privval gRPC (IP literal, "localhost" is rejected)
sed -i 's|^priv_validator_grpc_laddr *=.*|priv_validator_grpc_laddr = "127.0.0.1:26669"|' $HOME/.celestia-app/config/config.toml

# config.toml -> rpc.grpc_laddr
sed -i 's|^grpc_laddr *=.*|grpc_laddr = "tcp://127.0.0.1:9098"|' $HOME/.celestia-app/config/config.toml

# add any missing settings shipped with the new binary
celestia-appd config sync --home $HOME/.celestia-app --dry-run
celestia-appd config sync --home $HOME/.celestia-app
```

**Create service**

```bash
sudo tee /etc/systemd/system/celestia-appd.service > /dev/null <<EOF
[Unit]
Description=celestia-appd
After=network-online.target

[Service]
User=$USER
ExecStart=$(which celestia-appd) start --home $HOME/.celestia-app
Restart=on-failure
RestartSec=10
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable celestia-appd
```

**Wallet**

```bash
celestia-appd keys add wallet
# or restore
celestia-appd keys add wallet --recover
```

Get testnet TIA: `#mocha-faucet` on the Celestia Discord (`$request <celestia1...>`), [mocha.celenium.io/faucet](https://mocha.celenium.io/faucet) or [faucet.noders.services/celestia](https://faucet.noders.services/celestia).

Check validator address

```bash
celestia-appd keys show wallet --bech val -a
```

**Sync**

Start the node and let it sync, or use state sync / a snapshot from the [Celestia snapshots guide](https://docs.celestia.org/operate/maintenance/snapshots) (make sure the snapshot is for `mocha-5`, not `mocha-4`).

```bash
sudo systemctl restart celestia-appd && sudo journalctl -u celestia-appd -f -o cat
```

Check sync

```bash
celestia-appd status 2>&1 | jq .sync_info.catching_up
```

If it is `false` => Create Validator

```bash
celestia-appd tx staking create-validator \
--amount=1000000utia \
--pubkey=$(celestia-appd tendermint show-validator) \
--moniker="<YOUR_MONIKER>" \
--identity="<KEYBASE_ID>" \
--chain-id=mocha-5 \
--commission-rate=0.1 \
--commission-max-rate=0.2 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1000000 \
--from=wallet \
--keyring-backend=test \
--fees=21000utia \
--gas=220000 \
-y
```

`--identity` is optional (your Keybase ID, used by explorers to show your logo). Remove the line if you don't use it.

## Fibre server

Mocha has activated app version 10, so every **bonded** validator should run a Fibre server. Fibre never talks to your KMS — it asks the node's privval gRPC endpoint to sign.

{% hint style="warning" %}
The Fibre host you register is public on-chain. If Fibre runs on the validator host, your validator's IP becomes public too.
{% endhint %}

### 1. Pre-checks

```bash
# app version must be 10
curl -s http://127.0.0.1:26657/abci_info | jq .result.response.app_version

# validator must be bonded
celestia-appd query staking validator $(celestia-appd keys show wallet --bech val -a) -o json | jq .validator.status

# app gRPC must be enabled
grep -A3 '^\[grpc\]' $HOME/.celestia-app/config/app.toml
```

### 2. Install Fibre

The Fibre version must match the celestia-app release.

**From source:**

```bash
cd $HOME/celestia-app   # same checkout as above (tags/v10.6.0-mocha)
make build-fibre-server
sudo cp build/fibre /usr/local/bin/fibre
fibre version
```

**Or prebuilt binary:**

```bash
cd $HOME
curl -LO https://github.com/celestiaorg/celestia-app/releases/download/v10.6.0-mocha/fibre_Linux_x86_64.tar.gz
curl -LO https://github.com/celestiaorg/celestia-app/releases/download/v10.6.0-mocha/checksums.txt
sha256sum --ignore-missing --check checksums.txt
tar -xvf fibre_Linux_x86_64.tar.gz
sudo mv fibre /usr/local/bin/fibre
fibre version
```

### 3. Fibre home on a separate disk

```bash
# change the path to a mount on a different disk than celestia-app data
FIBRE_HOME=/mnt/fibre-data/.celestia-fibre
sudo mkdir -p $FIBRE_HOME && sudo chown -R $USER:$USER $FIBRE_HOME
echo "export FIBRE_HOME=$FIBRE_HOME" >> $HOME/.bash_profile
```

Config file: `$FIBRE_HOME/config/server_config.toml` (created on the first start).

### 4. Signer connection

#### Option A — Fibre on the same server (common on Mocha)

Keep `priv_validator_grpc_laddr = "127.0.0.1:26669"` on the node. Use `127.0.0.1`, not `localhost`.

```bash
APP_GRPC="127.0.0.1:9090"
SIGNER_GRPC="127.0.0.1:26669"
```

{% hint style="info" %}
If your node uses custom ports, use the node's actual app gRPC port for `APP_GRPC` (e.g. `127.0.0.1:11090`) and keep the signer port the same on both sides.
{% endhint %}

#### Option B — Fibre on a separate server (mutual TLS)

Same procedure as mainnet: private network between the servers, a dedicated CA, a server certificate for the node (SAN = the private IP Fibre dials) and a client certificate for Fibre. Follow **Option B** on the [Mainnet installation page](https://services.luckyresearch.org/lucky-research-services/mainet/celestia/installation.md) and set `APP_GRPC` / `SIGNER_GRPC` to the validator's private IP.

### 5. Create the Fibre service

```bash
sudo tee /etc/systemd/system/fibre.service > /dev/null <<EOF
[Unit]
Description=Celestia Fibre server
After=network-online.target

[Service]
User=$USER
ExecStart=/usr/local/bin/fibre start \\
  --home $FIBRE_HOME \\
  --app-grpc-address $APP_GRPC \\
  --signer-grpc-address $SIGNER_GRPC \\
  --server-listen-address 0.0.0.0:7980
Restart=on-failure
RestartSec=10
TimeoutStopSec=120
LimitNOFILE=65535
MemoryMax=32G
CPUWeight=50
OOMScoreAdjust=500

[Install]
WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable fibre
sudo ufw allow 7980/tcp
```

`MemoryMax`, `CPUWeight` and `OOMScoreAdjust` protect the validator when Fibre shares the host. Adjust to your RAM.

### 6. Start Fibre

```bash
sudo systemctl start fibre && sudo journalctl -u fibre -f -o cat
```

Check from outside your network:

```bash
nc -zv <your-fibre-host> 7980
```

### 7. Register the Fibre host

```bash
celestia-appd tx valaddr set-host <your-fibre-host>:7980 \
--from=wallet --chain-id=mocha-5 --keyring-backend=test --fees=21000utia -y

# verify (found: true)
celestia-appd query valaddr provider $(celestia-appd comet show-address)
celestia-appd query valaddr providers
```

The host can be an IP or a DNS name (`host:port`, no scheme). Registration persists until the address changes.

### 8. Health check

```bash
grpc_health_probe -addr=<your-fibre-host>:7980 -tls -tls-no-verify                          # readiness
grpc_health_probe -addr=<your-fibre-host>:7980 -tls -tls-no-verify -service=fibre-liveness   # liveness
```

When not ready, the Fibre log names the failing check (`app`, `signer`, `validator`, `registration`, `store`).

Upgrading later: see the Mocha [Upgrade page](https://services.luckyresearch.org/lucky-research-services/testnet/celestia/upgrade.md).

References: [Run a Fibre server](https://docs.celestia.org/operate/consensus-validators/fibre) · [Fibre README v10.6.0-mocha](https://github.com/celestiaorg/celestia-app/blob/v10.6.0-mocha/fibre/cmd/README.md)
