π¬Oracle
cd
git clone https://github.com/autonity/autonity-oracle && cd autonity-oracle
git fetch --all
git checkout v0.2.5
make autoracle
mv build/bin/autoracle /usr/local/bin
autoracle version
#v0.2.5
Let's edit the config, in which we will write the necessary directories, the password from the wallet and, most importantly, the plugins
nano $HOME/autonity-oracle/build/bin/oracle_config.yml
In oracle_config.yml you need to uncomment the lower lines, register using the links, get the API keys and add them below
Webs:
Create a service file
tee <<EOF >/dev/null /etc/systemd/system/antoracle.service
[Unit]
Description=Autonity Oracle Server
After=syslog.target network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/autoracle /root/autonity-oracle/build/bin/oracle_config.yml
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable antoracle
systemctl restart antoracle && journalctl -u antoracle -f -o cat
Last updated