Overview
Melt uses LayerZero V2 as its cross-chain messaging layer. BothMeltHub and MeltBridge extend the OApp (Omnichain Application) base contract.
Message Flow
Bridge In (Source → HyperEVM)
Bridge Out (HyperEVM → Source)
Gas Configuration
| Operation | Gas Limit |
|---|---|
| Standard bridge | 200,000 |
| Bridge with HyperCore routing | 400,000 (2x multiplier) |
toCore flag doubles the gas limit because HyperCore precompile calls require additional gas.
Peer Configuration
MeltHub and MeltBridge must be registered as peers:OFT Support
MeltAsset also extends OFTCore, enabling potential future cross-chain token transfers without going through the Hub/Bridge path.