This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Web3 = require('web3'); | |
const ZeroEx = require('0x.js').ZeroEx; | |
const BigNumber = require('bignumber.js'); | |
// Default provider for TestRPC | |
const provider = new Web3.providers.HttpProvider('http://localhost:8545') | |
// Calling constructor | |
const zeroEx = new ZeroEx(provider); |