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

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

export { provider, web3Wrapper };