> For the complete documentation index, see [llms.txt](https://services.validexis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://services.validexis.com/testnets/celestia/bridge-node-installation/useful-commands.md).

# 📜  Useful Commands

***Check bridge wallet balance***

```bash
celestia state balance --node.store ~/.celestia-bridge-mocha-4/
```

***Get wallet address***

```bash
cd $HOME/celestia-node
./cel-key list --node.type bridge --keyring-backend test  --p2p.network mocha
```

***Restore an existing cel\_key***

```bash
KEY_NAME="my_celes_key"
cd ~/celestia-node
./cel-key add $KEY_NAME --keyring-backend test --node.type bridge  --recover --p2p.network mocha
```

***Check bridge node status***

```bash
celestia header sync-state --node.store  ~/.celestia-bridge-mocha-4/
```

***Get Node ID***

```bash
celestia p2p info --node.store ~/.celestia-bridge-mocha-4/
```

### *Delete bridge node* <a href="#delete" id="delete"></a>

```bash
sudo systemctl stop celestia-bridge
sudo systemctl disable celestia-bridge
sudo rm /etc/systemd/system/celestia-bridge*
rm -rf $HOME/celestia-node $HOME/.celestia-bridge-mocha-4
```
