πŸ‡³πŸ‡±βœ–οΈ Decentralized Autonomous Organization (DAO) for managing the DutchX
Clone or download
Velenir Reputation in wei (#45)
* convert reward into wei + a check

* use new getReward function

* fix filename typo

* more explicit error message
Latest commit a3efba8 Jan 22, 2019

README.md

Build Status

DutchX Dao (DaoStack)

DAO (Decentralized Autonomous Organization) for managing the DutchX.

The Dutch Exchange (DutchX) is a fully decentralized exchange, which allows everyone to add any trading token pair.

It uses the [Dutch auction] principle, to prevent the problems that other exchanges are experiencing (such as front running) getting a fairer ecosystem for everyone to use.

There is no restriction besides the fact that tokens must be ERC20 compliant.

Documentation

Checkout the DutchX Documentation.

Run tests

# Install dependencies
npm install

# In one tab: Run ganache
npm run rpc

# In another tab: Run the tests
npm run test

For running a particular test:

npx truffle test <name-of-the-test>

Migrations

Local:

npm run migrate

Rinkeby:

npm run migrate -- --network rinkeby

Mainnet:

npm run migrate -- --network mainnet

Verify contracts in Etherscan

Make sure the dependencies and addresses are updated:

npm run install
npm run restore

For every contract, you need to get the flattened version.

# Get the list of contracts:
ls -Rl contracts

# Flatten a contract
npx truffle-flattener contracts/DxAvatar.sol > build/DxAvatar.sol

To verify you will need to use the exact version of the compiler:

Check it here:

Verify: