D3lphi Oracle
On-chain price oracles on the Bitcoin Cash network, part of the Moria Protocol.
The D3lphi oracle is being developed as part of the Moria project, to serve as an on-chain oracle for the lending protocol.
The D3lphi oracle contracts allows for getting price information using transaction introspection. By taking a oracle utxo as input, transaction introspection can be used to fetch price information from the oracles NFT commitment.
flowchart LR
D3lphiInput --> DeFiTransaction--> D3lphiOutput
DefiContractIn --> DeFiTransaction --> DefiContractOut
Benefits of using an on-chain oracle in this manner include:
- No need to pass oracle and message as input and verify it.
- You do not need to query external sources for oracle messages.
- You can get the median price of multiple oracles as one input (see aggregated.cash).
- The oracle contract owner can swap out the underlying oracle if it goes offline.