一键导入
warp-route
// Use this skill when creating, updating, deploying, applying, verifying, or manually testing Hyperlane Warp Routes in this repository (including EVM and Celestia flows).
// Use this skill when creating, updating, deploying, applying, verifying, or manually testing Hyperlane Warp Routes in this repository (including EVM and Celestia flows).
| name | warp-route |
| description | Use this skill when creating, updating, deploying, applying, verifying, or manually testing Hyperlane Warp Routes in this repository (including EVM and Celestia flows). |
Use this skill when the task involves any of the following in this repo:
deployments/warp_routes/<TOKEN>/*-deploy.yamlhyperlane warp deploy or hyperlane warp apply*-config.yaml warp artifactsdeployments/warp_routes/warpRouteConfigs.yamlcast (EVM) or celestia-appd (Celestia)Before drafting configs or running any deploy/apply command, explicitly ask the user for missing route inputs.
Minimum required inputs:
USDC)sepolia, edentestnet, celestiatestnet)Also ask/confirm when unclear:
Always use local docs and local registry files first:
docs/warp-routes.mddocs/warp-route-multichain.mddocs/manual-warp-transfer.mddeployments/warp_routes/schema.jsondeployments/warp_routes/warpRouteConfigs.yamldeployments/warp_routes/<TOKEN>/Do not rely on memory for chain names, domain IDs, token IDs, or router addresses; copy from repo files.
Before CLI operations, ensure:
HYP_KEY is set for EVM-chain signingHYP_KEY_COSMOSNATIVE is set for Celestia/cosmosnative signingOptional:
HYP_MNEMONIC if direct celestia-appd key recovery is neededHYP_CHAINS_<CHAIN>_SIGNER_KEY from .envAlways verify deployer configuration before running hyperlane warp deploy or hyperlane warp apply.
Default behavior:
HYP_KEY for EVM chainsHYP_KEY_COSMOSNATIVE for Celestia/cosmosnative chainsIf either required key is missing:
HYP_KEY / HYP_KEY_COSMOSNATIVE as needed).chains/<chain>/metadata.yaml.deployments/warp_routes/<TOKEN>/<chainA>-<chainB>-...-deploy.yamlcollateral, synthetic, or native) and decimals.owner, type, token/denom, name, symbol, decimals.scale when needed).Deploy new route, where <TOKEN> is the token symbol in the warp routes deployments directory of the registry, e.g. ETH:
hyperlane warp deploy \
--warp-route-id <TOKEN>
--registry .
Apply update to existing route:
hyperlane warp apply \
--symbol <TOKEN> \
--config ./deployments/warp_routes/<TOKEN>/<route>-deploy.yaml \
--registry .
*-config.yaml.deployments/warp_routes/warpRouteConfigs.yaml with the route block.Read route:
hyperlane warp read --symbol <TOKEN> --registry .
Checks:
standard matches intended type per chaincollateralAddressOrDenom exists on collateral routeIf multiple routes share the same symbol, select the intended route ID when prompted.
Use docs/manual-warp-transfer.md:
cast (approve where collateral applies, then transferRemote)celestia-appd tx warp transferUseful Celestia preflight queries:
celestia-appd query warp token <token-id> --node <rpc> -o json
celestia-appd query warp remote-routers <token-id> --node <rpc> -o json
celestia-appd query warp quote-transfer <token-id> <destination-domain> --node <rpc> -o json
--registry . for Hyperlane CLI commands in this repo.