# Allora Full Node (RPC)

### nstallation <a href="#installation" id="installation"></a>

Install dependencies, if needed

```bash
sudo apt update && sudo apt upgrade -y
sudo apt install git
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce jq python3-pip -y
```

Clone repository Allora:

```bash
git clone -b main https://github.com/allora-network/allora-chain.git
```

Sửa file docker-compose.yaml như hình:

<figure><img src="/files/RYVxbIZRrLo9RNpGreJf" alt=""><figcaption></figcaption></figure>

#### Run the Node with Docker Compose

```bash
cd $HOME
cd allora-chain
sudo docker-compose pull
sudo docker-compose up -d
```

#### Monitoring Logs

```
sudo docker-compose  logs -f
```

You can interact with the running node through RPC calls. For example, to check the node's status:

```
curl -s http://localhost:26657/status | jq .
```

Once your node has finished synching and is caught up with the network, this command will return `false`:

```
curl -so- http\://localhost:26657/status | jq .result.sync_info.catching_up
```


---

# Agent Instructions: 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://services.dongqn.com/allora-full-node-rpc.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.
