Setup CCA Environment
Set up a local Continuous Clearing Auction development environment for Uniswap Liquidity Launchpad with Foundry.
Repository:Â github.com/Uniswap/continuous-clearing-auction
Prerequisites
- Foundry
- Access to a local terminal that can runÂ
anvil
Step 1: Clone the Repository
git clone https://github.com/Uniswap/continuous-clearing-auction.git
cd continuous-clearing-auctionStep 2: Install Foundry (if Needed)
Developing with CCA locally requires Foundry.
curl -L https://foundry.paradigm.xyz | bashStep 3: Install Dependencies and Build
forge install
forge buildStep 4: Run Optional Checks and Start a Local Node
Install pre-commit hooks if you want automated checks before commits.
pre-commit install
pre-commit run --all-filesStart a local node for local scripts and tests.
anvilRemappings are preconfigured in foundry.toml. Adjust them only if you import CCA into an existing Foundry project.
Verification
forge buildcompletes without errors.anvilstarts and listens onÂhttp://localhost:8545.