GithubHelp home page GithubHelp logo

0xpause / starswap-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elements-studio/starswap-core

0.0 0.0 0.0 666 KB

The swap project on Starcoin such as Uniswap a Sushiswap

Shell 1.54% Move 98.46%

starswap-core's Introduction

Starswap-core

Starswap is a general purpose DEX on Starcoin.

Move Package Manager

Compile Contract

mpm package build

Run Functional Tests

mpm spectest 

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:

  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.

starswap-core's People

Contributors

valentinereese avatar element2050 avatar 9191stc avatar adlirust avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.