Awesome
Starswap-core
Starswap is a general purpose DEX on Starcoin.
Move Package Manager
Compile Contract
mpm package build
Run Integration Tests
mpm integration-test
Run Unit Tests
mpm package 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:
- Report a bug.
- Submit a feature request.
- Implement feature or fix bug.
How to add new module to starswap-core:
- Add New Move module to
sources
dir, such asMyModule.move
. - Write Move code and add unit test in the module file.
- Add an integration test to integration-tests dir, such as:
test_my_module.move
. - Run the integration test
mpm integration-test test_my_module.move
. - Run script
./script/build.sh
for build and generate documents.