aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/test/utils/web3_wrapper.ts
blob: 71a0dc1c2ad5b466e37dc5597922b95d4dbf72a7 (plain) (blame)
1
2
3
4
5
6
7
8
import { devConstants, 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 };