Starswap is a general purpose DEX on Starcoin.
mpm package build
mpm integration-test
Note: The project uses StarcoinFramework v11 (
198d236f) for compatibility with starcoin/mpm v1.13.20. However, v11's UnitTest module usesStd::UnitTest(uppercase), while mpm v1.13.20 expects v12'sstd::unit_test(lowercase). You need to patch the mpm cache before running tests:# First build to populate the cache, then patch mpm package build ./scripts/patch_v11_unittest.shThis only needs to be done once per machine (or after clearing
~/.movecache).
mpm package test
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.
- Add New Move module to
sourcesdir, 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.shfor build and generate documents.