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

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

export { provider, web3Wrapper };