A tool for bridging USDC between HyperLiquid Core and HyperLiquid HyperEVM
HyperCoreUSDC enables seamless bridging of USDC between HyperLiquid Core and HyperLiquid HyperEVM. This tool facilitates secure and efficient cross-chain USDC transfers within the HyperLiquid ecosystem.
-
Deposit Flow (Core to HyperEVM)
- Create a Wallet contract using the WalletFactory
- Top up USDC at your Wallet's address on HyperLiquid Core spot
- Mint equivalent HyperCore USDC ERC20 token on HyperEVM
-
Withdrawal Flow (HyperEVM to Core)
- Burn HyperCore USDC on HyperEVM
- Receive the equivalent USDC back on HyperLiquid Core
# Install dependencies
forge install
# Run tests
forge test- Deploy a new Wallet using the WalletFactory contract
- Deposit USDC to your Wallet's address on HyperLiquid Core spot manually.
- Call the mint function on your Wallet contract to receive HyperCore USDC on HyperEVM
- To withdraw, call the burn function to receive your USDC back on Core