# Celestia Bridge Node - Mamaki **Published by:** [GLCstaked](https://paragraph.com/@glcstaked/) **Published on:** 2022-11-30 **URL:** https://paragraph.com/@glcstaked/celestia-bridge-node-mamaki ## Content Bridge nodes connect the data availability layer and the consensus layer while also having the option of becoming a validator. Validators do not have to run bridge nodes, but are encouraged to in order to relay blocks to the data availability network. Mamaki test network is deprecated now and replaced with Mocha test network, please see this guide for updated instructions https://mirror.xyz/0xf3bF9DDbA413825E5DdF92D15b09C2AbD8d190dd/080axi695I-z_CqU7li65kCOluP7sukMeSk8ocz4uzk Bridge Node FunctionsImport and process “raw” headers & blocks from a trusted Core process (meaning a trusted RPC connection to a celestia-core node) in the Consensus network.Validate and erasure code the “raw” blocks (what is thisSupply block shares with data availability headers to Light Nodes in the DA network.Hardware Requirements: 4vCPU / 8GB RAM / 250GB SSD / 1 Gbps Download/100 Mbps Upload OS: Ubuntu Linux 20.04 (LTS) x64Part 1: install Celestia NodeDependencies This will require the same prerequisite software dependencies installed in Step 1 of the Validator Node guide, this guide is intended for running a Bridge node in parallel to a Validator/full node, so should already be installed. However this could be run separate. https://mirror.xyz/0xf3bF9DDbA413825E5DdF92D15b09C2AbD8d190dd/KeaXlEAl7l0PzhrkpInJaFLJZx7g9tdxKpN3uW6eZv8cd $HOME rm -rf celestia-node git clone https://github.com/celestiaorg/celestia-node.git cd celestia-node/ git checkout tags/v0.3.0-rc2 make install make cel-key You should be in celestia-node directory, verify installed correctlyShould output something like thisNOTE: celestia app* is what was installed for validator node* https://docs.celestia.org/developers/celestia-node/#errors-1Part 2: Initialize the Bridge Nodecelestia bridge init --core.remote https://rpc-mamaki.pops.one:9090 --core.remote port defaults to 9090, RPC Endpoints can be found here:output should look similarWe now have a working directory .celestia-bridge and our config should be found at ./config.tomlPart 3: Run the Bridge NodeStart the Bridge Node with a connection to a validator node's gRPC endpoint (which is usually exposed on port 9090), find addresses above.celestia bridge start --core.ip <ip-address> Optional Connect to own validator node, if running on the same server--core.ip http://localhost:26657 Part 4: WalletOnce 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 PayForData transactions. Find address to fund./cel-key list --node.type bridge --keyring-backend test Use Existing Key The custom key must exist inside the Celestia bridge node directory at the correct path (default: ~/.celestia-bridge/keys/keyring-test. add flag to the start command--keyring.accname <name_of_custom_key> Sending from another wallet such as sending from validator node.celestia-appd tx bank send [from_key_or_address] [to_address] [amount] --chain-id mamaki --fees [fee] -y Part 5: Set up as a System Servicesudo tee <<EOF >/dev/null /etc/systemd/system/celestia-bridge.service [Unit] Description=celestia-bridge Cosmos daemon After=network-online.target [Service] User=$USER ExecStart=$HOME/go/bin/celestia bridge start --core.remote <ip-address> Restart=on-failure RestartSec=3 LimitNOFILE=4096 [Install] WantedBy=multi-user.target EOF Enable and Start Servicesudo systemctl enable celestia-bridge sudo systemctl daemon-reload sudo systemctl start celestia-bridge Check Statussudo systemctl status celestia-bridge Check logsjournalctl -u celestia-bridge.service -f if connected successfully to gRPC endpoint, logs will look similar to thisMaking Changessuch as changing the gRPC endpoint you will need to edit the service file stop the servicesudo systemctl stop celestia-bridge Open service for editingsudo nano /etc/systemd/system/celestia-bridge.service Restart the servicesudo systemctl daemon-reload sudo systemctl start celestia-bridge ## Publication Information - [GLCstaked](https://paragraph.com/@glcstaked/): Publication homepage - [All Posts](https://paragraph.com/@glcstaked/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@glcstaked): Subscribe to updates