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 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 theaptos-core
insubmodules
):
aptos move test
- Compile the module:
# Initialize the ./.aptos
aptos init
# Compile
aptos move compile --named-addresses Aptoswap=default --save-metadata