Network
Cosmos
Initia
Oracle

Installation

git clone https://github.com/skip-mev/slinky.git
mv slinky $HOME/.initia/
cd $HOME/.initia/slinky
 
# checkout proper version
git checkout v0.4.3
 
#build the binary
make build
 
#change the port to the appropriate ones
sed .i-bak "s|:9090|:${INITIA_PORT}090|g" $HOME/.initia/slinky/config/core/oracle.json
 
 
# Run them using service
sudo tee /etc/systemd/system/slinky-oracle.service > /dev/null <<EOF
[Unit]
Description=Slinky oracle Service
After=network.target
 
[Service]
User=$USER
ExecStart=$HOME/.initia/slinky/build/slinky --oracle-config-path $HOME/.initia/slinky/config/core/oracle.json --market-map-endpoint 0.0.0.0:29090
Restart=on-failure
RestartSec=10
StandardOutput=journal
StandardError=journal
 
[Install]
WantedBy=multi-user.target
EOF
 
#enable $ start the service
sudo systemctl enable --now slinky-oracle.service

After Installation executed sucessfully, You can check the logs of slinky-oracle

check logs
sudo journalctl -f -u slinky-oracle.service