# TEVM > In-memory Ethereum Virtual Machine and full node for TypeScript, powered by native Zig (ZEVM) and Viem. Built publicly on Smithers Cloud. - Public Coding Factory: https://smithers.sh/evmts/tevm - Authenticated MCP Endpoint: https://smithers.sh/evmts/tevm/mcp - Shared Build Object Store: https://build.smithers.sh - GitHub Mirror: https://github.com/evmts/tevm ## Introduction - [TEVM Node](https://node.tevm.sh/index.md) - [Architecture](https://node.tevm.sh/introduction/architecture-overview.md): How MemoryClient, ZevmEngine, Server transports, ZEVM, Voltaire, and Guillotine Mini divide ownership and process requests - [What is Tevm?](https://node.tevm.sh/introduction/what-is-tevm-node.md): An in-process native Ethereum node for Node.js, backed by ZEVM, Voltaire, and Guillotine Mini, with viem-native APIs and Solidity bundler plugins - [Why embed an EVM?](https://node.tevm.sh/introduction/why-run-ethereum-in-js.md): Why Tevm exists — TypeScript + EVM in one process, native execution speed, direct Solidity imports, and instant test isolation ## Getting Started - [Tutorial: Solidity Bundler](https://node.tevm.sh/getting-started/bundler.md): Import .sol files directly into TypeScript with full ABI types, bytecode, and IDE hover support - [Tutorial: Ethers v6](https://node.tevm.sh/getting-started/ethers.md): Connect ethers v6 to Tevm with TevmProvider or BrowserProvider - [Quickstart](https://node.tevm.sh/getting-started/overview.md): Install Tevm, run your first in-process Ethereum transaction, deploy bytecode, and fork a live chain in 60 seconds - [Community](https://node.tevm.sh/getting-started/testimonials.md): What developers are saying about Tevm and how to reach the team - [Tutorial: Viem](https://node.tevm.sh/getting-started/viem.md): Use Tevm as a batteries-included viem client or attach createTevmTransport to a minimal tree-shakeable viem client ## Core Architecture - [Client & Engine Options](https://node.tevm.sh/core/create-tevm-node.md): Complete configuration reference for createMemoryClient, createTevmTransport, and createZevmEngine - [Forking Upstream Chains](https://node.tevm.sh/core/forking.md): Overlay local native execution on an upstream EVM JSON-RPC endpoint at a pinned block - [Accounts, Storage & Snapshots](https://node.tevm.sh/core/managing-state.md): Inspect and mutate accounts, code, and storage slots, rewind state with snapshots, and serialize portable ZEVM state blobs - [Migrating from the JS Engine](https://node.tevm.sh/core/migration-from-js-engine.md): Concrete mapping from the legacy EthereumJS-based Tevm engine to the native ZEVM engine - [Mining & Block Production](https://node.tevm.sh/core/mining-modes.md): Configure automining, manual mining, and interval mining in Tevm, and observe mined blocks - [Runtime Model & ZEVM](https://node.tevm.sh/core/runtime-model.md): How Tevm embeds ZEVM, Voltaire, and Guillotine Mini, and where Tevm - [Engine API (ZevmEngine)](https://node.tevm.sh/core/tevm-node-interface.md): Low-level Node-API wrapper over ZEVM — serialized request(), raw rpc(), lifecycle events, and NativeRpcError ## API Reference - [Account Management](https://node.tevm.sh/api/account-management.md): Read and write account balance, nonce, bytecode, and storage slots with tevmGetAccount, tevmSetAccount, tevmDeal, and PREFUNDED_ACCOUNTS - [Decorators (Removed in Native Engine)](https://node.tevm.sh/api/decorators.md): How native ZevmEngine and viem client extensions replace the legacy @tevm/decorators package - [Tracing & Engine Events](https://node.tevm.sh/api/evm-events.md): Capture native Guillotine Mini opcode traces with debug_traceCall and subscribe to ZevmEngine lifecycle events - [JSON-RPC Reference](https://node.tevm.sh/api/json-rpc.md): Namespaces, wire formatting rules, error codes, and transport boundaries for Tevm - [MCP Server for AI Agents](https://node.tevm.sh/api/mcp-server.md): Give Claude, Cursor, Codex, or Antigravity isolated native EVM sessions, Solidity compilation, forking, and opcode tracing with @tevm/mcp - [Client Methods Map](https://node.tevm.sh/api/methods.md): Quick-reference map of every method surface on MemoryClient and ZevmEngine - [Package Overview](https://node.tevm.sh/api/packages.md): Every workspace package and subpath export in the Tevm monorepo - [HTTP, WebSocket & IPC Server](https://node.tevm.sh/api/server.md): Expose a native Tevm engine over HTTP, WebSocket subscriptions, Unix IPC, Express, and Next.js with @tevm/server and @tevm/http-client - [Call, Contract & Deploy](https://node.tevm.sh/api/tevm-call.md): Complete API reference for tevmCall, tevmContract, and tevmDeploy — simulations, state overrides, transactions, deployments, and revert data - [VM & Submodules](https://node.tevm.sh/api/vm-and-submodules.md): How native ZEVM, Voltaire, and Guillotine Mini replace the legacy JavaScript VM submodules ## Examples - [Browser Trace Viewer](https://node.tevm.sh/examples/debugger-ui.md): Pair a local @tevm/server with a browser UI that calls debug_traceCall and renders Guillotine Mini opcode steps - [Ethers v6 Cookbook](https://node.tevm.sh/examples/ethers.md): Deploy contracts, send transactions, and manipulate local state with ethers v6 and TevmProvider - [Forking Mainnet](https://node.tevm.sh/examples/forking-mainnet.md): Fork live mainnet or L2 state locally, impersonate whales, simulate swaps, and run deterministic local fork tests - [Testing with Vitest](https://node.tevm.sh/examples/local-testing.md): Write fast, isolated, deterministic smart-contract tests with Tevm and Vitest — snapshots, time travel, deployments, and revert traces - [Viem Cookbook](https://node.tevm.sh/examples/viem.md): Practical patterns for using viem public, wallet, test, and TEVM actions on one native engine ## Advanced Guides - [Custom Precompiles (Removed in Native Engine)](https://node.tevm.sh/advanced/custom-precompiles.md): Status of JavaScript custom precompiles in the native ZEVM engine and supported alternatives - [Performance Profiling](https://node.tevm.sh/advanced/performance-profiler.md): Profile opcode gas consumption with native debug_traceCall traces - [Receipts & Logs](https://node.tevm.sh/advanced/receipts-and-logs.md): Query mined receipts, block receipts, event logs, and live WebSocket log subscriptions - [Transaction Pool](https://node.tevm.sh/advanced/txpool.md): Inspect pending and queued transactions with txpool_* JSON-RPC methods ## Package & CLI Reference - [@tevm/actions](https://node.tevm.sh/reference/actions.md): Browser-safe standalone RPC action helpers over any RpcClient - [@tevm/address](https://node.tevm.sh/reference/address.md) - [Block](https://node.tevm.sh/reference/block.md): The Block class provides functionality for working with Ethereum blocks. - [@tevm/blockchain](https://node.tevm.sh/reference/blockchain.md) - [Bundler Plugins](https://node.tevm.sh/reference/bundler-plugins.md) - [Bundler Reference](https://node.tevm.sh/reference/bundler.md): A reference guide to Tevm - [Bundler Internals](https://node.tevm.sh/reference/bundler/internals.md): Ownership boundaries inside the Tevm Solidity import pipeline - [Bundler Methods and Exports](https://node.tevm.sh/reference/bundler/methods.md): Supported Tevm bundler package entry points in rc.151 - [Bundler Overview](https://node.tevm.sh/reference/bundler/overview.md): Tevm Solidity import pipeline and supported plugin entry points - [Bundler Troubleshooting](https://node.tevm.sh/reference/bundler/troubleshooting.md): Solutions for common Tevm bundler issues - [Built-in chain presets](https://node.tevm.sh/reference/chain-presets.md) - [tevm call](https://node.tevm.sh/reference/cli/call.md) - [tevm compile](https://node.tevm.sh/reference/cli/compile.md) - [tevm contract](https://node.tevm.sh/reference/cli/contract.md) - [tevm action create-access-list](https://node.tevm.sh/reference/cli/create-access-list.md) - [tevm create-block-filter](https://node.tevm.sh/reference/cli/create-block-filter.md) - [tevm create-contract-event-filter](https://node.tevm.sh/reference/cli/create-contract-event-filter.md) - [tevm create-event-filter](https://node.tevm.sh/reference/cli/create-event-filter.md) - [tevm deploy](https://node.tevm.sh/reference/cli/deploy.md) - [tevm dump-state](https://node.tevm.sh/reference/cli/dump-state.md) - [tevm estimate-fees-per-gas](https://node.tevm.sh/reference/cli/estimate-fees-per-gas.md) - [tevm estimate-gas](https://node.tevm.sh/reference/cli/estimate-gas.md) - [tevm get-account](https://node.tevm.sh/reference/cli/get-account.md) - [tevm action get-balance](https://node.tevm.sh/reference/cli/get-balance.md) - [tevm get-block-number](https://node.tevm.sh/reference/cli/get-block-number.md) - [tevm get-block](https://node.tevm.sh/reference/cli/get-block.md) - [tevm get-bytecode](https://node.tevm.sh/reference/cli/get-bytecode.md) - [tevm get-chain-id](https://node.tevm.sh/reference/cli/get-chain-id.md) - [tevm get-ens-address](https://node.tevm.sh/reference/cli/get-ens-address.md) - [tevm get-ens-name](https://node.tevm.sh/reference/cli/get-ens-name.md) - [tevm get-ens-text](https://node.tevm.sh/reference/cli/get-ens-text.md) - [tevm get-gas-price](https://node.tevm.sh/reference/cli/get-gas-price.md) - [tevm get-storage-at](https://node.tevm.sh/reference/cli/get-storage-at.md) - [tevm get-transaction](https://node.tevm.sh/reference/cli/get-transaction.md) - [Tevm CLI](https://node.tevm.sh/reference/cli.md) - [tevm load-state](https://node.tevm.sh/reference/cli/load-state.md) - [tevm mine](https://node.tevm.sh/reference/cli/mine.md) - [tevm multicall](https://node.tevm.sh/reference/cli/multicall.md) - [tevm read-contract](https://node.tevm.sh/reference/cli/read-contract.md) - [tevm action send-raw-transaction](https://node.tevm.sh/reference/cli/send-raw-transaction.md) - [tevm serve](https://node.tevm.sh/reference/cli/serve.md) - [tevm set-account](https://node.tevm.sh/reference/cli/set-account.md) - [tevm set-code](https://node.tevm.sh/reference/cli/set-code.md) - [tevm set-nonce](https://node.tevm.sh/reference/cli/set-nonce.md) - [tevm set-storage-at](https://node.tevm.sh/reference/cli/set-storage-at.md) - [tevm action simulate-calls](https://node.tevm.sh/reference/cli/simulate-calls.md) - [@tevm/common](https://node.tevm.sh/reference/common.md): Viem chain presets and tevmDefault chain configuration - [Solidity contract type generator](https://node.tevm.sh/reference/contract-type-generator.md) - [@tevm/contract](https://node.tevm.sh/reference/contract.md): Type-safe contract descriptors (createContract) and bundled test fixtures (SimpleContract, ERC20, ERC721, ErrorContract) - [@tevm/decorators](https://node.tevm.sh/reference/decorators.md) - [EVM](https://node.tevm.sh/reference/evm.md): ZEVM-backed EVM facade used by Tevm VM, TevmNode, and MemoryClient - [Package Reference](https://node.tevm.sh/reference.md): Reference index for all active Tevm packages - [@tevm/memory-client](https://node.tevm.sh/reference/memory-client.md): API reference for createMemoryClient, createTevmTransport, tevmViemActions, and tevmReady - [@tevm/node](https://node.tevm.sh/reference/node.md): API reference for createZevmEngine, createTevmNode, NativeRpcError, and ZevmEngine types - [@tevm/receipt-manager](https://node.tevm.sh/reference/receipt-manager.md) - [@tevm/rlp API Reference](https://node.tevm.sh/reference/rlp.md) - [@tevm/server](https://node.tevm.sh/reference/server.md): API reference for HTTP, WebSocket, Unix IPC, Express, and Next.js JSON-RPC servers - [@tevm/state](https://node.tevm.sh/reference/state.md) - [Reusable EVM test fixtures](https://node.tevm.sh/reference/test-fixtures.md) - [@tevm/trie API Reference](https://node.tevm.sh/reference/trie.md) - [Transactions](https://node.tevm.sh/reference/tx.md): ZEVM-backed transaction facade, transaction types, and Tevm impersonated transactions - [@tevm/txpool](https://node.tevm.sh/reference/txpool.md) - [@tevm/utils](https://node.tevm.sh/reference/utils.md): Shared viem encoding/decoding utilities, prefunded dev accounts, and JSON serialization helpers - [Virtual Machine](https://node.tevm.sh/reference/vm.md): Reference for the low-level Tevm VM ## Engineering Wiki and Mythical History - [Start here](https://node.tevm.sh/wiki/start-here.md): Navigate TEVM's packages, native ZEVM core, and public Smithers Cloud coding factory. - [TEVM layered architecture](https://node.tevm.sh/wiki/architecture.md): Trace requests from the tevm facade through memory-client, actions, node, and native ZEVM. - [Native ZEVM engine and Smithers dogfooding](https://node.tevm.sh/wiki/zevm-native-engine.md): Explain how Smithers builds, pins, stamps, and caches native ZEVM, Voltaire, and Guillotine Mini. - [JSON-RPC wire contract and error model](https://node.tevm.sh/wiki/json-rpc-contract.md): Specify canonical hex encoding, negative error codes, BaseError hierarchy, and regression proof. - [Smithers Cloud coding factory and trust boundary](https://node.tevm.sh/wiki/coding-factory.md): Document QuickJS-planned flows, shared Smithers Cloud object store cache, and trusted vs untrusted execution. - [Public authenticated MCP and one-time sandbox auth](https://node.tevm.sh/wiki/mcp-and-byoa.md): Show how agents connect via OAuth 2.1 to smithers.sh/evmts/tevm/mcp and mint single-use sandbox tokens. - [Lighthouse-style backpressure and Uphill audit](https://node.tevm.sh/wiki/backpressure-and-uphill.md): Detail TEVM's continuous Uphill metrics across Footprint, Quality, Architecture, and Factory Health. - [Automated release, GitHub mirror, and docs publishing](https://node.tevm.sh/wiki/release-and-docs-pipeline.md): Trace how merges from Smithers Cloud to GitHub main trigger Changesets releases, docs, and llms.txt. - [Mythical History](https://node.tevm.sh/wiki/mythical-history.md): Clean from-scratch epic timeline of TEVM.