From 98dd3ecab70b85a437084e0cb832ea81421ddc8e Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 25 Jul 2018 14:49:33 +0200 Subject: Use infura --- packages/migrations/src/utils/constants.ts | 2 +- packages/migrations/src/utils/provider_factory.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/migrations') 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; }, -- cgit