Skip to content

defi-wonderland/prophet-modules

Repository files navigation

Prophet Modules

Version License: MIT

⚠️ The code has not been audited yet, tread with caution.

Overview

Prophet presents a versatile and fully adaptable optimistic oracle solution, transcending the boundaries of conventional dispute resolution modules. With its emphasis on complete control and modularity across all aspects of the system, Prophet is an open-source public good for the Optimism community.

Setup

This project uses Foundry. To build it locally, run:

git clone [email protected]:defi-wonderland/prophet-modules.git
cd
yarn install
yarn build

Available Commands

Make sure to set OPTIMISM_RPC environment variable before running end-to-end tests.

Yarn Command Description
yarn build Compile all contracts and export them as a node package.
yarn docs:build Generate documentation with forge doc.
yarn docs:run Start the documentation server.
yarn test Run all unit and integration tests.
yarn test:unit Run unit tests.
yarn test:integration Run integration tests.
yarn test:gas Run all unit and integration tests, and make a gas report.

Licensing

The primary license for Prophet contracts is MIT, see LICENSE.

Contributors

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.

Releases

No releases published

Languages