๐ Bridge Node Installation
Chain ID: mocha-4 | Latest Version Tag: v0.24.1-mocha
Recommended Hardware:
Node Type
CPU
RAM
Storage
Testnet
6
4GB
10TB
Install dependencies
# Update the repositories
sudo apt update && sudo apt upgrade -y
# Install developer packages
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y
# Install Go
sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go1.24.2.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
eval $(echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/golang.sh)
eval $(echo 'export PATH=$PATH:$HOME/go/bin' | tee -a $HOME/.profile)
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
go version
Automatic Installation
source <(curl -s https://raw.githubusercontent.com/validexisinfra/Celestia/main/setup_bridge_testnet.sh)
Manual Installation
# Download binary files
cd $HOME
rm -rf celestia-node
git clone https://github.com/celestiaorg/celestia-node
cd celestia-node/
git checkout tags/v0.24.1-mocha
make build
sudo make install
make cel-key
# Initiaton
celestia bridge init --core.ip <RPC_NODE_IP> --p2p.network mocha
Once you start the Bridge Node, a wallet key will be generated for you. You will need to fund that address with Testnet tokens to pay for PayForBlob transactions. You can find the address by running the following command:
cd $HOME/celestia-node
./cel-key list --node.type bridge --keyring-backend test --p2p.network mocha
# Create service file
sudo tee /etc/systemd/system/celestia-bridge.service > /dev/null <<EOF
[Unit]
Description=celestia Bridge
After=network-online.target
[Service]
User=$USER
ExecStart=$(which celestia) bridge start \
--p2p.network mocha --archival \
--metrics.tls=true --metrics --metrics.endpoint otel.mocha.celestia.observer
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
# Enable and start service
sudo systemctl daemon-reload
sudo systemctl enable celestia-bridge
sudo systemctl restart celestia-bridge && sudo journalctl -u celestia-bridge -f
Last updated