TTurkDex Developers
HelpBlogLaunch app

Setup CCA Environment

Bu açık kaynak protokol/SDK referansı TurkDex markasıyla sunulan uyarlamadır; sayfadaki entegrasyon örnekleri Turkchain’de etkin özelliklerin garantisi değildir. Ağ, kontrat ve işlem değerlerinde yalnızca bu kurulumun doğrulanmış ENV/registry bilgilerini kullanın.

Repository: github.com/TurkDex/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.

Uyarlanmış geliştirici referansı. Kaynak: kaynak dokümantasyon reposu. Kaynak ve lisans bildirimi: NOTICE.