With around a billion dollars sitting in decentralized finance (DeFi) apps and protocols, Coinbase has started to provide a data feed for cryptocurrency prices to help keep those funds secure.
Available from Thursday, the San Francisco crypto exchange said the feed, or oracle, provides data from Coinbase Pro on the exchange rates for both bitcoin and ether against the U.S. dollar. It is further signed with Coinbaseâs private key, meaning that when shared across third party services and protocols, the data can always be verified as being from the exchange.
Coinbase Oracle can be pulled in by blockchain networks and, once there, can be married with other data feeds for use by in DeFi projects to carry out functions such as lending, margin trading, collateral liquidations and derivatives, Coinbase said in a blog post.
The new offering is aimed at helping counter the dangers encountered when DeFi protocols using off-chain third-party data, which requires trust the prices being provided are accurate. The firm also points to the risks of using data from decentralized exchanges. That has already led to new kinds of attacks, such as those that hit ethereum-based lending project BZX in February when bad actors manipulated price feeds to make off with around $1 million in ether.
See also: Everything You Ever Wanted to Know About the DeFi âFlash Loanâ Attack
âA highly reliable price feed anchored into Coinbaseâs secure infrastructure can help make the DeFi ecosystem safer, reduce systemic risks and unlock the next wave of growth and adoption,â according to the post.
The oracle is being supported by the same secure key storage infrastructure that supports Coinbaseâs exchange operations, storing billions in user funds. It further offers protection against manipulation of prices by exchanges or invalid data.
Last year, Bitwise Asset Management issued a report claiming 95 percent of all reported bitcoin trading volume is faked. In such a market, reliable sources of price data are essential for automated protocols that hold sway over usersâ funds.
âCoinbase Oracle will increase the security and decentralization of Compoundâs price feed, which is mission-critical to the protocol and the ecosystem of applications built on top of Compound,â said Robert Leshner, CEO at Compound, provider of an autonomous, algorithmic interest rate protocol for financial apps. âWeâre not alone â the rest of DeFi will benefit with faster development, consistent data, and shared standards.â
See also: Crypto Lender Celsius Taps Chainlinkâs Price Oracles for Interest Rate âDecentralizationâ
In the blog post, Coinbase delved a little into the technical side of the new oracle, saying it is provided via an API compatible with Open Oracle â an open-source set of Ethereum smart contracts originally developed by Compound to help standardize and increase interoperability between different sources of oracle price data.
Projects using Open Oracle are able to select the included feeds they want included in the calculation of an average price returned by the oracle contract.
To help ensure this median is accurate, Coinbase designed its feed to have three âlayersâ of protection, including data quality arising from Coinbase Proâs high liquidity platform, an off-chain filter that blocks crypto asset price data points that significantly deviates from the expected volatility, and on-chain filtering via Open Oracleâs DelFiPrice smart contract. The latter again rejects price data points that significantly deviate from the last reported price from so-called âanchor sources.â
See also: Exchange Volumes May Be Fake, But Bitcoinâs Value Is Real
âPrice oracles are used in every lending and derivatives protocol,â said Antonio Juliano, CEO of dYdX, a decentralized margin trading exchange. âCoinbase is uniquely positioned to provide oracle prices as theyâre the most trusted and secure institution in the space.â
Using Coinbase Oracle data could facilitate the creation of âmore decentralized and secure price oracles for the ecosystem,â he added.