Skip to content

Commit af68fac

Browse files
committed
Add CoinGeckoCoinDataByTokenAddress on mobile config.ui
1 parent 803ae1b commit af68fac

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

apps/mobile/src/config.ui.ts

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ export const CoinGeckoAPIEndPoint =
99
'https://api.coingecko.com/api/v3';
1010
export const CoinGeckoGetPrice =
1111
process.env['KEPLR_EXT_COINGECKO_GETPRICE'] || '/simple/price';
12+
export const CoinGeckoCoinDataByTokenAddress =
13+
process.env['KEPLR_EXT_COINGECKO_COIN_DATA_BY_TOKEN_ADDRESS'] ||
14+
'/coins/{coingeckoChainId}/contract/{contractAddress}';
15+
1216
export const AutoFetchingFiatValueInterval = 300 * 1000; // 5min
1317

1418
export const AutoFetchingAssetsInterval = 15 * 1000; // 15sec

apps/mobile/src/stores/root.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ import {
4545
TokenContractListURL,
4646
EthereumEndpoint,
4747
SwapVenue,
48+
CoinGeckoCoinDataByTokenAddress,
4849
} from '../config.ui';
4950
import {TokenContractsQueries} from './token-contracts';
5051
import {AprQueries} from './aprs';
@@ -66,7 +67,6 @@ import {
6667
import {DeepLinkStore} from './deep-link';
6768
import {EthereumQueries, EthereumAccountStore} from '@keplr-wallet/stores-eth';
6869
import {WebpageStore} from './webpage';
69-
import {CoinGeckoCoinDataByTokenAddress} from '@keplr-wallet/extension/src/config.ui.ts';
7070

7171
export class RootStore {
7272
public readonly keyRingStore: KeyRingStore;

0 commit comments

Comments
 (0)