@alice-network/exchange

Solidity contracts for the exchange on alice network

Usage no npm install needed!

<script type="module">
  import aliceNetworkExchange from 'https://cdn.skypack.dev/@alice-network/exchange';
</script>

README

Alice DEX

Solidity contracts for Alice DEX. User can exchange their ERC20 or ERC721 asset just in a second.

Documentation

Documentation is not ready yet.

Development

First, install Node.js and npm. Then grep the source code.

Get the source

Fork this repo and clone it to your local machine:

$ git clone git@github.com:your-username/exchange.git

Once git clone is done, use npm to install dependencies:

$ npm install

Truffle network

  • coverage: this network is for solidity-coverage report
  • development: this network is used for local development
  • deploy: this network is used for deploying contracts
  • console: this network is used for truffle console

Test

To run tests, run command below:

$ npm run test

Coverage

To get coverage report, run command below:

$ npm run test:coverage

License

Alice DEX is licensed under the MIT License.