githubEdit

Setup Oracle

circle-info

this guide only for validator nodes and selected for phase 3

Official documentation: https://docs.initia.xyz/run-initia-node/running-initia-node/oraclearrow-up-right

Clone The Repository and Build binaries

#clone repository
cd $HOME
rm -rf slinky
git clone https://github.com/skip-mev/slinky.git
cd slinky
git checkout v0.4.3

#build binaries
make build

#move binaries to local bin
mv build/slinky /usr/local/bin/
rm -rf build

Create Systemd Service

circle-info

please change port on --market-map-endpoint 0.0.0.0:12090 with your own port , in this case i use port 12

Enabled and start the service

Validating Prices

Upon launching the oracle, you should observe successful price retrieval from the provider sources. Additionally, you have the option to execute the test client script available in the Slinky repository by using the command:

Enable Oracle Vote Extensions

to utilizing the Slinky oracle data in the Initia node, the Oracle setting should be enabled in the config/app.toml file.

Check the systemd logs

succesfully logs is like this :

Last updated