Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.02 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.02 KB

JediSwap-v2-periphery

This repository consists of the perphery contracts of JediSwap V2 protocol, a cairo fork of Uniswap V3. CLAMM for Starknet.

Testing and Development

Prerequisites:

Compile Contracts

scarb build

Run Tests

snforge test

Run Scripts

Run a local devnet

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 Scripts

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