Chain ID: celestia | Node Version: v2.3.1
sudo apt update
sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y
rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.22.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version
cd $HOME
rm -rf celestia-app
git clone https://github.com/celestiaorg/celestia-app.git
cd celestia-app/
git checkout v2.3.1
make install
celestia-appd version
Replace NodeName with your own moniker.
celestia-appd init NodeName --chain-id=celestia
curl -Ls https://ss.celestia.nodestake.org/genesis.json > $HOME/.celestia-app/config/genesis.json
curl -Ls https://ss.celestia.nodestake.org/addrbook.json > $HOME/.celestia-app/config/addrbook.json
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
SNAP_NAME=$(curl -s https://ss.celestia.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss.celestia.nodestake.org/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.celestia-app
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
If you have any questions, please reach out to our Discord
https://rpc.celestia.nodestake.org
https://api.celestia.nodestake.org
https://grpc.celestia.nodestake.org:443
https://ss.celestia.nodestake.org/genesis.json
curl -Ls https://ss.celestia.nodestake.org/genesis.json > $HOME/.celestia-app/config/genesis.json
afdc83e658c00274c7fc8fe103de766977a65cb2@rpc.celestia.nodestake.org:666
seed="afdc83e658c00274c7fc8fe103de766977a65cb2@rpc.celestia.nodestake.org:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.celestia-app/config/config.toml
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
https://ss.celestia.nodestake.org/addrbook.json
curl -Ls https://ss.celestia.nodestake.org/addrbook.json > $HOME/.celestia-app/config/addrbook.json
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
peers=$(curl -s https://ss.celestia.nodestake.org/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.celestia-app/config/config.toml
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
sudo systemctl stop celestia-appd
celestia-appd tendermint unsafe-reset-all --home ~/.celestia-app/ --keep-addr-book
SNAP_RPC="https://rpc.celestia.nodestake.org:443"
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" ~/.celestia-app/config/config.toml
more ~/.celestia-app/config/config.toml | grep 'rpc_servers'
more ~/.celestia-app/config/config.toml | grep 'trust_height'
more ~/.celestia-app/config/config.toml | grep 'trust_hash'
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
We make the node snapshot every day
sudo apt update
sudo apt-get install snapd lz4 -y
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.celestia-app/config/config.toml
sudo systemctl stop celestia-appd
cp $HOME/.celestia-app/data/priv_validator_state.json $HOME/.celestia-app/priv_validator_state.json.backup
rm -rf $HOME/.celestia-app/data
celestia-appd tendermint unsafe-reset-all --home ~/.celestia-app/ --keep-addr-book
SNAP_NAME=$(curl -s https://ss.celestia.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss.celestia.nodestake.org/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.celestia-app
mv $HOME/.celestia-app/priv_validator_state.json.backup $HOME/.celestia-app/data/priv_validator_state.json
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
Get old Snapshots
If you have any questions, please reach out to our Discord
We make the node snapshot every week
sudo apt update
sudo apt-get install snapd lz4 -y
sudo systemctl stop celestia-appd
cp $HOME/.celestia-app/data/priv_validator_state.json $HOME/.celestia-app/priv_validator_state.json.backup
rm -rf $HOME/.celestia-app/data
celestia-appd tendermint unsafe-reset-all --home ~/.celestia-app/ --keep-addr-book
SNAP_NAME=$(curl -s https://ss.archive.celestia.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss.archive.celestia.nodestake.org/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.celestia-app
mv $HOME/.celestia-app/priv_validator_state.json.backup $HOME/.celestia-app/data/priv_validator_state.json
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
If you have any questions, please reach out to our Discord
https://rpc.archive.celestia.nodestake.org
https://api.archive.celestia.nodestake.org
https://grpc.archive.celestia.nodestake.org:443
Chain ID: mocha-4 | Node Version: v2.3.1-mocha
sudo apt update
sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y
rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.21.6.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version
cd $HOME
rm -rf celestia-app
git clone https://github.com/celestiaorg/celestia-app.git
cd celestia-app
git checkout v2.3.1-mocha
make install
celestia-appd version
Replace NodeName with your own moniker.
celestia-appd init NodeName --chain-id=mocha-4
curl -Ls https://ss-t.celestia.nodestake.org/genesis.json > $HOME/.celestia-app/config/genesis.json
curl -Ls https://ss-t.celestia.nodestake.org/addrbook.json > $HOME/.celestia-app/config/addrbook.json
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
SNAP_NAME=$(curl -s https://ss-t.celestia.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss-t.celestia.nodestake.org/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.celestia-app
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
celestia-appd tx staking create-validator \
--amount=1000000utia \
--pubkey=$(celestia-appd tendermint show-validator) \
--chain-id=mocha-4 \
--commission-rate="0.05" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.20" \
--min-self-delegation=1 \
--from mykey \
--yes \
--gas-adjustment=1.2 \
--gas=auto \
--gas-prices=0.005utia \
--evm-address=$EVM_ADDRESS \
--moniker="YOUR_MONIKER_NAME" \
--website="YOUR_WEBSITE" \
--security-contact="YOUR_EMAIL" \
--details="YOUR_DETAIL"
cd $HOME
rm -rf celestia-node
git clone https://github.com/celestiaorg/celestia-node.git
cd celestia-node/
git checkout tags/v0.11.0
make build
make install
celestia version
make cel-key
cel-key add my_celes_key --node.type bridge --keyring-backend test --p2p.network mocha-4
celestia bridge init --core.ip localhost --p2p.network mocha-4
celestia bridge start --core.ip localhost --p2p.network mocha-4
If you have any questions, please reach out to our Discord
https://rpc-t.celestia.nodestake.org
https://api-t.celestia.nodestake.org
https://grpc-t.celestia.nodestake.org:443
https://ss-t.celestia.nodestake.org/genesis.json
065c0d83c5cb9efdbf13e1a4f4ab641f21b4d505@rpc-t.celestia.nodestake.org:666
seed="065c0d83c5cb9efdbf13e1a4f4ab641f21b4d505@rpc-t.celestia.nodestake.org:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.celestia-app/config/config.toml
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
https://ss-t.celestia.nodestake.org/addrbook.json
peers=$(curl -s https://ss-t.celestia.nodestake.org/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.celestia-app/config/config.toml
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
sudo systemctl stop celestia-appd
celestia-appd tendermint unsafe-reset-all --home ~/.celestia-app/ --keep-addr-book
SNAP_RPC="https://rpc-t.celestia.nodestake.org:443"
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" ~/.celestia-app/config/config.toml
more ~/.celestia-app/config/config.toml | grep 'rpc_servers'
more ~/.celestia-app/config/config.toml | grep 'trust_height'
more ~/.celestia-app/config/config.toml | grep 'trust_hash'
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
We make the node snapshot every 12 hours
sudo apt update
sudo apt-get install snapd lz4 -y
sudo systemctl stop celestia-appd
cp $HOME/.celestia-app/data/priv_validator_state.json $HOME/.celestia-app/priv_validator_state.json.backup
rm -rf ~/.celestia-app/data
celestia-appd tendermint unsafe-reset-all --home ~/.celestia-app/ --keep-addr-book
SNAP_NAME=$(curl -s https://ss-t.celestia.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss-t.celestia.nodestake.org/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.celestia-app
mv $HOME/.celestia-app/priv_validator_state.json.backup $HOME/.celestia-app/data/priv_validator_state.json
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
If you have any questions, please reach out to our Discord
We make the node snapshot every week
sudo apt update
sudo apt-get install snapd lz4 -y
sudo systemctl stop celestia-appd
cp $HOME/.celestia-app/data/priv_validator_state.json $HOME/.celestia-app/priv_validator_state.json.backup
rm -rf $HOME/.celestia-app/data
celestia-appd tendermint unsafe-reset-all --home ~/.celestia-app/ --keep-addr-book
SNAP_NAME=$(curl -s https://ss-t.archive.celestia.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss-t.archive.celestia.nodestake.org/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.celestia-app
mv $HOME/.celestia-app/priv_validator_state.json.backup $HOME/.celestia-app/data/priv_validator_state.json
sudo systemctl restart celestia-appd
journalctl -u celestia-appd -f
If you have any questions, please reach out to our Discord
https://rpc-t.archive.celestia.nodestake.org
https://api-t.archive.celestia.nodestake.org
https://grpc-t.archive.celestia.nodestake.org:443