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.
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
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. |
The primary license for Prophet contracts is MIT, see LICENSE
.
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.