-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added new chains, added select for token type
- Loading branch information
“arvitaly”
committed
Aug 14, 2023
1 parent
f8f7508
commit d33e819
Showing
16 changed files
with
334 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
export const ArchwayMainnet = { | ||
bech32Config: { | ||
bech32PrefixAccAddr: "archway", | ||
bech32PrefixAccPub: "archwaypub", | ||
bech32PrefixConsAddr: "archwayvalcons", | ||
bech32PrefixConsPub: "archwayvalconspub", | ||
bech32PrefixValAddr: "archwayvaloper", | ||
bech32PrefixValPub: "archwayvaloperpub", | ||
}, | ||
bip44: { | ||
coinType: 118, | ||
}, | ||
chainId: "archway-1", | ||
chainName: "Archway", | ||
chainSymbolImageUrl: "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/archway/chain.png", | ||
currencies: [ | ||
{ | ||
coinDecimals: 18, | ||
coinDenom: "ARCH", | ||
coinGeckoId: "archway", | ||
coinMinimalDenom: "aarch", | ||
coinImageUrl: "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/archway/aarch.png", | ||
}, | ||
], | ||
features: ["cosmwasm"], | ||
feeCurrencies: [ | ||
{ | ||
coinDecimals: 18, | ||
coinDenom: "ARCH", | ||
coinGeckoId: "archway", | ||
coinMinimalDenom: "aarch", | ||
gasPriceStep: { | ||
low: 1000000000000, | ||
average: 1500000000000, | ||
high: 2000000000000, | ||
}, | ||
coinImageUrl: "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/archway/aarch.png", | ||
}, | ||
], | ||
rest: "https://api.mainnet.archway.io", | ||
rpc: "https://rpc.mainnet.archway.io", | ||
stakeCurrency: { | ||
coinDecimals: 18, | ||
coinDenom: "ARCH", | ||
coinGeckoId: "archway", | ||
coinMinimalDenom: "aarch", | ||
coinImageUrl: "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/archway/aarch.png", | ||
}, | ||
nodeProvider: { | ||
name: "Phi Labs", | ||
email: "[email protected]", | ||
website: "https://philabs.xyz", | ||
}, | ||
walletUrlForStaking: "https://wallet.keplr.app/chains/archway", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import { ChainInfo } from "@keplr-wallet/types"; | ||
import { chains } from "chain-registry"; | ||
|
||
const chain = chains.find(({ chain_name }) => chain_name === "desmos"); | ||
if (!chain) { | ||
throw new Error(`Not found chain ${"desmos-mainnet"} in registry`); | ||
} | ||
export const DesmosMainnet: ChainInfo = { | ||
chainId: "desmos-mainnet", | ||
chainName: "Desmos", | ||
chainSymbolImageUrl: "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/desmos-mainnet/chain.png", | ||
rpc: "https://rpc.mainnet.desmos.network", | ||
rest: "https://api.mainnet.desmos.network", | ||
bip44: { | ||
coinType: 852, | ||
}, | ||
bech32Config: { | ||
bech32PrefixAccAddr: "desmos", | ||
bech32PrefixAccPub: "desmospub", | ||
bech32PrefixValAddr: "desmosvaloper", | ||
bech32PrefixValPub: "desmosvaloperpub", | ||
bech32PrefixConsAddr: "desmosvalcons", | ||
bech32PrefixConsPub: "desmosvalconspub", | ||
}, | ||
currencies: [ | ||
{ | ||
coinDenom: "DSM", | ||
coinMinimalDenom: "udsm", | ||
coinDecimals: 6, | ||
coinGeckoId: "desmos", | ||
}, | ||
], | ||
feeCurrencies: [ | ||
{ | ||
coinDenom: "DSM", | ||
coinMinimalDenom: "udsm", | ||
coinDecimals: 6, | ||
coinGeckoId: "desmos", | ||
gasPriceStep: { | ||
low: 0.01, | ||
average: 0.03, | ||
high: 0.05, | ||
}, | ||
}, | ||
], | ||
stakeCurrency: { | ||
coinDenom: "DSM", | ||
coinMinimalDenom: "udsm", | ||
coinDecimals: 6, | ||
coinGeckoId: "desmos", | ||
}, | ||
features: [], | ||
}; |
Oops, something went wrong.