-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(statics): add babylon to statics #5355
Conversation
9e413c9
to
9c8ddc0
Compare
0d6e75c
to
8aa2d8e
Compare
modules/statics/src/coins.ts
Outdated
account( | ||
'ee22282b-c307-4861-b706-d9a178326ad5', | ||
'tbaby', | ||
'Testnet Baby', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be named as Testnet Babylon
'baby', | ||
'Babylon', | ||
Networks.main.baby, | ||
6, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please share the babylon docs reference in PR description which highlights 6 decimal places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated the description with the right reference
modules/statics/src/networks.ts
Outdated
class Baby extends Mainnet implements AccountNetwork { | ||
name = 'Babylon'; | ||
family = CoinFamily.BABY; | ||
explorerUrl = ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can put explorerUrl as https://babylon.explorers.guru/
Explorers.guru followed similar pattern for other chains, so we can safely assume mainnet explorer URL will be same.
modules/statics/src/networks.ts
Outdated
class BabyTestnet extends Testnet implements AccountNetwork { | ||
name = 'Testnet Babylon'; | ||
family = CoinFamily.BABY; | ||
explorerUrl = 'https://testnet.babylon.explorers.guru/'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
explorerUrl = 'https://testnet.babylon.explorers.guru/'; | |
explorerUrl = 'https://testnet.babylon.explorers.guru/transaction/'; |
It should be transactions URL. Applies to mainnet class as well
8aa2d8e
to
49d5583
Compare
TICKET: COIN-2691
Added babylon to statics. Currently since mainnet is not yet live, have left the explorer url empty. Have created a ticket to add the mainnet explorer link later on : https://bitgoinc.atlassian.net/browse/COIN-2758
Phase-2 Testnet Network Information
Following is a list of the key network details of the Babylon Phase-2 Testnet (testnet-5):
RPC nodes can be found here
Chain ID: bbn-test-5
Bech32 Configuration can be found here
Token minimum denomination: ubbn (6 decimals)
Human-readable denomination: tbaby (test baby)
Reference - Babylon Github: https://github.com/babylonlabs-io/networks/blob/030a0c7b29b1156840383e09816b4187560c41e4/bbn-test-5/integration/wallet/babylon-wallet.md