aboutsummaryrefslogblamecommitdiffstats
path: root/packages/order-utils/test/utils/web3_wrapper.ts
blob: 419f76dde7dc3d418d7682cab4608cbcc6649583 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                 
                                                      
                                          
 

                                                                                           

                                 
import { devConstants, 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 };