pool.move: The core implementation for Aptoswap.pool_test.move: The test case and back-testing forpool.move.utils.move: Useful utilities for Aptoswap.
- Clone the repo:
git clone [email protected]:vividnetwork/aptoswap.git- Update the submodule of
aptos-core:
git submodule update --init --recursive- Run test cases (make sure your
aptoscommand line is compatiable with theaptos-coreinsubmodules):
aptos move test
- Compile the module:
# Initialize the ./.aptos
aptos init
# Compile
aptos move compile --named-addresses Aptoswap=default --save-metadata