Ayush 4b8594ec04 chore: solana native and steel bump to v2.1 (#382) 4 月之前
..
api 5bdafb467a add tokens/token-swap/steel (#267) 9 月之前
program 5bdafb467a add tokens/token-swap/steel (#267) 9 月之前
tests 104a0d3657 removed poseidon examples and GitHub action (#374) 5 月之前
Cargo.toml 4b8594ec04 chore: solana native and steel bump to v2.1 (#382) 4 月之前
README.md 5bdafb467a add tokens/token-swap/steel (#267) 9 月之前
package.json 5bdafb467a add tokens/token-swap/steel (#267) 9 月之前
pnpm-lock.yaml 5bdafb467a add tokens/token-swap/steel (#267) 9 月之前
tsconfig.json 5bdafb467a add tokens/token-swap/steel (#267) 9 月之前

README.md

Token swap example amm in Steel

TokenSwap - Your Gateway to Effortless Trading! Welcome to the world of Automated Market Makers (AMM), where seamless trading is made possible with the power of automation. The primary goal of AMMs is to act as automatic buyers and sellers, readily available whenever users wish to trade their assets.

API

Instructions

State

  • Amm – Amm state
  • Pool – Pool state

How to run

Compile your program:

pnpm build

Run unit and integration tests:

pnpm test

Run build and test

pnpm build-and-test

Deploy your program:

pnpm deploy