Skip to content

Commit

Permalink
feat: add Boba BNB (#283)
Browse files Browse the repository at this point in the history
### Description

Add Boba BNB

<!--
Summary of change.
Example: Add sepolia chain
-->

### Backward compatibility

<!--
Are these changes backward compatible? Note that additions are backwards
compatible.

Yes/No
-->

### Testing

<!--
Have any new metadata configs and deployment addresses been used with
any Hyperlane tooling, such as the CLI?
-->
```
~/.hyperlane/chains/boba main* ❯ hyperlane send message --relay                                                                   3m 15s 01:43:55 PM
Hyperlane CLI
? Select network type Testnet
? Select the origin chain holesky
? Select network type Mainnet
? Select the destination chain bobabnb
Running pre-flight checks for chains...
✅ Chains are valid
✅ Signer is valid
✅ Balances are sufficient
Dispatching message
Pending https://holesky.etherscan.io/tx/0x206d72f2395f76b465f7c522cc40108f523b8c223579a77ecc1c60b348eee134 (waiting 1 blocks for confirmation)
Sent message from holesky to 0xfe52E6569d642ef246d8252964aeCd158C169308 on bobabnb.
Message ID: 0x19611555182dc816766abff4d623525e240f2e3589f95c29d65de21a1f7df85f
Message:
    parsed:
      version: 3
      nonce: 418
      origin: 17000
      sender: "0x000000000000000000000000239cd87712b2cb0c35f1deaf4fb68b8f9585e9d1"
      destination: 56288
      recipient: "0x000000000000000000000000fe52e6569d642ef246d8252964aecd158c169308"
      body: "0x48656c6c6f21"
      originChain: holesky
      destinationChain: bobabnb
    id: "0x19611555182dc816766abff4d623525e240f2e3589f95c29d65de21a1f7df85f"
    message: "0x03000001a200004268000000000000000000000000239cd87712b2cb0c35f1deaf4\
      fb68b8f9585e9d10000dbe0000000000000000000000000fe52e6569d642ef246d8252964aecd\
      158c16930848656c6c6f21"

Unhandled error case in combined provider error handler
Unhandled error case in combined provider error handler
Unhandled error case in combined provider error handler
Attempting self-relay of message
Preparing to relay message 0x19611555182dc816766abff4d623525e240f2e3589f95c29d65de21a1f7df85f
Unhandled error case in combined provider error handler
Unhandled error case in combined provider error handler
Unhandled error case in combined provider error handler
{
  message: {
    id: '0x19611555182dc816766abff4d623525e240f2e3589f95c29d65de21a1f7df85f',
    message: '0x03000001a200004268000000000000000000000000239cd87712b2cb0c35f1deaf4fb68b8f9585e9d10000dbe0000000000000000000000000fe52e6569d642ef246d8252964aecd158c16930848656c6c6f21',
    parsed: {
      version: 3,
      nonce: 418,
      origin: 17000,
      sender: '0x000000000000000000000000239cd87712b2cb0c35f1deaf4fb68b8f9585e9d1',
      destination: 56288,
      recipient: '0x000000000000000000000000fe52e6569d642ef246d8252964aecd158c169308',
      body: '0x48656c6c6f21'
    }
  },
  metadata: '0x'
} Relaying message 0x19611555182dc816766abff4d623525e240f2e3589f95c29d65de21a1f7df85f
Pending https://bobascan.com/tx/0xa438b7806318c86d4abc349ef243c17dc009374f859711f9bf182eb4a4c79dc9 (waiting 1 blocks for confirmation)
Message was self-relayed!
```
  • Loading branch information
boyuan-chen authored Oct 21, 2024
1 parent 07eaad9 commit d006d5c
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tame-knives-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hyperlane-xyz/registry": minor
---

feat: add Boba BNB
14 changes: 14 additions & 0 deletions chains/bobabnb/addresses.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
domainRoutingIsmFactory: "0x5E7c5a52816015083dF35302d763e509a501F93b"
interchainAccountIsm: "0xF1CBbDf9c755f62555844dc733bFDe031f14ae98"
interchainAccountRouter: "0xD67E17f9846580Dc766E9850bC7472Bd6b66A575"
mailbox: "0x2bBe16009709B341b3D1Cf05683a929803EcAc9a"
merkleTreeHook: "0x862E8e466ac49c1B076322AabCd4156326C47890"
proxyAdmin: "0xB1fCbE38030582f29259409426FfBaBA04113bfC"
staticAggregationHookFactory: "0x36eC8308B3d1c9a26521Ba796709863Ac6d771C8"
staticAggregationIsmFactory: "0xDE1c3EC137B5735f1F07C718E7db50D6C9FbC616"
staticMerkleRootMultisigIsmFactory: "0xa64149b3F5a8f752fC47749a2c03A958eAeFd565"
staticMerkleRootWeightedMultisigIsmFactory: "0x87cb152d96303DedbAd0992706C3dBeC2855d1CD"
staticMessageIdMultisigIsmFactory: "0xAAbCCeAdAD68069Adf2d5154E4DFdD4136d88243"
staticMessageIdWeightedMultisigIsmFactory: "0x151FC350ca8f274B59FEBC1c24c6eB89a531789B"
testRecipient: "0xfe52E6569d642ef246d8252964aeCd158C169308"
validatorAnnounce: "0x4d574c2AA239c4Ae4e17E084E518Fe928403FD56"
1 change: 1 addition & 0 deletions chains/bobabnb/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions chains/bobabnb/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# yaml-language-server: $schema=../schema.json
blockExplorers:
- apiUrl: https://api.routescan.io/v2/network/mainnet/evm/56288/etherscan/api
family: routescan
name: bobascan
url: https://bobascan.com
chainId: 56288
deployer:
name: Boba Network
url: https://boba.network
displayName: Boba BNB
domainId: 56288
gnosisSafeTransactionServiceUrl: https://transaction.safe.boba.network/
isTestnet: false
name: bobabnb
nativeToken:
decimals: 18
name: Boba Token
symbol: BOBA
protocol: ethereum
rpcUrls:
- http: https://bnb.boba.network

0 comments on commit d006d5c

Please sign in to comment.