Skip to content

Commit

Permalink
feat: add celestia chain (#848)
Browse files Browse the repository at this point in the history
feat: add celestia
  • Loading branch information
aleem1314 authored Oct 31, 2023
1 parent ef463f0 commit 1724714
Show file tree
Hide file tree
Showing 2 changed files with 142 additions and 0 deletions.
72 changes: 72 additions & 0 deletions frontend/chains/celestia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"enable_modules": {
"authz": true,
"feegrant": true,
"group": false
},
"amino_config": {
"authz": false,
"feegrant": false,
"group": false
},
"show_airdrop": false,
"logos": {
"menu": "https://raw.githubusercontent.com/cosmos/chain-registry/master/celestia/images/celestia.svg",
"toolbar": "https://raw.githubusercontent.com/cosmos/chain-registry/master/celestia/images/celestia.svg"
},
"keplr_experimental": false,
"leap_experimental": false,
"is_testnet": false,
"explorer_tx_hash_endpoint": "https://mintscan.io/celestia/txs/",
"config": {
"chain_id": "celestia",
"chain_name": "Celestia",
"rest": "https://public-celestia-lcd.numia.xyz",
"rpc": "https://public-celestia-rpc.numia.xyz",
"currencies": [
{
"coin_denom": "TIA",
"coin_minimal_denom": "utia",
"coin_decimals": 6
}
],
"bip44": {
"coin_type": 118
},
"bech32_config": {
"bech32_prefix_acc_addr": "celestia",
"bech32_prefix_acc_pub": "celestiapub",
"bech32_prefix_val_addr": "celestiavaloper",
"bech32_prefix_val_pub": "celestiavaloperpub",
"bech32_prefix_cons_addr": "celestiavalcons",
"bech32_prefix_cons_pub": "celestiavalconspub"
},
"wallet_url_for_staking": "https://resolute.vitwit.com/celestia/staking",
"fee_currencies": [
{
"coin_denom": "TIA",
"coin_minimal_denom": "utia",
"coin_decimals": 6,
"coin_gecko_id": "celestia",
"gas_price_step": {
"low": 0.01,
"average": 0.015,
"high": 0.05
}
}
],

"stake_currency": {
"coin_denom": "TIA",
"coin_minimal_denom": "utia",
"coin_decimals": 6,
"coin_gecko_id": "celestia"
},
"image": "https://raw.githubusercontent.com/cosmos/chain-registry/master/celestia/images/celestia.svg",
"theme": {
"primaryColor": "#fff",
"gradient": "linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 100%)"
}
}
}

70 changes: 70 additions & 0 deletions frontend/src/utils/chainsInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,76 @@ export const networks: Network[] = [
}
}
},
{
enableModules: {
authz: true,
feegrant: true,
group: false
},
aminoConfig: {
authz: false,
feegrant: false,
group: false
},
showAirdrop: false,
logos: {
menu: "https://raw.githubusercontent.com/cosmos/chain-registry/master/celestia/images/celestia.svg",
toolbar: "https://raw.githubusercontent.com/cosmos/chain-registry/master/celestia/images/celestia.svg"
},
keplrExperimental: false,
leapExperimental: false,
isTestnet: false,
explorerTxHashEndpoint: "https://mintscan.io/celestia/txs/",
config: {
chainId: "celestia",
chainName: "Celestia",
rest: "https://public-celestia-lcd.numia.xyz",
rpc: "https://public-celestia-rpc.numia.xyz",
currencies: [
{
coinDenom: "TIA",
coinMinimalDenom: "utia",
coinDecimals: 6
}
],
bip44: {
coinType: 118
},
bech32Config: {
bech32PrefixAccAddr: "celestia",
bech32PrefixAccPub: "celestiapub",
bech32PrefixValAddr: "celestiavaloper",
bech32PrefixValPub: "celestiavaloperpub",
bech32PrefixConsAddr: "celestiavalcons",
bech32PrefixConsPub: "celestiavalconspub"
},
walletUrlForStaking: "https://resolute.vitwit.com/celestia/staking",
feeCurrencies: [
{
coinDenom: "TIA",
coinMinimalDenom: "utia",
coinDecimals: 6,
coinGeckoId: "celestia",
gasPriceStep: {
low: 0.01,
average: 0.015,
high: 0.05
}
}
],
stakeCurrency: {
coinDenom: "TIA",
coinMinimalDenom: "utia",
coinDecimals: 6,
coinGeckoId: "celestia"
},
image: "https://raw.githubusercontent.com/cosmos/chain-registry/master/celestia/images/celestia.svg",
theme: {
primaryColor: "#fff",
gradient: "linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 100%)"
}
}
},
{
enableModules: {
authz: true,
Expand Down

0 comments on commit 1724714

Please sign in to comment.