# Onboard validator

Please Install Aut and Create Wallet.Key before next step.

## Install Autonity Client

```
mkdir autonity-client && cd autonity-client 

wget https://github.com/autonity/autonity/releases/download/v0.12.2/autonity-linux-amd64-0.12.2.tar.gz

tar -xzf autonity-linux-amd64-0.12.2.tar.gz

rm -rf autonity-linux-amd64-0.12.2.tar.gz

sudo cp -r autonity /usr/local/bin/autonity

autonity version

mkdir autonity-chaindata

cd  $HOME

your_ip="$(curl ifconfig.me)"
sudo tee /etc/systemd/system/autonityd.service > /dev/null << EOF
[Unit]
Description=Autonityd Node
After=network-online.target
StartLimitIntervalSec=0
[Service]
User=$USER
Restart=always
RestartSec=3
LimitNOFILE=65535
ExecStart=autonity \
    --datadir ${HOME}/autonity-client/autonity-chaindata  \
    --piccadilly  \
    --http  \
    --http.addr 0.0.0.0 \
    --http.api aut,eth,net,txpool,web3,admin  \
    --http.vhosts \* \
    --ws  \
    --ws.addr 0.0.0.0 \
    --ws.api aut,eth,net,txpool,web3,admin  \
    --nat extip:$your_ip

[Install]
WantedBy=multi-user.target
EOF

cd  $HOME
```

## Install Autonity Oracle

```
cd  $HOME

wget https://github.com/autonity/autonity-oracle/releases/download/v0.1.5/autonity-oracle.tgz

tar -xzf autonity-oracle.tgz

rm -rf autonity-oracle.tgz

cd autonity-oracle && sudo cp -r autoracle /usr/local/bin/autoracle

cd  $HOME

autoracle version
```

Please change flag <mark style="color:red;">**key.password="123\@123"**</mark> , It has create by step "Install Aut and Create Wallet.Key".

Change **123\@123**&#x20;

Edit and After run command.

```
sudo tee /etc/systemd/system/autoracled.service > /dev/null << EOF
[Unit]
Description=Autoracled Node
After=network-online.target
StartLimitIntervalSec=0
[Service]
User=$USER
Restart=always
RestartSec=3
LimitNOFILE=65535
ExecStart=autoracle \
    -key.file="${HOME}/piccadilly-keystore/wallet.key" \
    -key.password="123@123" \
    -ws="ws://127.0.0.1:8546" \
    -plugin.conf="${HOME}/autonity-oracle/plugins-conf.yml" \
    -plugin.dir="${HOME}/autonity-oracle/plugins/" \
  
[Install]
WantedBy=multi-user.target
EOF
```

Config oracle, register all site and get key api

[https://currencyfreaks.com](<https://currencyfreaks.com&#xD;&#xA;&#xA;>)

<https://openexchangerates.org>

[https://currencylayer.com](<https://currencylayer.com&#xA;>)

<https://www.exchangerate-api.com>[](<https://currencyfreaks.com&#xD;&#xA;&#xA;>)

```
nano ${HOME}/autonity-oracle/plugins-conf.yml
```

Config same bellow with your api

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

## Start Autonity Client and Oracle

Client

```
sudo systemctl daemon-reload
sudo systemctl enable autonityd
sudo systemctl restart autonityd
```

Oracle

```
sudo systemctl daemon-reload
sudo systemctl enable autoracled
sudo systemctl restart autoracled
```

## Check logs:

```
sudo journalctl -u autonityd -f -o cat
```

```
sudo journalctl -u autoracled -f -o cat
```

## Register as a Validator

How to register your node as a Validator on an Autonity network

<https://docs.autonity.org/validators/register-vali/>

Form: <https://game.autonity.org/round-4/node-tasks/onboard-validator/>


---

# 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.nodesync.top/testnet-running/autonity/onboard-validator.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.
