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

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

export { provider, web3Wrapper };