hedera-smart-contracts icon indicating copy to clipboard operation
hedera-smart-contracts copied to clipboard

Deploy LayerZero End2End Communication Between Hedera Testnet and Sepolia

Open Ferparishuertas opened this issue 6 months ago • 1 comments

Problem

Stargate (Layezero bridge) needs that we enable a testing scenario for HTS tokens and ERC20 , to test moving whbar, and HTS tokens across the two networks.

This tests will enable their testing and June Production rollout of Whbar and other tokens on mainnet

Solution

We need to use the existing OFTAdapter on Sepolia and on Hedera we need to use the deployed HTSConnector for the HTS token, and OFT Adapter, as connectivity rails.

We need to configure Layerzero communication to able to bridge WHBAR, and HTS tokens.

Once configured we need to:

Case A) WHBAR

  • Mint Whbar tokens
  • Invoke OFTAdapter in Hedera
  • Check that Tokens are Created on sepolia
  • Do the reverse process

Case B) Custom HTS Token

  • Create an ERC20 on Sepolia to bridge to
  • Create a Custom HTS token
  • Invoke HTSConnector
  • Check that Tokens are Created on sepolia
  • Do the reverse process

Pls implement a custom script for CASE A, and CASE B Pls creat a deployment script, that can be used by the devops team to deploy Connector and adapter if needed, to use devops managed keys.

Pls before implementing write an ADR to validate the implementation strategy

Alternatives

No response

Ferparishuertas avatar May 15 '25 09:05 Ferparishuertas

Moving this ticket to https://github.com/hiero-ledger/hiero-json-rpc-relay/issues/3799

quiet-node avatar May 27 '25 20:05 quiet-node