Skip to content

defi-wonderland/prophet-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3e1078a · Nov 26, 2024
Nov 14, 2024
Sep 30, 2024
Nov 15, 2024
Apr 27, 2023
Apr 27, 2023
Aug 17, 2023
Apr 27, 2023
Sep 28, 2023
Sep 22, 2023
Sep 28, 2023
May 30, 2023
Nov 26, 2024
Apr 27, 2023
Sep 24, 2024
Mar 13, 2024
Sep 30, 2024
Aug 10, 2023
Sep 30, 2024

Repository files navigation

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 git@github.com: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.