Skip to content

Feat: Data Oracles#388

Draft
TheMarstonConnell wants to merge 2 commits intomasterfrom
marston/data-oracles
Draft

Feat: Data Oracles#388
TheMarstonConnell wants to merge 2 commits intomasterfrom
marston/data-oracles

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