Flux docs
Search…
⌃K

First Party Oracle

Get started with data on chain
Flux has stopped supporting the First Party Oracle solution. Protocols are welcome to connect to our existing feeds at their own risk, but we will not deploy any new feeds to the FPO on their behalf.
The FPO is an open source tool through which data providers can directly push their data on chain using our proprietary Provider Node. Data Providers use their own sources and aggregation functions to collect their data, prepare it for use, and deploy it on chain. With the FPO, the data feed reliability, quality, and provision is in the hands of the provider, absolving us or any other party of the ability to manipulate the data en-route. The data is as reliable as their sources, and the provider's reputation is on the line if something were to go wrong.
For the protocol using the feeds, the first party oracle is as decentralized as they would like it to be. Protocols are recommended to aggregate prices from multiple data providers in order to reduce the risk of attack on a particular source, but are inevitably responsible for the security of their own protocol and safety of their users' funds.
The FPO is currently subsidized until January 1st, 2023 by Flux Protocol to give new protocols the ability to bootstrap reliable, high quality data streams from some of the biggest data providers in DeFi. The costs associated with querying this data is subject to change and will be configured by each data provider.
First Party Oracle Data Flow Chart

How It Works

  1. 1.
    The Data Provider already has API endpoints / source[s] for getting their data
  2. 2.
    They deploy the Provider Node to their servers
  3. 3.
    The Provider Node periodically calls the endpoints & collects the data at the desired source path within the endpoint
  4. 4.
    If the data was retrieved without error, the Provider Node calls the FPO contract and posts the data to the intended destination on chain
  5. 5.
    End users / protocols query the contracts, via cross contract call or CLI, and can use the resulting data as they like!

Getting Started

Set up your own protocol to get price feeds, or provide the data yourself!
For Requesting Data
For Providing Data
Do you have a protocol on Near, Aurora or Evmos and need top token feeds? Click above to get started!
Do you need a feed that hasn't already been deployed? Click above to figure out how to get the data you need to your protocol!