The Epoch Block Oracle (EBO) introduces the use of an optimistic oracle (Prophet), enabling any off-chain agent to interact with it by creating requests, proposing responses, or disputing responses in a permissionless manner. This document outlines a comprehensive implementation strategy for the agent responsible for automating all workflows associated with EBO. Within this document, you will find a detailed presentation of the high-level architecture, code design, process flows, technology stack, and project estimations.
- Background
- Install
- Usage
- Contributing
The EBO agent is an open-source tool designed to poll events from the relevant on-chain smart contracts on the Protocol chain (Arbitrum) and respond to these events with specific actions tailored to the flow requirements. Additionally, the agent will interface with blockchains supported by The Graph and perform block computations for each epoch as necessary. These computations are required for various scenarios, such as responding to a request, validating a proposal, and revalidating a proposal during a dispute.
flowchart LR;
A[EBO Agent] --> B[Arbitrum RPC];
B --> Oracle & EBORequestCreator & DataEdge;
subgraph block-beta:Chains [Indexed Chains]
C[Chain 1]
D[Chain ...]
E[Chain N]
end
subgraph block-beta:RPC [Data Providers]
F[RPC Nodes]
H[Substreams]
end
A --> block-beta:RPC
block-beta:RPC --> block-beta:Chains
$ pnpm install
$ pnpm start
$ pnpm test
Prophet was built with ❤️ by Wonderland.
Wonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.
DeFi sucks, but Wonderland is here to make it better.