Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Decorators (migrated)

The legacy @tevm/decorators package (requestEip1193, ethActions, tevmActions, tevmSend) was removed in the native ZEVM engine migration.

Native replacements

  • EIP-1193 & JSON-RPC: createZevmEngine() (alias createTevmNode()) exposes request() and rpc() directly — no decorator required.
  • Viem & TEVM actions: createMemoryClient() attaches viem publicActions, walletActions, testActions({ mode: 'anvil' }), and tevmViemActions().
  • Remote HTTP viem client: extend any viem client with tevmViemExtension() from @tevm/viem, or call createHttpClient({ url }) from tevm/http-client.

See Migrating from the JS engine and Engine API.