Oracle Setup
Compiling binary programs
cd $HOME
git clone https://github.com/skip-mev/slinky.git && cd slinky
git checkout v0.4.3
make buildAdd the program to the systemd daemon
cat > /etc/systemd/system/slinkyd.service <<EOF
[Unit]
Description=slinky
After=network-online.target
[Service]
User=$USER
WorkingDirectory=$HOME/slinky
ExecStart=$HOME/slinky/build/slinky --oracle-config-path ./config/core/oracle.json --market-map-endpoint 0.0.0.0:9090
StandardOutput=syslog
StandardError=syslog
Restart=always
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOFAdd the auto-start and start it
Modify the validator configuration to enable the oracle
Restart the validator to make the new configuration file take effect
Check if the oracle is normal


Last updated