Prerequisites
- Foundry installed
- Private key with funds on target chain
- LayerZero endpoint addresses for source and destination chains
Environment Setup
Create a.env file from the template:
Build & Test
Deployment Order
Contracts must be deployed in this order:Deploy MeltFactory (HyperEVM)
Deploy the factory with reference to MeltHub, LayerZero endpoint, and OFT owner.
Deploy MeltBridge (Source Chain)
Deploy on each source chain with LayerZero endpoint, owner, and HyperEVM endpoint ID.
