A JavaScript-native Ethereum Virtual Machine that runs in browsers, Node.js, Bun, and Deno for instant contract simulation and testing.
Tevm is a JavaScript-native Ethereum Virtual Machine that runs directly in browsers, Node.js, Bun, and Deno environments. It allows developers to fork Ethereum mainnet and other EVM chains, simulate smart contracts, and run full devnets locally with TypeScript-first safety, eliminating the need for external RPC nodes during development and testing.
Ethereum developers using viem, wagmi, 0x, or building TypeScript-first dapps who need instant feedback, local simulation, and robust testing capabilities.
Developers choose Tevm for its unique ability to run a full EVM directly in JavaScript environments, providing unmatched speed, local-first control, and seamless integration with modern Ethereum tooling like viem and TypeScript.
An Ethereum Node built to run in Browser, Bun, Deno, and Node.js
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Tevm runs the EVM directly in browsers, Node.js, and edge environments without Docker or subprocesses, enabling rapid iteration and offline development as highlighted in the README's philosophy.
It provides end-to-end type safety and autocompletion when importing Solidity contracts via the Tevm Bundler, reducing errors in contract interactions with real types generated from Solidity code.
Developers can fork any EVM chain, including mainnet and L2s, with full state fidelity, allowing for realistic local simulations and state manipulation, as demonstrated in the quick start example.
By running contracts locally, Tevm enables dapps to implement optimistic updates, eliminating loading spinners and improving user experience, a key feature for modern Ethereum apps.
The project is near the end of a large rewrite to Zig, leading to potential breaking changes and instability in the current version, as noted in the README's upfront warning.
Compared to tools like Anvil or Hardhat, Tevm lacks fuzzing and has only partial support for Solidity tests, as admitted in the devnet comparison table with 'Some' for Solidity tests and '❌' for fuzzing.
Being a newer project, Tevm has fewer plugins, integrations, and community resources than established alternatives like Hardhat, which might slow down adoption for complex workflows.
/commit is an open-source alternative to the following products:
Anvil is a full-stack web application development platform that lets developers build and deploy web apps using only Python. It provides a drag-and-drop UI designer, database, and hosting.
Hardhat is a development environment for Ethereum software that helps developers compile, test, debug, and deploy smart contracts and dApps.
Tenderly is a blockchain development platform that provides tools for smart contract monitoring, debugging, and simulation on Ethereum and other EVM-compatible chains.
A personal blockchain for Ethereum development that allows developers to deploy contracts, develop applications, and run tests.