A simple AMM swap contract in NEAR.
make help # get command list
make build
brew install direnv
direnv allow # enable .env vars, modify .envrc to your requirements
make accounts
make deploy_fta
make deploy_ftb
make deploy_amm
Contract unit test
make test
E2E test
# 1. make build
# 2. make accounts
# 3. make deploy_all
# 4. make e2e
make e2e