Home

Awesome

mammoth_pool

Starknet pool similar to balancer v1 AMM

This repo uses cairo-nile https://github.com/OpenZeppelin/nile

Goals:

CONTRACTS:

ROUTER CONTRACT

External

View

POOL CONTRACT

View

TESTS

pytest tests

DEPLOYMENT INSTRUCTIONS

start local devnet for default deployment --network goerli for testnet deployment --network mainnet for mainnet

- nile setup PRIV_KEY
- fund your account with ETH (or testnet/devnet ETH)
- nile compile
- nile run scripts/testnet_fresh_deploy.py
- nile run scripts/approve_pool.py
- nile run scripts/create_pool.py
- nile run scripts/check_pool_creation.py

POOL CREATION INSTRUCTIONS