-
Notifications
You must be signed in to change notification settings - Fork 25
5. Oracle
Oracles provide pricing information for assets trading on LaminarChain. An Oracle Membership
is set up to whitelist trusted oracle operators to provide price feeds. Anyone can set up an oracle server to provide price feeds to the system, but at this stage of the governance process, the server will need to be added to the Oracle Membership
by sudo account and later be replaced by council voting.
Due to the criticality of sound oracles, we are taking a phased approach to decentralize our oracle system, and starting with a Proof-of-Authority type of oracle setup during bootstrap. We are watching closely the governance standards and technical progression in the space, and will gradually improve this. More details see
Below are simple guidelines for
- Check Membership
- Set Up an Oracle Server
- Request for Membership
The default oracle server we are using is open-sourced here. Follow the instructions there to set up the environment variable, build and start the server.
-
SUB_KEY_SEED
: is the hex raw seed of your oracle server account. Make sure it has enough LAMI for transaction fees. -
SUB_ENDPOINT
: testnetwss://testnet-node-1.laminar-chain.laminar.one/ws
-
PRICE_FEED_INTERVAL_MS
: price feed interval in milliseconds -
FEED_LAMINAR
: astrue
Membership is by invitation only. If you would like to become an oracle provider, please submit your interest here