Warp fork

From hyperlane-xyz/hyperlane-monorepo · View interactive version

Warp fork is an AI agent skill from the GitHub repository hyperlane-xyz/hyperlane-monorepo. Fork a warp route from the local HTTP registry for development and testing. Forks each chain with the right local node per protocol — anvil for EVM chains, surfpool (Solana mainnet fork) for Sealevel chains. Use when the goal is to simulate transactions on a set of local forks before submitting them

How to use this skill

Skill file

Warp Fork

Fork a warp route using the local HTTP registry.

Instructions:

  1. Check if http://localhost:3333 is running. If not, run the start-http-registry SKILL. If that fails, ask the user to prompt the user for an alternate registry URL to use instead of http://localhost:3333.
  1. First, ask the user to prompt the user for the warp route ID:
  1. Run the command in the background:

```bash

pnpm -C typescript/cli exec tsx cli.ts warp fork --registry $REGISTRY --warpRouteId $WARP_ROUTE_ID

```

  1. After starting, report the task/shell ID and the fork registry server port back to the user.
  1. Remind the user they can stop it later with KillShell using that ID

Prerequisites:

Related skills:

Example output:

Started warp fork for EZETH/ethereum-megaeth in background (shell ID: shell_abc123).

To stop it later, I can use KillShell with that ID.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.