Core Tevm actions for contract calls, mining, and state manipulation. Use when executing EVM operations with Tevm.
Scanned 9/10/2026
Install to Claude Code
npx -y skills add cyotee/indexedex --skill tevm-actions --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Tevm Actions?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/cyotee-tevm-actions)More formats (shields.io, HTML) on the badges page.
---
name: tevm-actions
description: Core Tevm actions for contract calls, mining, and state manipulation. Use when executing EVM operations with Tevm.
---
# Tevm Actions
Import from `tevm/actions`:
```typescript
import {
tevmCall,
tevmMine,
tevmGetAccount,
tevmSetAccount,
tevmDeal,
tevmContract,
tevmDeploy
} from 'tevm/actions'
```
## tevmCall
```typescript
const result = await tevmCall(node, {
to: '0x123...',
data: '0x...', // calldata
value: 0n, // ETH value
caller: '0x...', // msg.sender
gasLimit: 3000000n
})
```
## tevmContract (High-level)
```typescript
import { encodeFunctionData, decodeFunctionResult } from 'viem'
const result = await tevmContract(node, {
abi,
address: contractAddress,
functionName: 'transfer',
args: [to, amount]
})
```
## tevmMine
```typescript
// Mine pending transactions
await tevmMine(node)
// Mine specific number of blocks
await tevmMine(node, { blocks: 5 })
```
## tevmGetAccount
```typescript
const account = await tevmGetAccount(node, {
address: '0x...',
blockTag: 'latest',
returnStorage: true // optional
})
```
## tevmSetAccount
```typescript
await tevmSetAccount(node, {
address: '0x...',
balance: parseEther('10'),
nonce: 5n,
deployedBytecode: '0x...',
state: {
[slot]: value
}
})
```
## tevmDeal (Fund Accounts)
```typescript
// Native ETH
await tevmDeal(node, {
account: '0x...',
amount: parseEther('100')
})
// ERC20 tokens
await tevmDeal(node, {
erc20: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', // USDC
account: '0x...',
amount: 1000000n
})
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!