-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Motivation
We want to enable cross-chain transfers for our existing token through the LayerZero OFT (Omnichain Fungible Token) standard.
However, instead of upgrading or redeploying the original token contract, we’ll introduce an OFT-compatible wrapper.
This approach allows us to integrate bridge functionality while preserving the existing token’s address, state, and user balances.
Details
- Implement an OFT wrapper contract that holds the original token and has permission to mint the G$ token.
- Integrate with LayerZero endpoints for message passing and bridge operations.
- Support bridge transfer, mint, and burn functions following OFT standards.
- Ensure compatibility with LayerZero’s latest OFTv2 specification (or should we use OFTv1?).
- Add unit tests for wrapping, unwrapping, and cross-chain transfers.
- Provide deployment and configuration scripts for supported chains.
Metadata
Metadata
Assignees
Labels
No labels