Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Data Oracles #388

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Feat: Data Oracles #388

wants to merge 2 commits into from

Conversation

TheMarstonConnell
Copy link
Member

@TheMarstonConnell TheMarstonConnell commented Dec 5, 2023

Part of #404

Data Oracles are a new way to access data directly on chain. This allows users/smart-contracts to request a specific chunk from a file on the network and for a "finders fee". Data-oracle relayers can then scan the chain for new requests and get the file from storage providers, upload the specific chunk to the network along with a proof just like a traditional storage provider. This then uploads the chunk of the file directly to the chain which can then be accessed by smart contracts or users without going off-chain. The "finders fee" functions as a marketplace model, so there are no guarantees the file chunk you want will be put on chain. If you are an app developer you can run a dedicated machine that will run for cheap with whitelisted wallets or files.

The digram below is a visual guide of what this system does:

image

The roadmap would include the ability to request data from providers, but also propose edits to files and have oracles commit those edits to the files directly on chain.

For updating data directly from the chain the workflow would look something like this:

image

@TheMarstonConnell TheMarstonConnell added the enhancement New feature or request label Dec 5, 2023
@TheMarstonConnell TheMarstonConnell self-assigned this Dec 5, 2023
@TheMarstonConnell TheMarstonConnell mentioned this pull request Dec 6, 2023
@TheMarstonConnell TheMarstonConnell mentioned this pull request Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant