CoreWriter Integration
The CoreWriter flow extends the standard bridge integration to deliver funds directly into HyperCore (Hyperliquid spot) or into HyperEVM tokens in one step. It builds on the Bridge Integration flow, adding CoreWriter-specific parameters and constraints.
Base URL: https://bridge-ag-api.hyperflow.fun/v1 — mainnet only. Full parameter documentation in the OpenAPI spec.
Get your partner code
Before initiating CoreWriter bridge transactions, obtain a unique partner code (e.g. lifi) from the HyperFlow team:
- Discord: discord.gg/GGDmD4K9CK
- Telegram: t.me/hyperflow_fun
- X: @HyperFlow_fun
Generate a quote
Call /quote as in the base bridge flow, with these CoreWriter-specific rules:
fromChainmust always behyperevm.toChainmust behypercoreorhyperevm:-
If
toChain = "hypercore",toTokenmust be a token id retrieved from the Hyperliquid Spot Metadata API: -
If
toChain = "hyperevm", the amount must be worth at least $100 (based on the source token value) for quotes to be returned.
-
sourcemust include your partner code.
Example 1 — bridge 10 HYPE from hyperevm → hypercore:
Example 2 — bridge 10 HYPE to USD₮0 (USDT0) on HyperEVM (similar to a swap):
The response includes a requestId required for the next step. It expires after 30 seconds.
Assemble the transaction
Identical to the base bridge flow — request encoded transaction data from /encode with the requestId:
/encode returns the transaction under data (fields to, value, data — see the Bridge Integration for the full response shape). Since CoreWriter flows always start from HyperEVM, submit on the HyperEVM RPC.
Need help?
- Base flow details: Bridge Integration
- Partnership setup: contact the HyperFlow team
- Live support: Discord