|
преди 4 месеца | |
---|---|---|
.. | ||
api | преди 9 месеца | |
program | преди 9 месеца | |
tests | преди 5 месеца | |
Cargo.toml | преди 4 месеца | |
README.md | преди 9 месеца | |
package.json | преди 9 месеца | |
pnpm-lock.yaml | преди 9 месеца | |
tsconfig.json | преди 9 месеца |
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.
Consts
– Program constants.Error
– Custom program errors.Instruction
– Declared instructions.CreateAmm
– Create amm ...CreatePool
– Create liquidity poolDepositLiquidity
– Desposit liquidity to poolWithdrawLiquidity
– Withdraw liquidity from poolSwap
– Swap exact token amountCompile your program:
pnpm build
Run unit and integration tests:
pnpm test
Run build and test
pnpm build-and-test
Deploy your program:
pnpm deploy