From 628a8bc9e9caeef64ab8c51aae90129fe7235ee6 Mon Sep 17 00:00:00 2001 From: Andy Haynes Date: Thu, 5 May 2022 13:59:46 -0700 Subject: [PATCH] feat(indexer): URL for indexer queries --- packages/frontend/src/config/environmentDefaults/development.js | 1 + packages/frontend/src/config/environmentDefaults/mainnet.js | 1 + .../frontend/src/config/environmentDefaults/mainnet_STAGING.js | 1 + packages/frontend/src/config/environmentDefaults/testnet.js | 1 + 4 files changed, 4 insertions(+) diff --git a/packages/frontend/src/config/environmentDefaults/development.js b/packages/frontend/src/config/environmentDefaults/development.js index 6d18738635..6030031ef4 100644 --- a/packages/frontend/src/config/environmentDefaults/development.js +++ b/packages/frontend/src/config/environmentDefaults/development.js @@ -15,6 +15,7 @@ export default { EXPLORE_DEFI_URL: 'https://awesomenear.com/categories/defi/', EXPLORER_URL:'https://explorer.testnet.near.org', HIDE_SIGN_IN_WITH_LEDGER_ENTER_ACCOUNT_ID_MODAL: false, + INDEXER_SERVICE_URL: 'https://testnet-api.kitwallet.app', LINKDROP_GAS: '100000000000000', LOCKUP_ACCOUNT_ID_SUFFIX: 'lockup.m0', MIN_BALANCE_FOR_GAS: nearApiJs.utils.format.parseNearAmount('0.05'), diff --git a/packages/frontend/src/config/environmentDefaults/mainnet.js b/packages/frontend/src/config/environmentDefaults/mainnet.js index cd58bb7ae7..815bcfd95d 100644 --- a/packages/frontend/src/config/environmentDefaults/mainnet.js +++ b/packages/frontend/src/config/environmentDefaults/mainnet.js @@ -16,6 +16,7 @@ export default { EXPLORE_DEFI_URL: 'https://awesomenear.com/categories/defi/', EXPLORER_URL: 'https://explorer.mainnet.near.org', HIDE_SIGN_IN_WITH_LEDGER_ENTER_ACCOUNT_ID_MODAL: false, + INDEXER_SERVICE_URL: 'https://api.kitwallet.app', LINKDROP_GAS: '100000000000000', LOCKUP_ACCOUNT_ID_SUFFIX: 'lockup.near', MIN_BALANCE_FOR_GAS: nearApiJs.utils.format.parseNearAmount('0.05'), diff --git a/packages/frontend/src/config/environmentDefaults/mainnet_STAGING.js b/packages/frontend/src/config/environmentDefaults/mainnet_STAGING.js index e348dc5494..4260636d8e 100644 --- a/packages/frontend/src/config/environmentDefaults/mainnet_STAGING.js +++ b/packages/frontend/src/config/environmentDefaults/mainnet_STAGING.js @@ -16,6 +16,7 @@ export default { EXPLORE_DEFI_URL: 'https://awesomenear.com/categories/defi/', EXPLORER_URL: 'https://explorer.mainnet.near.org', HIDE_SIGN_IN_WITH_LEDGER_ENTER_ACCOUNT_ID_MODAL: false, + INDEXER_SERVICE_URL: 'https://staging-api.kitwallet.app', LINKDROP_GAS: '100000000000000', LOCKUP_ACCOUNT_ID_SUFFIX: 'lockup.near', MIN_BALANCE_FOR_GAS: nearApiJs.utils.format.parseNearAmount('0.05'), diff --git a/packages/frontend/src/config/environmentDefaults/testnet.js b/packages/frontend/src/config/environmentDefaults/testnet.js index 667f7eea05..83a45c9212 100644 --- a/packages/frontend/src/config/environmentDefaults/testnet.js +++ b/packages/frontend/src/config/environmentDefaults/testnet.js @@ -16,6 +16,7 @@ export default { EXPLORE_DEFI_URL: 'https://awesomenear.com/categories/defi/', EXPLORER_URL: 'https://explorer.testnet.near.org', HIDE_SIGN_IN_WITH_LEDGER_ENTER_ACCOUNT_ID_MODAL: false, + INDEXER_SERVICE_URL: 'https://testnet-api.kitwallet.app', LINKDROP_GAS: '100000000000000', LOCKUP_ACCOUNT_ID_SUFFIX: 'lockup.m0', MIN_BALANCE_FOR_GAS: nearApiJs.utils.format.parseNearAmount('0.05'),