πŸ“¬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

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