devp2p-peer-connect
Skill by Nethereum
Helps users connect a Nethereum (.NET) node to an Ethereum peer over devp2p. It covers dialing an enode:// URL, accepting inbound RLPx connections, and capability negotiation.
Install devp2p-peer-connect
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/devp2p-peer-connect ~/.claude/skills/devp2p-peer-connectRun 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/devp2p-peer-connect ~/.gemini/antigravity-cli/skills/devp2p-peer-connectAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install devp2p-peer-connect in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through the transport layer of devp2p using the Nethereum.DevP2P package for .NET. It explains the two-layer model: an RLPx handshake based on ECIES key exchange, followed by a Hello message exchange and capability negotiation that decides which sub-protocols such as eth and snap both nodes will use.
It shows how to dial a peer from an enode:// URL with StaticPeerConnector, how to accept inbound connections with RlpxListener, and how to test both sides on loopback in one process. It also lists common errors and says when to use the peer discovery and node-running skills instead. It is aimed at .NET developers building Ethereum nodes or tools with Nethereum.
Written from the project's SKILL.md and checked against it.
What it can do
- StaticPeerConnector.ConnectAsyncDials a peer from an enode:// URL and completes the RLPx handshake and Hello exchange.
- RlpxListenerAccepts inbound RLPx connections and raises PeerAccepted once a peer is connected.
- CapabilityNegotiator.NegotiateComputes the shared sub-protocols from the two Hello messages and assigns message ID blocks.
- DevP2PConfig.ForDevChainCreates a config for a dev chain from a genesis hash and network ID.
- Two-node handshake exampleShows a listener and client on loopback reading each other's Hello and shared capabilities.
What you need
- Nethereum.DevP2P NuGet package
- A .NET development environment
- A 32-byte genesis block hash for dev-chain config
- A reachable peer enode:// URL for dialing
Try asking
- Show me how to dial a peer using its enode URL with Nethereum.
- Write a C# RlpxListener that accepts inbound peers on port 30303.
- Why is my SharedCapabilities list missing eth in Nethereum?
Good to know
- Covers only the transport layer: the eth Status exchange and snap loop are in another skill.
- Does not discover peers. Use the devp2p-peer-discovery skill for that.
- Fork-ID compatibility is checked after the handshake, in Nethereum.DevP2P.Sync.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/nethereum-skills/skills/devp2p-peer-connect/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to devp2p-peer-connect
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
devp2p-peer-connect: common questions
What does Nethereum.DevP2P do after the RLPx handshake?
It runs the Hello exchange and resolves SharedCapabilities. It does not run the eth Status exchange or the snap protocol loop.
How do I connect to an Ethereum peer with .NET?
Use StaticPeerConnector.ConnectAsync with the peer's enode:// URL. The method returns a connection with negotiated capabilities.
Why does a connection succeed but no blocks arrive?
The fork-ID Status check may have failed, or no protocol loop is wired to PeerAccepted. The source says to use the devp2p-run-a-node skill for this.
How do I install devp2p-peer-connect?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is devp2p-peer-connect free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is devp2p-peer-connect 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 devp2p-peer-connect?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
