Skip to content

Commit

Permalink
feat: add provenance mainnet config
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrsoares committed Aug 15, 2023
1 parent 63be6fb commit d2b9d2f
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 9 deletions.
20 changes: 11 additions & 9 deletions public/assets/chains/provenance.logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions src/config/web3/cosmos/mainnet/provenance.ts
Original file line number Diff line number Diff line change
@@ -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: "[email protected]",
website: "https://provenance.io",
},
stakeCurrency: {
coinDecimals: 9,
coinDenom: "HASH",
coinGeckoId: "provenance-blockchain",
coinMinimalDenom: "nhash",
},
explorer: "https://explorer.provenance.io/accounts/",
};

0 comments on commit d2b9d2f

Please sign in to comment.