diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-25 20:49:33 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-25 20:49:33 +0800 |
commit | 98dd3ecab70b85a437084e0cb832ea81421ddc8e (patch) | |
tree | 5de6f9a876559dc560d1d6dc61efd6d89b835000 /packages | |
parent | fe05e0bac371e921211d13b4903b117a8491ab66 (diff) | |
download | dexon-0x-contracts-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar dexon-0x-contracts-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar.gz dexon-0x-contracts-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar.bz2 dexon-0x-contracts-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar.lz dexon-0x-contracts-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar.xz dexon-0x-contracts-98dd3ecab70b85a437084e0cb832ea81421ddc8e.tar.zst dexon-0x-contracts-98dd3ecab70b85a437084e0cb832ea81421ddc8e.zip |
Use infura
Diffstat (limited to 'packages')
-rw-r--r-- | packages/migrations/src/utils/constants.ts | 2 | ||||
-rw-r--r-- | packages/migrations/src/utils/provider_factory.ts | 2 |
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; }, |