aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/utils/web3_wrapper.ts
blob: 35898f5536216a9001bc772cf702d0b10b9332bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import { devConstants, web3Factory } from '@0xproject/dev-utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import * as Web3 from 'web3';

import { constants } from './constants';

const web3 = web3Factory.create({ shouldUseInProcessGanache: true });
const web3Wrapper = new Web3Wrapper(web3.currentProvider);

export { web3, web3Wrapper };