Helme0315 / aptoswap

Auto AMM platform for swapping token in Aptos blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aptoswap

πŸ“– Contents

  • pool.move: The core implementation for Aptoswap.
  • pool_test.move: The test case and back-testing for pool.move.
  • utils.move: Useful utilities for Aptoswap.

πŸƒ Getting Started

  • Clone the repo:
git clone git@github.com:vividnetwork/aptoswap.git
  • Update the submodule of aptos-core:
git submodule update --init --recursive
  • Run test cases (make sure your aptos command line is compatiable with the aptos-core in submodules):
aptos move test
  • Compile the module:
# Initialize the ./.aptos
aptos init
# Compile
aptos move compile --named-addresses Aptoswap=default --save-metadata

About

Auto AMM platform for swapping token in Aptos blockchain


Languages

Language:Move 92.9%Language:TypeScript 7.1%