evm-simulation
Skill by Nethereum
Simulates Ethereum transactions and EVM bytecode locally in C# using Nethereum.EVM. Covers state change previews, call trees, revert decoding and disassembly for .NET developers.
Install evm-simulation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Nethereum/Nethereum /tmp/Nethereum && mkdir -p ~/.claude/skills && cp -r /tmp/Nethereum/plugins/nethereum-skills/skills/evm-simulation ~/.claude/skills/evm-simulationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Nethereum/Nethereum /tmp/Nethereum && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Nethereum/plugins/nethereum-skills/skills/evm-simulation ~/.gemini/antigravity-cli/skills/evm-simulationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through Nethereum.EVM, an in-process Ethereum Virtual Machine for .NET. It executes bytecode locally against real blockchain state that is read over an RPC connection. The source says the simulator powers the wallet transaction preview, DevChain, CoreChain and the Solidity debugger.
The skill covers transaction simulation with balance change extraction, decoding call trees and events, decoding revert reasons, executing and disassembling bytecode, and source-level debugging with source maps. It lists the required Nethereum packages, describes the HardforkConfig presets and includes C# code samples. It is aimed at developers building Ethereum tooling with C# or .NET.
Written from the project's SKILL.md and checked against it.
What it can do
- Transaction simulationRuns a transaction through TransactionExecutor and returns success, gas used, logs and traces.
- Balance change extractionConsolidates native, ERC-20, ERC-721 and ERC-1155 changes into balance changes.
- Call tree decodingDecodes call trees, events and parameters with ProgramResultDecoder.
- Revert decodingShows custom errors, revert messages and panic codes for failed transactions.
- ERC-20 simulationSimulates token transfers and detects fee-on-transfer tokens using ERC20ContractSimulator.
- Bytecode executionRuns bytecode with EVMSimulator and exposes the stack and execution trace.
- Bytecode disassemblyDisassembles bytecode and checks for function signatures such as transfer(address,uint256).
- Source-level debuggingSteps through execution with Solidity source maps using EVMDebuggerSession.
What you need
- .NET (C#)
- Nethereum.EVM NuGet package
- Nethereum.EVM.Contracts NuGet package
- Nethereum.Web3 NuGet package
- Ethereum RPC endpoint for blockchain state
Try asking
- Simulate this transaction in C# and list all balance changes before signing
- Decode the revert reason from this failed EVM call in .NET
- Disassemble this bytecode and check whether it contains a transfer call
Good to know
- The code samples use placeholder values such as YOUR_KEY and 0xYourAddress that must be replaced.
- The source does not state a supported .NET version.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/nethereum-skills/skills/evm-simulation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to evm-simulation
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
evm-simulation: common questions
Does this skill work with languages other than C#?
The source shows examples only in C# and describes Nethereum.EVM as a library for .NET.
Which hardfork presets are supported?
The source lists HardforkConfig.Cancun, HardforkConfig.Prague and HardforkConfig.Default, and states that Default is the same as Prague.
What is the difference between the execution modes?
ExecutionMode.Call simulates a transaction without gas payment, similar to eth_call. ExecutionMode.Transaction runs full execution with gas payment validation.
How do I install evm-simulation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is evm-simulation free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is evm-simulation safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to evm-simulation?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
