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.
Checkout the DutchX Documentation.
# 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>
npm run migrate
npm run migrate -- --network rinkeby
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: