Getting started with CCA
Repository: github.com/Uniswap/continuous-clearing-auction
Clone the repo
git clone https://github.com/Uniswap/continuous-clearing-auction.git
cd continuous-clearing-auction
Quickstart
Currently, developing with CCA locally requires foundry
curl -L https://foundry.paradigm.xyz | bash
Install dependencies
forge install
Build the contracts
forge build
Install pre-commit hooks (optional)
pre-commit install
pre-commit run --all-files
Remappings
Remappings are already set up in foundry.toml file but you may need to adjust if importing CCA into an existing foundry project.
Start an anvil node on localhost:8545
anvil