Standalone example applications for Tevm.
This repository was extracted from
evmts/tevm-monorepo with its Git history intact. The applications install
Tevm packages from npm instead of using monorepo workspace links, so the workspace also acts as an integration smoke
test for the packages that Tevm users receive.
Documentation for this repository is published at examples.tevm.sh. Umbrella Tevm documentation remains at tevm.sh.
- Node.js 24 (the exact tested version is in
.nvmrc) - pnpm 9
- Foundry for the Solidity-backed Vite and MUD examples
- Bun only when running the Bun example interactively
corepack enable
pnpm installThe apps live in apps/:
bun— Bun and the Tevm Bun pluginesbuild— esbuild and the Tevm esbuild pluginmud— a React MUD applicationnext— Next.js with an in-browser Tevm memory clientsvelte-ethers— SvelteKit with the Tevm Ethers adaptervite— Vite, React, Wagmi, Ethers, and Solidity imports
The site published at examples.tevm.sh lives in docs/ and is built with
Vocs 2.7.0.
pnpm docs:dev
pnpm docs:build
pnpm docs:previewpnpm lint
pnpm typecheck
pnpm build
pnpm testRPC-backed tests run only when their documented environment variable is present. Use RPC_URL for the Bun example
and RPC_URL_MAINNET for the esbuild example.
Cross-repository Tevm dependencies use caret ranges resolved from npm. The tevm meta-package is declared as a
runtime peer where an example imports the node directly, and is installed as a development dependency for local
validation. The only workspace dependency is the MUD client's link to its contracts package, because both live in
this repository.
Changesets records release intent. Merges to main run the release workflow with npm provenance. The example
workspaces are private applications, so they are versioned and tagged but are not published as npm libraries unless
their private flags are deliberately removed.