> For the complete documentation index, see [llms.txt](https://docs.ravenode.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ravenode.xyz/testnet/hyperbridge/installation.md).

# Installation

Install dependencies

```
sudo apt install --assume-yes git clang curl libssl-dev llvm libudev-dev make protobuf-compiler
```

Install Rust Compiler

```

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

```

Install WebAssembly target

```
rustup update nightly
rustup target add wasm32-unknown-unknown 
```

Clone the repo

```
git clone https://github.com/polytope-labs/hyperbridge.git
cd ./hyperbidge
git checkout v0.3.5
```

Build the node&#x20;

```
cargo build --release -p hyperbridge
```

COMMMAND CREATE SYSTEMD

```
sudo tee /etc/systemd/system/hyperbridge.service > /dev/null <<EOF
[Unit]
Description="hyperbridge daemon node"
After=network-online.target

[Service]
User=$USER
Restart=on-failure
RestartSec=10
ExecStart=$HOME/hyperbridge/target/release/hyperbridge \
--base-path=$HOME/hyperbridge \
--pruning=archive \
--name="YOUR MONIKOR"  \
--rpc-cors=all \
--rpc-port=9944 \
--unsafe-rpc-external \
--rpc-methods=unsafe \
--chain=gargantua \
--no-mdns \
--listen-addr=/ip4/0.0.0.0/tcp/30333 \
--listen-addr=/ip6/::/tcp/30333 \
--public-addr=/ip4/your-node-ip-address/tcp/30333 \
--out-peers=32

[Install]
WantedBy=multi-user.target
EOF
```

run service

```
systemctl enable hyperbridge.service && \
systemctl start hyperbridge.service
```

check status

```
systemctl status hyperbridge.service
```

check log

```
journalctl -f -u hyperbridge.service
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ravenode.xyz/testnet/hyperbridge/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
