tevm-overview
Lightweight EVM that runs in the browser. Use for local blockchain testing, contract debugging, and fork testing.
SKILL.md.claude/skills/tevm-overview/SKILL.md
GitHubTevm Overview
Tevm is a lightweight EVM that runs in the browser for local testing and debugging.
Quick Start
import { createMemoryClient } from 'tevm'
const client = createMemoryClient()
// Execute a contract call
const result = await client.tevmCall({
to: contractAddress,
data: '0x...'
})
Key Capabilities
- In-memory EVM - No external node required
- Fork mode - Fork from mainnet/testnet
- EVM tracing - Step-by-step execution debugging
- Account impersonation - Act as any address
- Time manipulation - Control block timestamps
Skills
- Setup:
tevm-setup- Client initialization - Actions:
tevm-actions- Core API (call, mine, etc.) - Account Management:
tevm-account-management- State manipulation - Events:
tevm-events- EVM execution tracing - Contract Deployment:
tevm-contract-deployment- Deploy with ethers - Debugging:
tevm-debugging- Gas profiling, tracing
Use Cases
- Frontend testing - Test contract interactions without mainnet
- Contract debugging - Trace execution at opcode level
- Fork testing - Fork mainnet state locally
- CI/CD - Fast test execution