9 lines
281 B
TypeScript
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 };
|