ubuntu-20.04
ubuntu-22.04
CPU:
RAM:
1 cores
0.5GB
Storage:
0.1TB
Official Documentation
ubuntu-20.04
ubuntu-22.04
CPU:
RAM:
1 cores
0.5GB
Storage:
0.1TB
Node name
Rpc node ip
### Install dependenciessudo apt update && sudo apt upgrade -ysudo apt install git gcc make jq curl lz4### Install gocd $HOMEVER=1.23.6wget -qO go.tar.gz "https://golang.org/dl/go$VER.linux-amd64.tar.gz"sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go.tar.gzrm go.tar.gzecho "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bashrcsource ~/.bashrcmkdir -p ~/go/bin### Config and init bridgecd $HOMErm -rf celestia-nodegit clone https://github.com/celestiaorg/celestia-node.gitcd celestia-node/git checkout tags/v0.22.3 -b v0.22.3make buildsudo make installmake cel-key# Config and init app:celestia light init# Create wallet:KEY_NAME="my_celes_key"cd ~/celestia-node./cel-key add $KEY_NAME --keyring-backend test --node.type light# (Optional) Restore an existing cel_key:KEY_NAME="my_celes_key"cd ~/celestia-node./cel-key add $KEY_NAME --keyring-backend test --node.type light# You can find the address by running the following command in the celestia-node directory:cd $HOME/celestia-node./cel-key list --node.type light --keyring-backend testCORE_IP="<PUT_CONSENSUS_NODE_IP>"CORE_RPC_PORT="<PUT_CONSENSUS_NODE_RPC_PORT>"CORE_GRPC_PORT="<PUT_CONSENSUS_NODE_GRPC_PORT>"KEY_NAME="my_celes_key"### Create service filesudo tee /etc/systemd/system/celestia-light.service > /dev/null <<EOF[Unit]Description=celestia lightAfter=network-online.target[Service]User=$USERExecStart=$(which celestia) light start --core.ip $CORE_IP --core.rpc.port $CORE_RPC_PORT --core.grpc.port $CORE_GRPC_PORT --keyring.accname $KEY_NAME --metrics.tls=true --metrics --metrics.endpoint otel.celestia.observerRestart=on-failureRestartSec=3LimitNOFILE=65535[Install]WantedBy=multi-user.targetEOF### Enable and start servicesudo systemctl daemon-reloadsudo systemctl enable celestia-bridgesudo systemctl restart celestia-bridge && sudo journalctl -u celestia-bridge -fo cat