zk-proofs

Verify Groth16 proofs on-chain in Soroban contracts for Stellar privacy applications.

50|38|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/stellar/stellar-dev-skill --skill zk-proofs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zk-proofs
Source: https://github.com/stellar/stellar-dev-skill/tree/main/skills/zk-proofs
Command: npx skills add https://github.com/stellar/stellar-dev-skill --skill zk-proofs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables the development of privacy-focused applications through zero-knowledge cryptography on Stellar/Soroban, facilitating secure data verification without revealing sensitive information.

Core Features & Use Cases

  • Verifying ZK proofs such as Groth16, BLS12-381, and BN254 within smart contracts.
  • Building privacy pools and confidential tokens to enhance data confidentiality.
  • Use Case: Implement a confidential asset transfer where proof verification occurs on-chain to ensure privacy while maintaining trust.

Quick Start

Use the zk-proofs skill to verify a zero-knowledge proof on Stellar by submitting proof data and associated public inputs to a Soroban contract.

Frequently Asked Questions about zk-proofs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify zero-knowledge proofs in a Stellar smart contract?

To verify zero-knowledge proofs on Stellar, submit proof data and public inputs to a Soroban contract. This Skill supports verifying cryptographic schemes like Groth16, BLS12-381, and BN254 directly on-chain.

What zero-knowledge proof schemes are supported on Soroban?

Soroban supports verifying Groth16, BLS12-381, and BN254 zero-knowledge proof schemes. These cryptographic primitives enable secure data verification without exposing sensitive underlying information.

Can I build privacy pools and confidential tokens on Stellar?

Yes, you can build privacy pools and confidential tokens on Stellar. This Skill facilitates zero-knowledge cryptography integration, enabling secure data verification for privacy-preserving applications.

How does on-chain proof verification work for confidential asset transfers?

On-chain proof verification for confidential asset transfers works by submitting zero-knowledge proof data and public inputs to a Soroban contract. The contract validates the cryptographic proof, ensuring transaction privacy while maintaining trust.

When should I use zero-knowledge proofs in my Stellar application?

Use zero-knowledge proofs in Stellar applications requiring privacy-preserving or confidential data verification. They are essential when you need to validate information on-chain without revealing sensitive underlying data.