ConsenSysMesh / v12

IDEX contract v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notes

Code as handed over

  1. Compile Exchange.sol from AuroarDAO with solc --bin Exchange.sol
  2. rm -R node_modules
  3. npm install

Using Granche "desktop" version, results an Error: Returned error: sender doesn't have enough funds to send tx. The upfront cost is: 80000000000000000 and the sender's account only has: 0

  1. npm run test against granche-cli
  2. All tests pass

Using truffle

  1. Refactor to use /contracts /migrations folders
mkdir contracts
mkdir migrations
mv *.sol contracts
  1. Copy exchange.js test for truffle to run truffle test. An EVM gas exception is thrown on the Trade function of the Exchange.sol contract.

About

IDEX contract v2


Languages

Language:JavaScript 82.3%Language:Logos 17.4%Language:Shell 0.3%