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

ExEx Oracle Full Example #20

Open
1 of 2 tasks
loocapro opened this issue Sep 6, 2024 · 0 comments
Open
1 of 2 tasks

ExEx Oracle Full Example #20

loocapro opened this issue Sep 6, 2024 · 0 comments
Labels
example New example

Comments

@loocapro
Copy link
Contributor

loocapro commented Sep 6, 2024

A simple (optional: stake weighted) oracle protocol operates in the following phases:

  1. Observe data from off-chain source
  2. Attest to that data by signing on it
  3. Broadcast the signed payload to its peers -- this can happen either on a fixed interval basis, or triggered as a response to an external action e.g. an onchian event being emitted as a result of the "request / callback" pattern, frequently seen in ChainLink or Axiom-style contracts
  4. Track signatures
  5. Once it hits quorum of signatures, send it out either directly to the place where the data will trigger an action (i.e. it handles also being a "keeper", e.g. submitting the signed oracle 2-of-3 multisig data to a smart contract's callback function, or even archiving it to blobs) or it proceeds to expose it over an (optionally authenticated) API to a user querying it, for self-relaying.

Originally posted by @gakonst in #18 (comment)

Tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example New example
Projects
None yet
Development

No branches or pull requests

2 participants