.claude/skills/tevm-actions/SKILL.md
Core Tevm actions for contract calls, mining, and state manipulation. Use when executing EVM operations with Tevm.
npx skillsauth add cyotee/crane tevm-actionsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Import from tevm/actions:
import {
tevmCall,
tevmMine,
tevmGetAccount,
tevmSetAccount,
tevmDeal,
tevmContract,
tevmDeploy
} from 'tevm/actions'
const result = await tevmCall(node, {
to: '0x123...',
data: '0x...', // calldata
value: 0n, // ETH value
caller: '0x...', // msg.sender
gasLimit: 3000000n
})
import { encodeFunctionData, decodeFunctionResult } from 'viem'
const result = await tevmContract(node, {
abi,
address: contractAddress,
functionName: 'transfer',
args: [to, amount]
})
// Mine pending transactions
await tevmMine(node)
// Mine specific number of blocks
await tevmMine(node, { blocks: 5 })
const account = await tevmGetAccount(node, {
address: '0x...',
blockTag: 'latest',
returnStorage: true // optional
})
await tevmSetAccount(node, {
address: '0x...',
balance: parseEther('10'),
nonce: 5n,
deployedBytecode: '0x...',
state: {
[slot]: value
}
})
// Native ETH
await tevmDeal(node, {
account: '0x...',
amount: parseEther('100')
})
// ERC20 tokens
await tevmDeal(node, {
erc20: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', // USDC
account: '0x...',
amount: 1000000n
})
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
documentation
Write to contracts and send transactions. Use when executing state-changing contract functions.
development
HTTP and WebSocket transports for blockchain connectivity. Use when configuring network connections.
data-ai
Read contract data with type-safe ABI. Use when querying smart contract view/pure functions.