aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/test/util/provider.ts
blob: bc0f55028dded38556d978cd32b39119ac498086 (plain) (blame)
1
2
3
4
5
6
import { web3Factory } from '@0xproject/dev-utils';
import * as Web3 from 'web3';

const web3ProviderConfig = { shouldUseInProcessGanache: true };
const web3Instance = web3Factory.create(web3ProviderConfig);
export const provider = web3Instance.currentProvider;