Oracles are the backbone of a decentralized financial system. It connects off-chain data with the on-chain world. Normally, ETH has no info about the current market price. During a swap order in a decentralized exchange, a swap contract needs to call the data from various data sources to obtain market price. Thus, oracles are the messengers of the crypto ecosystem. Not only in atomic swaps but also in more complex interactions such as lending/borrowing assets or dynamic market-making need the data feeds provided by oracles. DeFi ecosystem suffered from Flash Loan attacks, caused by misinformation from centralized price oracles.
Ergo developed Oracle Pools to maintain a robust DeFi ecosystem. Because of the eUTXO design and its rich programming language, ErgoScript, oracle networks can be more decentralized. In the extended UTXO model, we have a lot of flexibility and power available to build new protocols. This can be utilized to construct oracle datapoint hierarchies of confidence. In short, they are an abstraction above oracle pools which allows us to scale the benefits of oracle pools as much as we desire, at the cost of price and speed. ERG/USD oracle pool is running on Ergo Blockchain.
When external oracle data is posted on-chain, it needs to be encoded in a very precise way within a transaction. Furthermore, oracle pools have a bunch of different moving parts which require transactions to be issued to move between the different stages of the pool protocol. Oracle Core creates all of the complex transactions which post the data on-chain & run the oracle pool protocol on-chain (such as averaging data points). This comes bundled with Oracle Pool Bootstrap and a Connector Library. The ada-usd-oracle source can be seen here. See this overview by Robert Kornacki.
Oracle Pools V2#
- eth/usd connector
- Ergo oracles | simple command-line tool to launch oracles. Inbuilt implementations for USD/ERG, EUR/ERG, BTC/ERG, AUG/ERG (gold) prices delivery.
- See also a forum topic with example
- Chainlink Oracles vs. Ergo Oracle Pools
- Oracle Pools - A New Oracle Model
- First steps towards interoperability with Cardano oracles
- Ergo Blockchain: Oracle Pool Governance Update
- The role of Ergo Oracles
The Delphi Project (Inactive)#
The Delphi Project aims to help anyone explore, run, and launch decentralized oracles on the Ergo blockchain.