From d2b9d2f152e28229fce61d5d0b46468535bccacf Mon Sep 17 00:00:00 2001 From: Alan Soares Date: Wed, 16 Aug 2023 10:19:38 +1200 Subject: [PATCH] feat: add provenance mainnet config --- public/assets/chains/provenance.logo.svg | 20 ++++---- src/config/web3/cosmos/mainnet/provenance.ts | 54 ++++++++++++++++++++ 2 files changed, 65 insertions(+), 9 deletions(-) create mode 100644 src/config/web3/cosmos/mainnet/provenance.ts diff --git a/public/assets/chains/provenance.logo.svg b/public/assets/chains/provenance.logo.svg index fb99e96ba..cb0dcd032 100644 --- a/public/assets/chains/provenance.logo.svg +++ b/public/assets/chains/provenance.logo.svg @@ -1,10 +1,12 @@ - - - - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/src/config/web3/cosmos/mainnet/provenance.ts b/src/config/web3/cosmos/mainnet/provenance.ts new file mode 100644 index 000000000..afde1e578 --- /dev/null +++ b/src/config/web3/cosmos/mainnet/provenance.ts @@ -0,0 +1,54 @@ +import { Bech32Address } from "@keplr-wallet/cosmos"; + +import { COSMOS_PROXY_RPC_MAINNET } from "~/config/constants"; + +import { CosmosChain } from "../interface"; + +export const provenance: CosmosChain = { + chainId: "pio-mainnet-1", + chainName: "Provenance", + chainIdentifier: "provenance", + chainToAxelarChannelId: "provenance-mainnet", + rest: "https://api.provenance.io/", + rpc: `${COSMOS_PROXY_RPC_MAINNET}/chain/provenance`, + bech32Config: Bech32Address.defaultBech32Config("pb"), + bip44: { + coinType: 505, + }, + chainSymbolImageUrl: + "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/pio-mainnet/chain.png", + currencies: [ + { + coinDecimals: 9, + coinDenom: "HASH", + coinGeckoId: "provenance-blockchain", + coinMinimalDenom: "nhash", + }, + ], + features: ["cosmwasm"], + feeCurrencies: [ + { + coinDecimals: 9, + coinDenom: "HASH", + coinGeckoId: "provenance-blockchain", + coinMinimalDenom: "nhash", + gasPriceStep: { + average: 1905, + high: 2500, + low: 1905, + }, + }, + ], + nodeProvider: { + name: "Provenance", + email: "inbound@provenance.io", + website: "https://provenance.io", + }, + stakeCurrency: { + coinDecimals: 9, + coinDenom: "HASH", + coinGeckoId: "provenance-blockchain", + coinMinimalDenom: "nhash", + }, + explorer: "https://explorer.provenance.io/accounts/", +};