Actions

Market & data feeds: Difference between revisions

From Chainlink Community Wiki

No edit summary
No edit summary
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{:Box-round|title= Quick take: Market & data feeds|1=
{{:Box-round|title= Quick take: Market & Data Feeds|1=


<table><tr>
<table><tr>
Line 7: Line 7:
</td><td style="background-color:#f6f6f6;" >
</td><td style="background-color:#f6f6f6;" >


<big>'''ONE LINER GOES HERE'''</big>
<big>'''Secure, Aggregated Market Data'''</big>
<br>
<br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Chainlink market and data feeds are decentralized [[Oracles|oracle networks]] that provide aggregated financial market data. These purpose-built price feeds provide broad market coverage across a wide array of assets.
</td></tr></table>
</td></tr></table>
}}
}}
__TOC__
__TOC__
<h2>Supported chains</h2>
<h2>Supported chains</h2>
{| style="table-layout: fixed; width: 280px"
|-
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:EthereumLogo.png|center|frameless|40x40px | link=Ethereum]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:PolygonLogo.png|center|frameless|40x40px | link=Polygon]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:BinanceSmartChainLogo.png|center|frameless|40x40px | link=Binance_smart_chain]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:GnosisXDaiLogo.png|center|frameless|40x40px | link=Gnosis]]
|-
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:HuobiEcoChainLogo.png|center|frameless|40x40px | link=Huobi_ECO]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:AvalanceLogo.png|center|frameless|40x40px | link=Avalanche]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:Arbitrum_Logo.png|center|frameless|40x40px | link=Arbitrum]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:FantomLogo.png|center|frameless|40x40px | link=Fantom]]
|-
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:OptimismLogo.png|center|frameless|40x40px | link=Optimism]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:MoonRiverLogo.png|center|frameless|40x40px | link=Moonriver]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:HarmonyLogo.png|center|frameless|40x40px | link=Harmony]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:SolanaLogo.png|center|frameless|40x40px | link=Solana]]
|-
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:Moonbeam.png|center|frameless|40x40px | link=Moonbeam]]
| style="text-align:center; width: 70px; border-style: solid; border-width: 3px; background-color:#F0F6F9; color:#ffffff; | [[File:MetisLogo.png|center|frameless|40x40px | link=Metis]]
|-
|}
{{:Box_round_light_blue_help_wanted}}
<h2>In depth</h2>
<h2>In depth</h2>
<Br>
The history of Chainlinks market and data feeds can be broken out into specific contract-based milestones. The first contract iteration, Runlog ran its first Ethereum mainnet job on May 29, 2019.  Runlog was followed by Flux monitors, the first of which was deployed on August 06, 2020. Nine months later, (06 May 21), saw the deployment of the latest iteration of Chainlinks market and data feed contracts, the OCR (Offchain reporting) contracts.
<h2>Release info</h2>
 
Runlog
:# <big>[[direct request|Direct Request / Runlog (DR)]]</big>
FluxMonitor
:# <big>[[flux monitor|Flux Monitor (FM)]]</big>
OCR
:# <big>[[offchain reporting|Offchain Reporting]] (OCR)</big><br>OCR is the third and latest version of the Chainlink Core client run by Chainlink nodes and its release marked a major milestone in the scalability of Chainlink’s decentralized oracle networks. OCR boasts significant differences and improvements from the previous versions of the aggregator contracts. Most notably, the OCR protocol allows nodes to aggregate their observations into a single report off-chain using a secure P2P network. A single node then submits a transaction with the aggregated report to the chain. Each report consists of many nodes' observations and has to be signed by a quorum of nodes. These signatures are then verified on-chain.
<Br>
:# <big>??? (what could be next)</big>
<h2>Use cases</h2>
 
