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-auction

Step 2: Install Foundry (if Needed)

Developing with CCA locally requires Foundry.

curl -L https://foundry.paradigm.xyz | bash

Step 3: Install Dependencies and Build

forge install
forge build

Step 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-files

Start a local node for local scripts and tests.

anvil

Remappings are preconfigured in foundry.toml. Adjust them only if you import CCA into an existing Foundry project.

Verification

  • forge build completes without errors.
  • anvil starts and listens on http://localhost:8545.