aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/utils/web3_wrapper.ts
blob: 1a711dad23002bcfb9a32648332499a1dda708a6 (plain) (blame)
1
2
3
4
5
6
7
import { web3Factory } from '@0xproject/dev-utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';

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