diff --git a/imports/ui/home/token-tap/tokenTap.jsx b/imports/ui/home/token-tap/tokenTap.jsx index 38a751ce..1584165d 100644 --- a/imports/ui/home/token-tap/tokenTap.jsx +++ b/imports/ui/home/token-tap/tokenTap.jsx @@ -56,7 +56,7 @@ export default class TokenTap extends Component { validCosmosAddress = (address) => { - return useBech32Config(defaultBech32Config("fetch"), () => { + return useBech32Config(defaultBech32Config(Meteor.settings.public.bech32PrefixAccAddr), () => { try { AccAddress.fromBech32(address); } catch (e) { diff --git a/settings-files/eridanus.json b/settings-files/eridanus.json index ead2becc..b577eade 100644 --- a/settings-files/eridanus.json +++ b/settings-files/eridanus.json @@ -1,76 +1,82 @@ { - "public": { - "chainName": "eridanus-1", - "chainId": "eridanus-1", - "gtm": "", - "genesisTime": "2022-08-05T11:34:40Z", - "slashingWindow": 250, - "uptimeWindow": 250, - "initialPageSize": 30, - "secp256k1": false, - "bech32PrefixAccAddr": "fetch", - "bech32PrefixAccPub": "fetchpub", - "bech32PrefixValAddr": "fetchvaloper", - "bech32PrefixValPub": "fetchvaloperpub", - "bech32PrefixConsAddr": "fetchvalcons", - "bech32PrefixConsPub": "fetchvalconspub", - "tokenTap": true, - "tokenTapURL": "https://faucet-eridanus.t-v3-london.fetch-ai.com/api/v3/claims", - "bondDenom": "atestfet", - "powerReduction": 1000000000000000000, - "coins": [ - { - "denom": "atestfet", - "displayName": "TESTFET", - "fraction": 1000000000000000000 - }, - { - "denom": "nanomobx", - "displayName": "MOBX", - "fraction": 1000000000 - }, - { - "denom": "ulrn", - "displayName": "LRN", - "fraction": 1000000 - } - ], - "ledger": { - "coinType": 118, - "appName": "Cosmos", - "appVersion": "2.16.0", - "gasPrice": 5000000000 - }, - "modules": { - "bank": true, - "supply": true, - "minting": true, - "gov": true, - "distribution": true - }, - "coingeckoId": "", - "networks": "", - "banners": false + "public": { + "chainName": "eridanus-1", + "chainId": "eridanus-1", + "gtm": "", + "genesisTime": "2022-04-27T16:30:00Z", + "slashingWindow": 250, + "uptimeWindow": 250, + "initialPageSize": 30, + "secp256k1": false, + "bech32PrefixAccAddr": "asi", + "bech32PrefixAccPub": "asipub", + "bech32PrefixValAddr": "asivaloper", + "bech32PrefixValPub": "asivaloperpub", + "bech32PrefixConsAddr": "asivalcons", + "bech32PrefixConsPub": "asivalconspub", + "tokenTap": true, + "tokenTapURL": "https://faucet-eridanus-1.fetch.ai/api/v3/claims", + "bondDenom": "atestasi", + "powerReduction": 1000000000000000000, + "coins": [ + { + "denom": "atestasi", + "displayName": "TESTASI", + "fraction": 1000000000000000000 + }, + { + "denom": "nanomobx", + "displayName": "MOBX", + "fraction": 1000000000 + }, + { + "denom": "ulrn", + "displayName": "LRN", + "fraction": 1000000 + }, + { + "denom": "nanonomx", + "displayName": "NOMX", + "fraction": 1000000000 + } + ], + "ledger": { + "coinType": 118, + "appName": "Cosmos", + "appVersion": "2.16.0", + "gasPrice": 5000000000 }, - "remote": { - "rpc": "https://rpc-eridanus.t-v3-london.fetch-ai.com", - "api": "https://rest-eridanus.t-v3-london.fetch-ai.com" + "modules": { + "bank": true, + "supply": true, + "minting": true, + "gov": true, + "distribution": true }, - "debug": { - "startTimer": true - }, - "params": { - "startHeight": 1, - "defaultBlockTime": 5000, - "validatorUpdateWindow": 300, - "blockInterval": 15000, - "transactionsInterval": 5000, - "keybaseFetchingInterval": 18000000, - "consensusInterval": 1000, - "statusInterval": 7500, - "signingInfoInterval": 1800000, - "proposalInterval": 5000, - "missedBlocksInterval": 60000, - "delegationInterval": 900000 - } -} \ No newline at end of file + "coingeckoId": "", + "networks": "", + "banners": false + }, + "remote": { + "rpc": "https://rpc-eridanus-1.t-v3-london.fetch-ai.com", + "api": "https://rest-eridanus-1.t-v3-london.fetch-ai.com" + }, + "debug": { + "startTimer": true + }, + "params": { + "startHeight": 1, + "defaultBlockTime": 5000, + "validatorUpdateWindow": 300, + "blockInterval": 15000, + "transactionsInterval": 5000, + "keybaseFetchingInterval": 18000000, + "consensusInterval": 1000, + "statusInterval": 7500, + "signingInfoInterval": 1800000, + "proposalInterval": 5000, + "missedBlocksInterval": 60000, + "delegationInterval": 900000 + } +} +