Elements-Studio / starswap-core-aptos

Starswap contracts on Aptos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starswap-core-aptos

Starswap-aptos is a general purpose DEX on Aptos.

Move Compile tool

Compile Contract

aptos move compile

Run Transactional Tests

aptos move transactional-test --root-path <ROOT_PATH>

Run Unit Tests

aptos move test

Contributing

First off, thanks for taking the time to contribute! Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Contributions in the following are welcome:

  1. Report a bug.
  2. Submit a feature request.
  3. Implement feature or fix bug.

How to add new module to starswap-core:

  1. Add New Move module to sources dir, such as MyModule.move.
  2. Write Move code and add unit test in the module file.
  3. Add an integration test to integration-tests dir, such as: test_my_module.move.
  4. Run the integration test mpm integration-test test_my_module.move .
  5. Run script ./script/build.sh for build and generate documents.

About

Starswap contracts on Aptos

License:Apache License 2.0


Languages

Language:Move 92.4%Language:Shell 7.6%