Playground
Interactive walkthroughs of what @tevm/ethers gives you. Everything on this page runs in
your browser — no wallet, no RPC key.
Local vs remote execution
Every ethers call normally crosses the network to reach an EVM. TevmProvider executes the
same call in-process against a local Tevm node. Run the comparison:
The same ethers call, once through a remote RPC and once through TevmProvider's in-memory EVM.
JsonRpcProvider → remote RPC—
serialize eth_call request
open HTTPS connection
round-trip to RPC endpoint
wait for remote EVM execution
decode JSON-RPC response
waiting…
TevmProvider → local Tevm node—
serialize eth_call request
execute in local Tevm EVM
decode result
waiting…
ABI-level typing
Pick a method to see how Contract infers its signature and return type from the ABI at
compile time:
you write
const balance = await token.balanceOf(
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
)
typescript infers
balance: bigint
// 420691337000000000000n — inferred from
// outputs: [{ type: "uint256" }]

