-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: upgrade and adjust the tomo connect to pave way for broadcast BB… (
#273) * feat: upgrade tomo connect
- Loading branch information
1 parent
f6e7eef
commit 9fa36c9
Showing
10 changed files
with
110 additions
and
48 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,57 @@ | ||
// Temporary solution until we have a stable chain registry | ||
// The values here shall match from https://rpc.devnet.babylonlabs.io/genesis? | ||
export const keplrRegistry = { | ||
chainId: "devnet-4", | ||
chainName: "Babylon Devnet 4", | ||
chainSymbolImageUrl: | ||
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/bbn-dev/chain.png", | ||
rpc: "https://rpc.devnet.babylonlabs.io", | ||
rest: "https://lcd.devnet.babylonlabs.io", | ||
nodeProvider: { | ||
name: "Babylonchain", | ||
email: "[email protected]", | ||
website: "https://babylonlabs.io/", | ||
}, | ||
bip44: { | ||
coinType: 118, | ||
}, | ||
bech32Config: { | ||
bech32PrefixAccAddr: "bbn", | ||
bech32PrefixAccPub: "bbnpub", | ||
bech32PrefixValAddr: "bbnvaloper", | ||
bech32PrefixValPub: "bbnvaloperpub", | ||
bech32PrefixConsAddr: "bbnvalcons", | ||
bech32PrefixConsPub: "bbnvalconspub", | ||
}, | ||
currencies: [ | ||
{ | ||
coinDenom: "BBN", | ||
coinMinimalDenom: "ubbn", | ||
coinDecimals: 6, | ||
coinImageUrl: | ||
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/bbn-dev/chain.png", | ||
}, | ||
], | ||
feeCurrencies: [ | ||
{ | ||
coinDenom: "BBN", | ||
coinMinimalDenom: "ubbn", | ||
coinDecimals: 6, | ||
coinImageUrl: | ||
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/bbn-dev/chain.png", | ||
gasPriceStep: { | ||
low: 0.007, | ||
average: 0.007, | ||
high: 0.01, | ||
}, | ||
}, | ||
], | ||
stakeCurrency: { | ||
coinDenom: "BBN", | ||
coinMinimalDenom: "ubbn", | ||
coinDecimals: 6, | ||
coinImageUrl: | ||
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/bbn-dev/chain.png", | ||
}, | ||
features: ["cosmwasm"], | ||
}; |
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,6 @@ | ||
import { Registry } from "@cosmjs/proto-signing"; | ||
|
||
export const getBbnRegistry = (): Registry => { | ||
// TODO: Implement the BBN registry | ||
return new Registry(); | ||
}; |