Please Install Aut and Create Wallet.Key before next step.
Install Autonity Client
Copy 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
Copy 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 key.password="123@123" , It has create by step "Install Aut and Create Wallet.Key".
Change 123@123
Edit and After run command.
Copy 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://openexchangerates.org
https://currencylayer.com
https://www.exchangerate-api.com
Copy nano ${HOME}/autonity-oracle/plugins-conf.yml
Config same bellow with your api
Start Autonity Client and Oracle
Client
Copy sudo systemctl daemon-reload
sudo systemctl enable autonityd
sudo systemctl restart autonityd
Oracle
Copy sudo systemctl daemon-reload
sudo systemctl enable autoracled
sudo systemctl restart autoracled
Check logs:
Copy sudo journalctl -u autonityd -f -o cat
Copy 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/
Last updated 9 months ago