aboutsummaryrefslogblamecommitdiffstats
path: root/packages/sol-compiler/test/util/provider.ts
blob: 7215ffae74652805bba0549d071d921d3b415288 (plain) (tree)
1
2
3
4
5
6
7
8
                                                   
                                          

                             
                                                            
                                                                       

                    
import { web3Factory } from '@0xproject/dev-utils';
import { Provider } from 'ethereum-types';
import * as Web3 from 'web3';

const providerConfigs = { shouldUseInProcessGanache: true };
const provider: Provider = web3Factory.getRpcProvider(providerConfigs);

export { provider };