This repository consists of the perphery contracts of JediSwap V2 protocol, a cairo fork of Uniswap V3. CLAMM for Starknet.
Prerequisites:
- Scarb for managing the project.
- starknet-foundry for testing and writing scripts.
scarb build
snforge test
We use starknet-devnet-rs
Run the devnet and add one of the predeployed accounts with your preferred name <test_account_local>. See the instructions here.
Run sncast in the parent folder by specifying the path to the script file. Example:
sncast --url http://127.0.0.1:5050 --account <test_account_local> --path-to-scarb-toml scripts/Scarb.toml script deploy_routers