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

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

export { provider, web3Wrapper };