2018-05-31 11:04:05 -07:00

9 lines
281 B
TypeScript

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 };