Skip to content

Commit

Permalink
updte: updted chain config
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Dec 7, 2021
1 parent 55dd368 commit fe89df7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ export const config = {
COIN_DECIMALS: 6,
PREFIX: 'juno',
COIN_TYPE: 118,
COINGECKO_ID: 'juno-network',
DEFAULT_GAS: 250000,
GAS_PRICE_STEP_LOW: 0.005,
GAS_PRICE_STEP_AVERAGE: 0.025,
GAS_PRICE_STEP_HIGH: 0.08,
FEATURES: ['stargate', 'ibc-transfer'],
};
4 changes: 4 additions & 0 deletions src/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const chainConfig = {
coinDenom,
coinMinimalDenom,
coinDecimals,
coinGeckoId: config.COINGECKO_ID,
},
bip44: {
coinType: 118,
Expand All @@ -37,13 +38,15 @@ const chainConfig = {
coinDenom,
coinMinimalDenom,
coinDecimals,
coinGeckoId: config.COINGECKO_ID,
},
],
feeCurrencies: [
{
coinDenom,
coinMinimalDenom,
coinDecimals,
coinGeckoId: config.COINGECKO_ID,
},
],
coinType: config.COIN_TYPE,
Expand All @@ -52,6 +55,7 @@ const chainConfig = {
average: config.GAS_PRICE_STEP_AVERAGE,
high: config.GAS_PRICE_STEP_HIGH,
},
features: config.FEATURES,
};

export const initializeChain = (cb) => {
Expand Down

0 comments on commit fe89df7

Please sign in to comment.