Composition of existing oracles

Open
#4 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
solidity
Domain
blockchain

Research direction

Start by reading the existing OrbOracle price-feed contracts and their on-chain interfaces. Determine how two existing feeds can be combined for multiplication and division, and how a derived feed should be created automatically. Done means users can form pairs such as ETH/INR and ETH/ETC without submitting new values or deploying a separate feed.

Written by the indexing model from the issue text.

Description

Currently, OrbOracle supports multiple existing oracles (price feeds) like ETH/USD or USD/INR. However, if a user wants to create a new oracle pair (for example, ETH/INR), they must manually submit new values or deploy a separate feed which is inefficient and repetitive.

Enable oracle composition allowing users to create new oracle pairs by combining existing ones.

Suppose the OrbOracle system already includes:

  1. ETH/USD oracle
  2. USD/INR oracle

A user should be able to compose these two to form a new derived oracle:

ETH/INR = (ETH/USD) × (USD/INR)
ETH/ETC = (ETH/USD) / (ETC/USD)

This composition should create a new oracle feed (ETH/INR) automatically, backed by the on-chain logic of the two existing oracles eliminating the need for direct data submissions.

Dominant language
Solidity
Stars
3
Forks
3
Avg merge
15h 55m
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from StabilityNexus/OrbOracle-Solidity

All issues in StabilityNexus/OrbOracle-Solidity

Similar issues

More Blockchain issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.