Skip to content

Instantly share code, notes, and snippets.

@roninjin10
roninjin10 / quick-summary.md
Created June 5, 2025 10:41
The most concise introduction to viem and tevm I can give

Viem is a lightweight, EIP-1193–compliant client for sending JSON-RPC requests—so it can plug into any EIP-1193–compatible server (Anvil, Hardhat, Alchemy, Geth, Reth, Tevm, etc.). Tevm is an EIP-1193–compatible server that can plug into Viem, Ethers, Express.js, Bun, or any JSON-RPC handler.

Viem Concepts

  1. Transport Defines how you send JSON-RPC requests. For example:

    import { http } from "viem";