Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 414 Bytes

README.md

File metadata and controls

23 lines (21 loc) · 414 Bytes

Starknet AMM with Nile

A simple AMM written in Cairo for StarkNet, using the Nile development framework.

Getting started

Create and activate a new virtual env:

python3 -m venv env
source env/bin/activate

Install Nile and dependencies:

pip install cairo-nile
nile init

Compile the pool.cairo contract:

nile compile contracts/pool.cairo

Run the tests with pytest:

pytest -s