diff options
author | Fabio Berger <me@fabioberger.com> | 2018-01-29 20:16:40 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-01-29 20:16:40 +0800 |
commit | 542a1a11b9adc2db07e99cf1cba4b4f6fb24983d (patch) | |
tree | 9400c49bcd10f8b2825c2070f9014bac8dc52f2a /packages/website/ts/utils | |
parent | 63ffa80c5cde2b289043ad58aec6bc2fe4d72993 (diff) | |
download | dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar.gz dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar.bz2 dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar.lz dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar.xz dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar.zst dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.zip |
Add missing entries for Ropsten and Rinkeby testnets, added Ropsten to Ledger network dropdown
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r-- | packages/website/ts/utils/configs.ts | 2 | ||||
-rw-r--r-- | packages/website/ts/utils/constants.ts | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/packages/website/ts/utils/configs.ts b/packages/website/ts/utils/configs.ts index 3d37a89ab..1e46be0be 100644 --- a/packages/website/ts/utils/configs.ts +++ b/packages/website/ts/utils/configs.ts @@ -120,6 +120,8 @@ export const configs = { PUBLIC_NODE_URLS_BY_NETWORK_ID: { [1]: [`https://mainnet.infura.io/${INFURA_API_KEY}`, 'https://mainnet.0xproject.com'], [42]: [`https://kovan.infura.io/${INFURA_API_KEY}`, 'https://kovan.0xproject.com'], + [3]: [`https://ropsten.infura.io/${INFURA_API_KEY}`], + [4]: [`https://rinkeby.infura.io/${INFURA_API_KEY}`], } as PublicNodeUrlsByNetworkId, SHOULD_DEPRECATE_OLD_WETH_TOKEN: true, SYMBOLS_OF_MINTABLE_TOKENS: ['MKR', 'MLN', 'GNT', 'DGD', 'REP'], diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts index dded82114..4d6cb06c9 100644 --- a/packages/website/ts/utils/constants.ts +++ b/packages/website/ts/utils/constants.ts @@ -10,6 +10,8 @@ export const constants = { 1: 4145578, 42: 3117574, 50: 0, + 3: 1719261, + 4: 1570919, } as { [networkId: number]: number }, HOME_SCROLL_DURATION_MS: 500, HTTP_NO_CONTENT_STATUS_CODE: 204, @@ -19,7 +21,7 @@ export const constants = { MAINNET_NAME: 'Main network', MINT_AMOUNT: new BigNumber('100000000000000000000'), NETWORK_ID_MAINNET: 1, - NETWORK_ID_TESTNET: 42, + NETWORK_ID_KOVAN: 42, NETWORK_ID_TESTRPC: 50, NETWORK_NAME_BY_ID: { 1: Networks.mainnet, |