> For the complete documentation index, see [llms.txt](https://docs.validator247.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.validator247.com/testnet/celestia.md).

# Celestia

Make sure you have the latest Go build and system components installed

Install Node

```
cd $HOME 

rm -rf celestia-app 

git clone https://github.com/celestiaorg/celestia-app.git

cd celestia-app/ 

git checkout v1.3.0

make install

celestia-appd version
```

Initialize Node

```
celestia-appd init NodeName --chain-id=celestia
```

Download Genesis

```
curl -Ls https://ss.celestia.nodestake.top/genesis.json > $HOME/.celestia-app/config/genesis.json 
```

Download addrbook

```
curl -Ls https://ss.celestia.nodestake.top/addrbook.json > $HOME/.celestia-app/config/addrbook.json
```

Create Service

```
sudo tee /etc/systemd/system/celestia-appd.service > /dev/null <<EOF
[Unit]
Description=celestia-appd Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which celestia-appd) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable celestia-appd
```

Download Snapshot

```
SNAP_NAME=$(curl -s https://ss.celestia.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.celestia.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.celestia-app
```

Launch Node

```
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f - cat
```

Get Sync Status

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

## Add New Key

```
celestia-appd keys add wallet
```

Recover Existing Key

```
celestia-appd keys add wallet --recover
```

Query Wallet Balance

```
celestia-appd q bank balances $(celestia-appd keys show wallet -a)
```

## Create New Validator

```
celestia-appd tx staking create-validator \
--amount=1000000utia \
--pubkey=$(celestia-appd tendermint show-validator) \
--moniker="Moniker" \
--chain-id=celestia \
--commission-rate=0.10 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--from=wallet \
--gas-prices=0.1utia \
--gas-adjustment=1.5 \
--gas=auto \
-y 
```

**Service command**

```
# Reload Service
sudo systemctl daemon-reload
# Enable Service
sudo systemctl enable celestia-appd
# Disable Service
sudo systemctl disable celestia-appd
# Start Service
sudo systemctl start celestia-appd
# Stop Service
sudo systemctl stop celestia-appd
# Restart Service
sudo systemctl restart celestia-appd
# Check Service Status
sudo systemctl status celestia-appd
# Check Service Logs
sudo journalctl -u celestia-appd -f -o cat
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.validator247.com/testnet/celestia.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
