aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/src/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-25 20:49:33 +0800
committerFabio Berger <me@fabioberger.com>2018-07-25 20:49:33 +0800
commit98dd3ecab70b85a437084e0cb832ea81421ddc8e (patch)
tree5de6f9a876559dc560d1d6dc61efd6d89b835000 /packages/migrations/src/utils
parentfe05e0bac371e921211d13b4903b117a8491ab66 (diff)
downloaddexon-sol-tools-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar
dexon-sol-tools-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar.gz
dexon-sol-tools-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar.bz2
dexon-sol-tools-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar.lz
dexon-sol-tools-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar.xz
dexon-sol-tools-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar.zst
dexon-sol-tools-98dd3ecab70b85a437084e0cb832ea81421ddc8e.zip
Use infura
Diffstat (limited to 'packages/migrations/src/utils')
-rw-r--r--packages/migrations/src/utils/constants.ts2
-rw-r--r--packages/migrations/src/utils/provider_factory.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/migrations/src/utils/constants.ts b/packages/migrations/src/utils/constants.ts
index 53ce2f5f1..4ae2ff833 100644
--- a/packages/migrations/src/utils/constants.ts
+++ b/packages/migrations/src/utils/constants.ts
@@ -11,6 +11,6 @@ export const constants = {
ERC20_PROXY_ID: '0xf47261b0',
ERC721_PROXY_ID: '0x02571792',
NULL_ADDRESS: '0x0000000000000000000000000000000000000000',
- RPC_URL: 'http://localhost:8545',
+ KOVAN_RPC_URL: 'https://kovan.infura.io/',
KOVAN_NETWORK_ID: 42,
};
diff --git a/packages/migrations/src/utils/provider_factory.ts b/packages/migrations/src/utils/provider_factory.ts
index 5f69b258d..a0d4e436e 100644
--- a/packages/migrations/src/utils/provider_factory.ts
+++ b/packages/migrations/src/utils/provider_factory.ts
@@ -20,7 +20,7 @@ export const providerFactory = {
};
const ledgerSubprovider = new LedgerSubprovider(ledgerWalletConfigs);
provider.addProvider(ledgerSubprovider);
- provider.addProvider(new RPCSubprovider(constants.RPC_URL));
+ provider.addProvider(new RPCSubprovider(constants.KOVAN_RPC_URL));
provider.start();
return provider;
},