Akagi201 / amm-near

AMM Swap in NEAR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

amm-near

Rust CI Super Linter

A simple AMM swap contract in NEAR.

Usage

make help # get command list

Build all contracts

make build

Deploy

brew install direnv
direnv allow # enable .env vars, modify .envrc to your requirements
make accounts
make deploy_fta
make deploy_ftb
make deploy_amm

Tests

Contract unit test

make test

E2E test

# 1. make build
# 2. make accounts
# 3. make deploy_all
# 4. make e2e
make e2e

Docs

About

AMM Swap in NEAR


Languages

Language:Rust 75.0%Language:Shell 21.8%Language:Makefile 3.3%