aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-compiler/test/util/provider.ts
blob: e0fcb362a0570d864841ac5ed3b10bcbc6da717e (plain) (blame)
1
2
3
4
5
6
7
8
9
import { web3Factory } from '@0xproject/dev-utils';
import { Provider } from '@0xproject/types';
import * as Web3 from 'web3';

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

export { provider };