Development of a manipulation-resilient price oracle for CoW AMM LP tokens.
$ git clone https://github.com/cowdao-grants/cow-amm-lp-oracle
$ cd cow-amm-lp-oracle
$ bun installThe repository includes pre-configured RPC endpoints for various networks. When deploying contracts using
forge script, you can:
- Specify the network:
--rpc-url <network>(e.g.,--rpc-url mainnet) - Set your block explorer API key:
export ETHERSCAN_API_KEY=your_api_key - Use the
--verifyflag for contract verification
Supported networks: mainnet, sepolia, gnosis, arbitrum, base, and localhost.
For detailed information about contract deployment and verification, see the Foundry Book.
It is recommended to use VSCode with the Nomic Foundation's Solidity extension.
For guidance on how to integrate a Foundry project in VSCode, please refer to this guide.
This project uses GitHub Actions for continuous integration (CI). On every push and pull request made to the main branch, the contracts will be linted, built, and tested.
The CI workflow configuration can be found and modified in .github/workflows/ci.yml.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).