# Installation

## Run Validator

In this step you're running a node validator on Goracle Mainnet, make sure you have enough ALGO to participate.

### Install Goracle Binary

First step to install goracle node mainnet is you need to download the binary.

{% code overflow="wrap" %}

```bash
cd $HOME
sudo wget goracle https://download.goracle.io/1.1.13/linux/goracle && sudo chmod u+x goracle
```

{% endcode %}

{% hint style="info" %}
Don't worry about no result after running that command.
{% endhint %}

### Setup Your Node

In this step you need to setup your node with all requirement needed to run goracle node. Make sure your Algorand Node is running with **same machine** Or if you're using Algonode/Purestake API, you can answer yes if you get the question about API service.

{% hint style="warning" %}
This tutorial is using own algorand node. Make sure your Algorand Node is fully synced.
{% endhint %}

If you want to run goracle node using own algorand node, you can do by the following command below.

{% code overflow="wrap" %}

```
./goracle init
```

{% endcode %}

* Continue? \[y/N]? **y**
* Use Algonode Algorand API service (recommended)? \[Y/n]? **n**
* Use a Purestake account for Algorand API service? \[y/N]? **n**
* Enter full Algorand node API URL (e.g. <http://example.com:4001>): **<http://127.0.0.1:8080>**

{% hint style="danger" %}
Don't forget to add **http\://** in the beginning of your server ip. example **<http://127.0.0.1:8080>** . Don't put the server like this **127.0.0.1:8080** . Make sure your port is same as from the **algod.net** output.
{% endhint %}

* Enter Algorand API auth token, or press enter for default: **yourtoken**

{% hint style="warning" %}
If you confuse how to get API URL and auth token, you can follow this link below.
{% endhint %}

{% content-ref url="/pages/oHt9jmDWGBvwUbk3oEJg" %}
[Find Server and Token](/mainnet/algorand/find-server-and-token.md)
{% endcontent-ref %}

* Enter your main Algorand account address: **yourmainaddress** (From validator dashboard)

Next step is register your participation address and you'll get the link after put your main address.

* Register your participation address and sign the transaction.
* After the transaction is done, now you back to the machine and press enter.
* Done your node account already setup and next step is run your goracle node.

### Run Goracle Node

Before run your goracle node, make sure your machine is already install the **docker.io**. *If not*, you can use this following command to install.

{% code overflow="wrap" %}

```bash
bash <(wget -qO- https://raw.githubusercontent.com/ttimmatti/dependencies/main/docker.sh)
```

{% endcode %}

After installation complete, next step is run your goracle node using docker.

<pre data-overflow="wrap"><code><strong>./goracle docker-start --background
</strong></code></pre>

Check your goracle node logs using this command.

{% code overflow="wrap" %}

```
docker logs -f goracle-nr
```

{% endcode %}

If your node setup correctly, you'll see the logs like this.

<figure><img src="/files/P0DLR5iHc4kNgdIqAzBV" alt=""><figcaption><p>Example picture from testnet</p></figcaption></figure>

Now your node is ready to vote in goracle node.


---

# 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://docs.strnan.top/mainnet/goracle/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.
