aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/test/util/provider.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/deployer/test/util/provider.ts')
-rw-r--r--packages/deployer/test/util/provider.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/deployer/test/util/provider.ts b/packages/deployer/test/util/provider.ts
new file mode 100644
index 000000000..bc0f55028
--- /dev/null
+++ b/packages/deployer/test/util/provider.ts
@@ -0,0 +1,6 @@
+import { web3Factory } from '@0xproject/dev-utils';
+import * as Web3 from 'web3';
+
+const web3ProviderConfig = { shouldUseInProcessGanache: true };
+const web3Instance = web3Factory.create(web3ProviderConfig);
+export const provider = web3Instance.currentProvider;