Clone of Uniswap V2 to Cairo. AMM for StarkNet.
- python3
- nile
- pytest-xdist (required for running tests in parallel)
- openzeppelin-cairo-contracts
nile compile
pytest -s -v
To distribute tests across multiple CPUs to speed up test execution:
pytest -s -v -n auto
All scripts are placed in scripts
folder. testnet config is not committed, please create your own in scripts/config
Example:
python scripts/deploy.py local
To run scripts on local system, you need to run a devnet server:
starknet-devnet