eip7702
Skill by Nethereum
Delegates EOA execution to smart contract code using EIP-7702 with Nethereum for .NET. It is for .NET developers who need EOA delegation, sponsored authorizations, or Type 4 transactions.
Install eip7702
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/eip7702 ~/.claude/skills/eip7702Run 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/eip7702 ~/.gemini/antigravity-cli/skills/eip7702Antigravity 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 shows how to use Nethereum (.NET) to implement EIP-7702, which lets an externally owned account temporarily delegate its execution to a smart contract. Calls to the EOA run the delegate contract's code in the EOA's own context, with the same address, balance and storage.
The skill covers self-delegation, querying and removing delegation, sponsored and batch sponsored delegation, and manual construction of authorizations and Type 4 transactions. It also covers inline authorization with contract calls, recovering the signer from an authorization, and calculating authorization gas costs. It is aimed at .NET developers who need EOA delegation, smart account logic for EOAs, or ERC-4337 combinations.
Written from the project's SKILL.md and checked against it.
What it can do
- Self-delegationDelegates the caller's EOA to a smart contract, optionally with universal chain ID 0.
- Delegation state queriesChecks whether an account is delegated and returns the delegate contract address.
- Remove delegationRemoves an existing EIP-7702 delegation from an account.
- Sponsored delegationLets a sponsor pay gas while the sponsored account signs only the authorization.
- Batch sponsorshipAuthorizes several keys to a delegate contract in one sponsored request.
- Manual authorizationBuilds, signs and broadcasts a Type 4 transaction with an authorization list.
- Inline authorizationAttaches an authorization to a contract call transaction that uses the delegate.
- Signer recoveryRecovers the signer address from a signed authorization.
- Gas calculationCalculates extra gas for authorizations to new and existing accounts.
What you need
- Nethereum.Web3 and Nethereum.Accounts NuGet packages
- An Ethereum RPC endpoint (examples use Infura)
- A private key for the EOA or sponsor account
Try asking
- Delegate my EOA to a smart contract using EIP-7702 in C#
- Write a .NET sponsored batch delegation for three keys
- Show how to build and sign a Type 4 transaction with Nethereum
Good to know
- Delegation chaining is not supported, only the first level is resolved.
- Delegation persists across transactions until it is explicitly removed.
- With inline authorization, gas must be set manually.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/nethereum-skills/skills/eip7702/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to eip7702
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
eip7702: common questions
What is EIP-7702 delegation in Nethereum?
EIP-7702 lets an EOA temporarily run the code of a delegate smart contract while keeping its own address, balance and storage. The skill shows how to set this up with Nethereum in .NET.
How can I tell if an account is delegated?
The source says delegation is detected when the account code starts with the 0xef0100 prefix. Nethereum exposes IsDelegatedAccountAsync and GetDelegatedAccountAddressAsync for this check.
Does the skill support sponsored delegation?
Yes. A sponsor can pay gas while the sponsored account signs only the authorization, including batch sponsorship for several keys.
How do I install eip7702?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is eip7702 free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is eip7702 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 eip7702?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
