blockchain-zk
Zero-knowledge proofs, zk-rollup, zkEVM, Circom, Noir, Halo2, proof systems, Groth16, PLONK, STARK, recursive proofs, circuit optimization, zkSync, StarkNet…
от j4flmao★ 47 звёзд на GitHub
Установить blockchain-zk в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Blockchain ZK
Purpose
Guide zero-knowledge proof integration in blockchain systems covering proof system selection, circuit programming, prover/verifier infrastructure, ZK rollup architecture, and application patterns. Enables building privacy-preserving and scalability-enhancing ZK solutions.
Agent Protocol
Trigger Keywords
"zero-knowledge", "zk", "zkp", "groth16", "plonk", "stark", "plonkish", "circom", "noir", "halo2", "bellman", "arkworks", "snarkjs", "zk-rollup", "zkrollup", "zkevm", "recursive proof", "aggregation", "ivc", "nifs", "pcd", "circuit", "constraint", "r1cs", "acir", "ssa", "witness", "sequencer", "prover", "verifier", "zksync", "starknet", "scroll", "polygon zkevm", "taiko", "trusted setup", "ceremony", "toxic waste", "crs", "merkle proof", "nullifier", "commitment", "babyjubjub", "zkapp", "zk-application"
Input Context
- Application type (privacy/scaling/identity/gaming)
- Proof system requirements (trusted setup? proof size? verification cost?)
- Target blockchain (EVM/Solana/Cosmos/StarkNet)
- Performance constraints (proving time, verification gas, proof size)
- Security requirements (transparent vs PPTR, audit history)
Output Artifact
ZK architecture specification: proof system selection, circuit design, prover infrastructure, verifier deployment, and integration plan.
Response Format
## [Topic]
- Proof System Category: <Groth16 / PLONK / STARK / PLONKish / Custom>
- DSL: <Circom / Noir / Halo2 / Leo / Zinc>
- Constraints: <number of constraints>
- Proving Time: <time estimate>
- Verification Gas: <gas cost on target chain>
- Security: <trusted setup? audit?>
- Recommendation: <best approach for this use case>
Completion Criteria
- Proof system selected with justification against alternatives
- Circuit design specifies: DSL, constraints, public inputs, private inputs
- Proving time and verification cost estimated with benchmarks
- Security analysis covers: trusted setup, underconstrained circuits, toxic waste
- Integration plan covers: on-chain verifier, off-chain prover, circuit upgrades
Max Response Length
5000 tokens
Decision Trees
Proof System Selection
ZK use case:
├── On-chain verification (EVM)?
│ ├── Fixed circuit → Groth16 (most gas-efficient)
│ │ ├── Pros: ~200K gas verify, smallest proof (~130 bytes)
│ │ ├── Cons: Trusted setup per circuit, no recursion naively
│ │ └── Best: Token privacy, identity, one-shot proofs
│ ├── Variable circuit → PLONK
│ │ ├── Pros: Universal trusted setup, flexible circuits
│ │ ├── Cons: Larger proof (~250 bytes), ~300K gas verify
│ │ └── Best: Multi-circuit systems, upgradable circuits
│ └── No trusted setup → STARK (via Ethereum validium)
│ ├── Pros: Transparent, quantum-resistant
│ ├── Cons: Large proofs (~100KB), expensive on-chain verify
│ └── Best: L2 rollups, high-value systems
├── Off-chain verification?
│ ├── Fast proving → STARK (FRI-based)
│ ├── Small proofs → Groth16
│ └── Recursive → IVC (Nova, Cyclefold)
└── ZK-rollup?
├── EVM-equivalent → Type 2/3 zkEVM (Scroll, Linea)
│ ├── Pros: Full EVM compatibility
│ └── Cons: Complex circuits (millions of constraints)
├── Custom VM → Type 4 zkEVM (ZKsync Era, StarkNet)
│ ├── Pros: Simpler circuits, faster proving
│ └── Cons: Not EVM-equivalent (compilation needed)
└── Specific use → Custom circuit (zk-application)
DSL Selection
Circuit programming DSL:
├── EVM-focused Groth16?
│ ├── Circom 2 — largest ecosystem, best tooling
│ ├── Good: snarkjs, ffjavascript, quick integration
│ ├── Bad: Limited to R1CS, steep learning curve
│ └── Use: Token mixers, identity, airdrop proofs
├── Multi-backend abstraction?
│ ├── Noir — Aztec's DSL, compiles to multiple backends
│ ├── Good: Abstracted backend, ACIR IR, easy syntax
│ ├── Bad: Newer ecosystem, fewer libraries
│ └── Use: General ZK, cross-backend portability
├── Custom PLONKish gates?
│ ├── Halo2 — Zcash's framework, highest flexibility
│ ├── Good: Custom gates, lookup tables, ultra-PLONK
│ ├── Bad: Complex, Rust-only, steep learning curve
│ └── Use: High-performance circuits, custom arithmetization
└── Research / academic?
├── Arkworks — Rust ZK library ecosystem
└── Bellman — Rust ZK-SNARK library (old, replaced by halo2)
Proof System Comparison
Groth16 PLONK STARK Halo2
Proof size 128B 250B 100KB 2-4KB
Verify time 5ms 10ms 50ms 15ms
Prove time 10s 30s 5min 2min
Trusted setup Per circ Universal None None
Recursion Hard Hard Native Possible
Quantum risk Yes Yes No Yes
Gas (EVM) 200K 300K 1M+ 400K+
Circuit Programming Patterns
Circom Basic Circuit
pragma circom 2.1.0;
// Merkle tree inclusion proof circuit
template MerkleTreeInclusion(nLevel
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/blockchain-zk-advanced.md
- references/blockchain-zk-fundamentals.md
- references/circuit-programming.md
- references/merged-zero-knowledge-proofs.md
- references/proof-systems.md
- references/prover-infrastructure-operations.md
- references/recursive-proof-aggregation.md
- references/zk-patterns.md
- references/zk-rollup-architecture.md
- references/zk-rollups.md
- references/zk-snarks.md
- references/zk_snarks_groth16_implementation.md
- references/zk_snarks_polynomial_math.md
- references/zkevm-types.md
FAQ
Что делает скилл blockchain-zk?
Zero-knowledge proofs, zk-rollup, zkEVM, Circom, Noir, Halo2, proof systems, Groth16, PLONK, STARK, recursive proofs, circuit optimization, zkSync, StarkNet, Scroll, Polygon zkEVM, and ZK application patterns. Covers proof system selection, circuit programming, prover infrastructure, and ZK rollup architecture. Do NOT use for: general cryptography (use blockchain-cryptography), smart contract development (use blockchain-application), or L1 consensus (use blockchain-core).
Как установить скилл blockchain-zk?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл blockchain-zk запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…