<Br>
Chainlink Price Feeds are [[Glossary#On-Chain|on-chain]] reference contracts that are automatically updated by [[Glossary#DONs|decentralized oracle networks]] (DONs) consisting of Chainlink nodes. Each reference contract stores the latest and the historical price of an asset in the form of an exchange rate (e.g. BTC/USD), which smart contracts can then query on-demand. Each Chainlink Price Feed runs on a specific blockchain network and regularly updates with fresh data based on predefined parameters. <ref>https://blog.chain.link/chainlink-price-feeds-secure-defi/</ref>
 
* '''Deviation threshold''' - A new data aggregation round starts when a Chainlink node identifies that an off-chain data value deviates by more than the defined deviation threshold from its on-chain value.
* '''Heartbeat threshold''' - A new data aggregation round starts after a specified amount of time from the last update. If the deviation threshold is not reached within the time of the heartbeat, the feed will be updated. <ref>https://blog.chain.link/dex-decentralized-exchange/</ref>
 
<h2>Example Use Cases</h2>
 
* [https://blog.angle.money/angle-protocol-integrates-chainlink-price-feeds-to-help-secure-borrowing-on-its-240caed4f73b Angle Protocol] - Ensuring collateralization ratios, liquidations, and fees are calculated using accurate price data.
* [https://medium.com/@OvertimeMarkets.xyz/overtime-markets-integrates-chainlink-oracles-to-leverage-high-quality-sports-data-c455be45cf88 Overtime] - Providing access to high-quality sports data needed to provide real-time on-chain odds and results to resolve sport markets.
* [https://chain.link/case-studies/qidao QiDao] - Used to help open, close, and liquidate loans on the QiDao platform.
* [https://chain.link/case-studies/wepiggy WePiggy] - Price data used to open, close, and liquidate loans and help ensure protocol solvency.
 
* Provide broad market coverage across a wide array of assets including cryptocurrencies, commodities, forex, indices, and more.
* DEX protocols can use Chainlink Price Feeds for reliable price conversions, accurate display prices on a frontend, or the secure calculation of staking rewards and fee distributions to stakeholders.
* Help ensure the security and accuracy of price monitoring and financial analysis infrastructure. <ref>https://blog.chain.link/dex-decentralized-exchange/</ref>
* Help create and manage arbitrage strategies between different decentralized exchanges. <ref>https://blog.chain.link/dex-decentralized-exchange/</ref>
 
<h2>Relevant quotes</h2>
<h2>Relevant quotes</h2>
<br>
<br>
<h2>Timeline</h2>
<h2>Timeline</h2>
<big>'''2022'''</big>
* '''03 Aug 22.''' Chainlink price feeds go live on [[Metis]].  Read the full announcement [https://metisdao.medium.com/chainlink-price-feeds-are-now-live-on-metis-helping-provide-our-defi-ecosystem-with-high-quality-6bb6de14a558 HERE].
----
* '''15 Jun 22.''' Chainlink price feeds go live on [[Moonbeam]]. Read the full announcement [https://moonbeam.network/announcements/chainlink-price-feeds-live-on-moonbeam/ HERE].
----
* '''04 Jun 22.''' Chainlink launches price feeds on [[Solana]] mainnet. This is the first native integration on a non-EVM chain. Read the full announcement [https://www.prnewswire.com/news-releases/chainlink-price-feeds-go-live-on-solana-mainnet-301560626.html HERE].
----
<big>'''2021'''</big>
* '''14 Dec 21.''' Market & data feeds go live on [[Harmony]] mainnet. Read the announcement [https://medium.com/harmony-one/chainlink-price-feeds-running-live-on-harmony-mainnet-empowering-developers-building-defi-apps-4ddcd2208af9 HERE].
* '''14 Dec 21.''' Market & data feeds go live on [[Harmony]] mainnet. Read the announcement [https://medium.com/harmony-one/chainlink-price-feeds-running-live-on-harmony-mainnet-empowering-developers-building-defi-apps-4ddcd2208af9 HERE].
----
----
Line 34: Line 80:
* '''18 Aug 21.''' Market & data feeds go live on [[Fantom]] mainnet.  Read the announcement [https://fantom.foundation/blog/chainlink-price-feeds-are-live-on-fantom/ HERE].
* '''18 Aug 21.''' Market & data feeds go live on [[Fantom]] mainnet.  Read the announcement [https://fantom.foundation/blog/chainlink-price-feeds-are-live-on-fantom/ HERE].
----
----
* '''12 Aug 21.''' Chainlink oracles ([[Market & data feeds]]) go Live on Arbitrum One . Read the official Offchain labs announcement [https://www.prnewswire.com/news-releases/chainlink-oracles-now-running-live-on-arbitrum-one-301354380.html HERE].
* '''12 Aug 21.''' Chainlink oracles ([[Market & data feeds]]) go Live on [[Arbitrum]] One . Read the official Offchain labs announcement [https://www.prnewswire.com/news-releases/chainlink-oracles-now-running-live-on-arbitrum-one-301354380.html HERE].
----
* '''21 Jul 21''' Chainlink price feeds launch on [[Avalanche]] mainnet.  Read the official Avalanche labs announcement [https://medium.com/avalancheavax/chainlink-price-feeds-are-live-on-avalanche-mainnet-paving-wave-for-advanced-defi-apps-6c4f0dfac565 HERE].
----
----
* '''09 Mar 21.''' Market and data feeds go live on [[Huobi ECO|HECO chain]] mainnet. Read the announcement [https://medium.com/heco-chain/chainlink-price-feeds-now-live-on-heco-chain-mainnet-2fbd56d48a65 HERE].
* '''09 Mar 21.''' Market and data feeds go live on [[Huobi ECO|HECO chain]] mainnet. Read the announcement [https://medium.com/heco-chain/chainlink-price-feeds-now-live-on-heco-chain-mainnet-2fbd56d48a65 HERE].
Line 40: Line 88:
* '''04 Mar 21.''' Market & data feeds go live on [[Gnosis|Gnosis/xDai]] mainnet.  Read the announcement [https://www.xdaichain.com/about-gc/project-spotlights/chainlink/price-feeds#:~:text=%22The%20launch%20of%20Chainlink%20Price,xDai%20use%20Chainlink%20Price%20Feeds. HERE].
* '''04 Mar 21.''' Market & data feeds go live on [[Gnosis|Gnosis/xDai]] mainnet.  Read the announcement [https://www.xdaichain.com/about-gc/project-spotlights/chainlink/price-feeds#:~:text=%22The%20launch%20of%20Chainlink%20Price,xDai%20use%20Chainlink%20Price%20Feeds. HERE].
----
----
<big>'''2020'''</big>
* '''10 Dec 20.''' [[Binance smart chain|Binance Smart Chain]] integrates Chainlink's decentralized oracle network on its mainnet.  Read the announcement [https://www.binance.com/en/blog/chain/new-on-binance-smart-chain-chainlink-oracles-421499824684901349 HERE].
* '''10 Dec 20.''' [[Binance smart chain|Binance Smart Chain]] integrates Chainlink's decentralized oracle network on its mainnet.  Read the announcement [https://www.binance.com/en/blog/chain/new-on-binance-smart-chain-chainlink-oracles-421499824684901349 HERE].
----
----
* '''19 Nov 20.''' [[Polygon|Matic/Polygon]] announces the launch of 5 Chainlink price feeds on mainnet. Read the full announcement [https://cointelegraph.com/news/matic-becomes-the-first-outside-ethereum-to-launch-native-chainlink-feeds HERE].
* '''19 Nov 20.''' [[Polygon|Matic/Polygon]] announces the launch of 5 Chainlink price feeds on mainnet. Read the full announcement [https://cointelegraph.com/news/matic-becomes-the-first-outside-ethereum-to-launch-native-chainlink-feeds HERE].
----
<big>'''2019'''</big>
* '''07 Sep 19.''' Chainlink announces the launch of 7 new crypto price reference data sets on [[Ethereum]]. Read the announcement [https://twitter.com/chainlink/status/1172066418394898432 HERE].
----
----
* '''30 May 19.''' [[Ethereum]] Mainnet Launch.  Chainlink on Ethereum mainnet released. Read the announcement [https://blog.chain.link/chainlink-connected-consensus-on-ethereum/ HERE].
* '''30 May 19.''' [[Ethereum]] Mainnet Launch.  Chainlink on Ethereum mainnet released. Read the announcement [https://blog.chain.link/chainlink-connected-consensus-on-ethereum/ HERE].

Latest revision as of 06:13, 4 August 2022

Quick take: Market & Data Feeds

Chainlink feeds.png

Secure, Aggregated Market Data
Chainlink market and data feeds are decentralized oracle networks that provide aggregated financial market data. These purpose-built price feeds provide broad market coverage across a wide array of assets.

Supported chains

EthereumLogo.png
PolygonLogo.png
BinanceSmartChainLogo.png
GnosisXDaiLogo.png
HuobiEcoChainLogo.png
AvalanceLogo.png
Arbitrum Logo.png
FantomLogo.png
OptimismLogo.png
MoonRiverLogo.png
HarmonyLogo.png
SolanaLogo.png
Moonbeam.png
MetisLogo.png

This Article Needs Your Help!

HELP WANTED.png

Would you like to help improve this article? For more information on how to get started, click HERE.

But first, make sure to check each article's subject-specific discussion page.

Discussion pages are Wiki administration pages used for communicating with other editors/contributors. Discussion pages are specifically used to coordinate improvements to each wiki article.
Talk pages can be accessed by clicking the "discussion" tab from within the actions menu.

In depth

The history of Chainlinks market and data feeds can be broken out into specific contract-based milestones. The first contract iteration, Runlog ran its first Ethereum mainnet job on May 29, 2019. Runlog was followed by Flux monitors, the first of which was deployed on August 06, 2020. Nine months later, (06 May 21), saw the deployment of the latest iteration of Chainlinks market and data feed contracts, the OCR (Offchain reporting) contracts.

  1. Direct Request / Runlog (DR)
  2. Flux Monitor (FM)
  3. Offchain Reporting (OCR)
    OCR is the third and latest version of the Chainlink Core client run by Chainlink nodes and its release marked a major milestone in the scalability of Chainlink’s decentralized oracle networks. OCR boasts significant differences and improvements from the previous versions of the aggregator contracts. Most notably, the OCR protocol allows nodes to aggregate their observations into a single report off-chain using a secure P2P network. A single node then submits a transaction with the aggregated report to the chain. Each report consists of many nodes' observations and has to be signed by a quorum of nodes. These signatures are then verified on-chain.
  4. ??? (what could be next)

Chainlink Price Feeds are on-chain reference contracts that are automatically updated by decentralized oracle networks (DONs) consisting of Chainlink nodes. Each reference contract stores the latest and the historical price of an asset in the form of an exchange rate (e.g. BTC/USD), which smart contracts can then query on-demand. Each Chainlink Price Feed runs on a specific blockchain network and regularly updates with fresh data based on predefined parameters. [1]

  • Deviation threshold - A new data aggregation round starts when a Chainlink node identifies that an off-chain data value deviates by more than the defined deviation threshold from its on-chain value.
  • Heartbeat threshold - A new data aggregation round starts after a specified amount of time from the last update. If the deviation threshold is not reached within the time of the heartbeat, the feed will be updated. [2]

Example Use Cases

  • Angle Protocol - Ensuring collateralization ratios, liquidations, and fees are calculated using accurate price data.
  • Overtime - Providing access to high-quality sports data needed to provide real-time on-chain odds and results to resolve sport markets.
  • QiDao - Used to help open, close, and liquidate loans on the QiDao platform.
  • WePiggy - Price data used to open, close, and liquidate loans and help ensure protocol solvency.
  • Provide broad market coverage across a wide array of assets including cryptocurrencies, commodities, forex, indices, and more.
  • DEX protocols can use Chainlink Price Feeds for reliable price conversions, accurate display prices on a frontend, or the secure calculation of staking rewards and fee distributions to stakeholders.
  • Help ensure the security and accuracy of price monitoring and financial analysis infrastructure. [3]
  • Help create and manage arbitrage strategies between different decentralized exchanges. [4]

Relevant quotes


Timeline

2022

  • 03 Aug 22. Chainlink price feeds go live on Metis. Read the full announcement HERE.

  • 15 Jun 22. Chainlink price feeds go live on Moonbeam. Read the full announcement HERE.

  • 04 Jun 22. Chainlink launches price feeds on Solana mainnet. This is the first native integration on a non-EVM chain. Read the full announcement HERE.

2021

  • 14 Dec 21. Market & data feeds go live on Harmony mainnet. Read the announcement HERE.

  • 01 Dec 21. Moonbeam, announces the native integration of Chainlink price feeds on Moonriver. Read the announcement HERE.

  • 01 Sep 21. Market and data feeds go live on the Optimism mainnet. Read the announcement HERE.

  • 18 Aug 21. Market & data feeds go live on Fantom mainnet. Read the announcement HERE.


  • 21 Jul 21 Chainlink price feeds launch on Avalanche mainnet. Read the official Avalanche labs announcement HERE.

  • 09 Mar 21. Market and data feeds go live on HECO chain mainnet. Read the announcement HERE.

  • 04 Mar 21. Market & data feeds go live on Gnosis/xDai mainnet. Read the announcement HERE.

2020

  • 10 Dec 20. Binance Smart Chain integrates Chainlink's decentralized oracle network on its mainnet. Read the announcement HERE.

  • 19 Nov 20. Matic/Polygon announces the launch of 5 Chainlink price feeds on mainnet. Read the full announcement HERE.

2019

  • 07 Sep 19. Chainlink announces the launch of 7 new crypto price reference data sets on Ethereum. Read the announcement HERE.

  • 30 May 19. Ethereum Mainnet Launch. Chainlink on Ethereum mainnet released. Read the announcement HERE.

  • 14 May 19. Sergey Nazarov announces at Consensus 2019 that Chainlink for Ethereum Mainnet is launching May 30th. Watch the announcement HERE.

Market & data feed resources

Effective resource lists encourage wider reading and provide a more in-depth understanding of a topic.


Our goal with the Wiki resource lists is to create authoritative archives for readings and other resources pertaining to specific topics.
As such, the Wiki aims to keep all resource lists current, consistent, accurate and clear.

However, if users feel there are omissions, please contact the site admin with details of resources they feel should be added, making sure to include links, a brief description, and the importance of said resource.

Timeline

Date Media Author Title
30 May 19 Article Chainlink Chainlink: Connected Consensus on Ethereum
14 May 19 Video Sergey Nazarov Chainlink for Ethereum Mainnet Announcement at Consensus 2019

Educational

Date Media Author Title
N/A Official Docs Chainlink Homepage: Data Feeds
N/A Official Docs Chainlink Introduction to Data Feeds
N/A Official Docs Chainlink Ethereum data feed addresses
N/A Infrastructure Linkpool Chainlink Market: Explore all the data Chainlink makes available
N/A Infrastructure Chainlink Chainlink Data Feeds: Explore the decentralized oracle networks powered by Chainlink
11 Oct 22 Video Chainlink Chainlink Price Feeds Simplified | Chainlink Explained
08 Oct 22 Video Chainlink Looking Under the Hood of OCR 2.0: Product Deep Dive | Lorenz Breidenbach at SmartCon 2022
28 Aug 22 Article Chainlink How To Obtain Historical Cryptocurrency Price Data Using Chainlink Price Feeds
27 Apr 22 Article Chainlink How Chainlink Price Feeds Secure the DeFi Ecosystem
XX Mar 22 Article Chainlink The Ultimate Guide to Blockchain Oracle Security
31 Dec 20 Article Chainlink The 3 Levels of Data Aggregation in Chainlink Price Feeds
17 Sep 20 Video Chainlink Chainlink Price Feeds | Chainlink Engineering Tutorials
31 Jul 20 Article Chainlink Data Quality for DeFi Smart Contracts