Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mempirate/cairo-amm
Cairo simple AMM implementation with Nile
https://github.com/mempirate/cairo-amm
cairo ethereum nile starknet
Last synced: 6 days ago
JSON representation
Cairo simple AMM implementation with Nile
- Host: GitHub
- URL: https://github.com/mempirate/cairo-amm
- Owner: mempirate
- Created: 2022-01-06T17:20:10.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-06T17:23:04.000Z (almost 3 years ago)
- Last Synced: 2024-01-22T23:05:42.759Z (10 months ago)
- Topics: cairo, ethereum, nile, starknet
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```