Copy source <( curl -s https://raw.githubusercontent.com/111STAVR111/props/refs/heads/main/Celestia/Mainnet/Bridge/bridgem )
Copy sudo apt update && sudo apt upgrade -y
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y
Copy ver = "1.23.1"
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
Copy cd $HOME && mkdir -p go/bin/
git clone https://github.com/celestiaorg/celestia-node.git
cd celestia-node/
git checkout tags/v0.16.0
make build
sudo make install
make cel-key
mv $HOME /celestia-node/cel-key /usr/local/bin/
Copy cel-key add bridge-wallet --keyring-backend test --node.type bridge
OR
cel-key add bridge-wallet --keyring-backend test --node.type bridge --recover
Copy #--core.ip - IP address RPC Node
#--p2p.network - chain id (celestia)
#--core.rpc.port - RPC port from our RPC node
#--core.grpc.port - gRPC port from our RPC node
#--keyring.keyname - our Wallet Name
celestia bridge init --core.ip <RPC_NODE_IP> --core.rpc.port 26657 --core.grpc.port 9090 --keyring.keyname bridge-wallet
Copy sudo tee /etc/systemd/system/celestia-bridge.service > /dev/null << EOF
[Unit]
Description=celestia Bridge
After=network-online.target
[Service]
User=$USER
Environment=GODEBUG="asynctimerchan=1"
ExecStart=$( which celestia) bridge start \
--metrics.tls=true --metrics --metrics.endpoint otel.celestia.observer \
--keyring.keyname bridge-wallet
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
SnapShot Bridge Mainnet (Archive) - updated every 7 days
Copy systemctl daemon-reload
systemctl enable celestia-bridge
systemctl restart celestia-bridge && journalctl -fu celestia-bridge -ocat
You can create secure management of your wallet and your node by following this links.
Copy systemctl stop celestia-bridge
systemctl disable celestia-bridge
rm /etc/systemd/system/celestia-bridge.service
systemctl daemon-reload
cd $HOME
rm -rf .celestia-bridge
rm -rf celestia-node
rm -rf $( which celestia )