/tevm:tevm-contract-deploymentfrom tevm
Deploy contracts using ethers ContractFactory with Tevm. Use when deploying contracts in tests or local development.
Ships in tevm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
import { ContractFactory } from 'ethers'
import { Wallet } from 'ethers'
import { createMemoryClient } from 'tevm'
import { parseEther } from 'viem'
const client = createMemoryClient()
// Create signer
const signer = Wallet.createRandom().connect(
new ethers.BrowserProvider(client)
)
// Fund the account
await client.setBalance({
address: signer.address,
value: parseEther('10')
})
// Create factory
const factory = new ContractFactory(abi, bytecode, signer)
// Deploy
const contract = await factory.deploy(...constructorArgs)
// Mine the deployment
await client.mine({ blocks: 1 })
// Get address
const address = await contract.getAddress()
console.log('Deployed to:', address)
import { tevmDeploy } from 'tevm/actions'
const result = await tevmDeploy(client, {
abi,
bytecode,
args: [arg1, arg2],
from: deployerAddress,
gasLimit: 1000000n
})
console.log('Address:', result.address)
console.log('Gas used:', result.gasUsed)
// If constructor takes arguments, include in bytecode or pass as args
const contract = await factory.deploy(arg1, arg2)
// Or with tevmDeploy
const result = await tevmDeploy(client, {
abi,
bytecode: bytecodeWithConstructor,
args: [arg1, arg2]
})
// Listen for deployment events
contract.on('Transfer', (from, to, amount, event) => {
console.log('Transfer:', from, to, amount)
console.log('Block:', event.blockNumber)
console.log('Tx:', event.transactionHash)
})
// Query past events
const filter = contract.filters.Transfer()
const events = await contract.queryFilter(filter, -1000, 'latest')
// Set initial storage
await client.setAccount({
address: contractAddress,
state: {
[slot0]: value0,
[slot1]: value1
}
})
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (cyotee/cyotee-claude-plugins) — no native marketplace selected
npx claudepluginhub p/cyotee-tevm-plugins-tevm2 plugins ship this exact skill · first indexed Jul 20, 2026
7 skills in this plugin
/tevm-account-managementGet and set account state including balances, nonces, and storage. Use when manipulating EVM state for testing./tevm-actionsCore Tevm actions for contract calls, mining, and state manipulation. Use when executing EVM operations with Tevm./tevm-debuggingDebug transactions with EVM tracing, gas profiling, and error handling. Use when investigating contract behavior or test failures.Other plugins' skills for the same job
/tevm-eventsEVM step-by-step tracing for debugging contract execution. Use when debugging contracts or profiling gas usage.