midnight-core-concepts:privacy-patterns

Community

Privacy patterns for private on-chain logic.

Authoraaronbassett
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a toolkit for implementing privacy-preserving logic on the Compact platform by combining hashes, commitments, Merkle trees, and nullifier patterns to keep data private while enabling verifiable proofs.

Core Features & Use Cases

  • Pattern-based privacy primitives: Hashes, Pedersen commitments, Merkle trees, and nullifiers to hide data while enabling verification.
  • On-chain privacy scenarios: Private ballots, confidential asset commitments, and membership proofs where sensitive information must remain secret but verifiable.
  • Reference implementations: Example circuits and references demonstrating how to compose these primitives in real workflows.

Quick Start

Implement a small example that proves a secret value is in a precomputed Merkle tree using a path and a commitment.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: midnight-core-concepts:privacy-patterns
Download link: https://github.com/aaronbassett/midnight-knowledgebase/archive/main.zip#midnight-core-concepts-privacy-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.