Skip to content

Instantly share code, notes, and snippets.

@ankurdotb
Forked from Toktar/suggest-chain.js
Last active December 9, 2021 19:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ankurdotb/9dbbd57ee42ef133f62ffd0d4194e295 to your computer and use it in GitHub Desktop.
Save ankurdotb/9dbbd57ee42ef133f62ffd0d4194e295 to your computer and use it in GitHub Desktop.
Keplr chain suggestion for the cheqd network
await window.keplr.experimentalSuggestChain({
chainId: "cheqd-mainnet-1",
chainName: "cheqd",
rpc: "https://rpc.cheqd.net",
rest: "https://api.cheqd.net",
bip44: {
coinType: 118,
},
bech32Config: {
bech32PrefixAccAddr: "cheqd",
bech32PrefixAccPub: "cheqd" + "pub",
bech32PrefixValAddr: "cheqd" + "valoper",
bech32PrefixValPub: "cheqd" + "valoperpub",
bech32PrefixConsAddr: "cheqd" + "valcons",
bech32PrefixConsPub: "cheqd" + "valconspub",
},
currencies: [
{
coinDenom: "CHEQ",
coinMinimalDenom: "ncheq",
coinDecimals: 9,
},
],
feeCurrencies: [
{
coinDenom: "CHEQ",
coinMinimalDenom: "ncheq",
coinDecimals: 9,
},
],
stakeCurrency: {
coinDenom: "CHEQ",
coinMinimalDenom: "ncheq",
coinDecimals: 9,
},
coinType: 118,
gasPriceStep: {
low: 0.000000025,
average: 0.00000005,
high: 0.0000001,
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment