Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

RiccardoBiosas/constant-sum-amm

Repository files navigation

constant-sum automated market maker

proof-of-concept of a constant-sum AMM, aka a liquidity pool where the relation between its assets is determined by the following invariant:

x + y = k

Run unit/integration tests

yarn install
yarn test

Run Echidna fuzzing tests

docker pull trailofbits/eth-security-toolbox
docker run -it -v "$PWD":/home/training trailofbits/eth-security-toolbox
solc-select 0.8.10
cd /home/training
echidna-test . --contract EchidnaCSAmm --config config.yaml

Releases

No releases published

Packages

No packages published