Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 2.26 KB

README.md

File metadata and controls

48 lines (32 loc) · 2.26 KB

Prophet Core

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-core.git
cd prophet-core
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.
yarn coverage See forge coverage report.
yarn deploy Deploy the contracts to Optimism mainnet.
yarn deploy:local Deploy the contracts to a local fork.
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.