Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

devp2p-snap-sync

Skill by Nethereum

Helps .NET developers snap sync an Ethereum node with Nethereum. It streams state at a recent pivot block instead of replaying every block from genesis, then heals any missing trie nodes.

  • Score 76
  • 2.3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install devp2p-snap-sync

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-snap-sync ~/.claude/skills/devp2p-snap-sync

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install devp2p-snap-sync in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps users snap sync an Ethereum node using Nethereum (.NET). Snap sync streams the state at a recent pivot block directly instead of replaying every block from genesis, and each range is verified against Merkle-Patricia proofs. The skill covers the SnapSyncOrchestrator, the SnapBootstrapper, SnapSyncClient state streaming, TrieHealer trie healing and checkpoint resume.

Phase 2 pulls account, storage and bytecode data in parallel and compares the assembled root to the pivot's state root. If the root does not match, Phase 3 re-fetches missing trie nodes until it does. The skill also explains tuning options, resume routing and common errors. It is aimed at .NET developers who need to cold start a node without an archive.

Written from the project's SKILL.md and checked against it.

What it can do

  • SnapSyncOrchestrator.RunAsyncRuns the production cold-start path and follows a rolling pivot with backoff.
  • SnapBootstrapper.RunAsyncSequences one pivot with direct control, without the rolling-pivot loop.
  • SnapSyncClient.SyncStateAsyncStreams account, storage and bytecode leaves for Phase 2 state sync.
  • SyncStateWithCheckpointAsyncCheckpoints sync state so an interrupted sync can resume after a restart.
  • TrieHealer.HealAsyncRe-fetches missing trie nodes and bytecode after a root mismatch.
  • SnapSyncOrchestratorOptionsSets mode, pivot refresh, backfill and concurrency options.
  • DecideResumeModeChooses how to resume based on the saved sync phase and pivot movement.

What you need

  • .NET with the Nethereum.DevP2P.Sync package
  • A peer pool with peers advertising snap/1
  • An IChainStoreBundle and IChainActivations for the target chain
  • An ICanonicalStateRootSource that anchors the pivot block

Try asking

  • How do I snap sync a Nethereum node from a trusted pivot header?
  • Resume an interrupted snap sync from a saved SnapSyncState checkpoint
  • Why does SyncStateAsync throw SnapRootMismatchException and what should I do?

Good to know

  • The checkpoint and resume signatures are verified against the README, but no test covers a full checkpoint-then-resume cycle end to end.
  • The bootstrapper does not fetch or validate the pivot header itself, so trust depends on the header you supply.
  • BalHealEnabled defaults to false.
  • Heal caps snap response sizes below the server frame limit to protect concurrent eth traffic.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/nethereum-skills/skills/devp2p-snap-sync/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to devp2p-snap-sync

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

devp2p-snap-sync: common questions

How is snap sync different from full sync here?

Full sync downloads the block archive of headers, bodies and receipts. Snap sync streams the state at a recent pivot block, verified against Merkle-Patricia proofs, and then heals gaps.

Can an interrupted snap sync resume?

Yes. Phase 2 checkpoints a SnapSyncState roughly every 8 MB and on graceful shutdown, and a kill during heal resumes heal directly.

What does snap sync need to run?

It needs a peer pool with peers advertising snap/1, an IChainStoreBundle, IChainActivations for the chain, and an ICanonicalStateRootSource to anchor the pivot.

How do I install devp2p-snap-sync?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is devp2p-snap-sync free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is devp2p-snap-sync 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-snap-sync?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

devp2p-snap-sync Install

Add to stack

Loading.