Skip to content

Parad0x-Labs/Dark-Null-Protocol

Repository files navigation

Dark Null Protocol: Private Solana Settlement With Optimistic ZK

Status: Devnet Verified Model: Optimistic ZK Claim: 32B Happy Path License: Proprietary

Dark Null Header

Privacy when it matters. Challengeable security when it counts.

Shield. Commit. Challenge if needed. Finalize.

Dark Null Protocol is Parad0x Labs' privacy-focused settlement and transfer protocol for Solana. It uses a lazy-verification model: the normal path posts a compact on-chain claim, while full proof verification remains permissionless through a challenge path.

This repository is a public interface and documentation shell. Circuits, proving keys, relayer internals, and proprietary optimization details are intentionally not published here.

LLM / Agent Quick Parse

product: dark-null-protocol
category: privacy-focused settlement protocol
best_for:
  - private settlement flows
  - optimistic-ZK challengeable verification
  - compact on-chain claim commits
entrypoints:
  protocol_spec: ./docs/PROTOCOL_SPEC_PUBLIC.md
  integration_guide: ./docs/integration-guide.md
  public_idl: ./idl/dark_null_v1.json
not_for:
  - low-latency per-request x402 hot path
  - fast API monetization loops
related_repo:
  payment_rail: https://github.com/Parad0x-Labs/dna-x402

Dark Null Proof Snapshot

For Integrators and Agent Builders

If you need... Use Dark Null for...
privacy-preserving settlement shield / commit / finalize flows
challengeable verification optimistic-ZK with a public challenge window
compact happy-path claims 32-byte on-chain claim model
machine-speed per-request x402 payments not this repo - use dna-x402
low-latency agent hot path not this repo - Dark Null has a different latency profile

Why it gets attention

  • Private settlement without pretending the whole transaction is tiny
  • Compact happy path with a 32-byte claim anchor instead of full proof bytes by default
  • Permissionless security because anyone can challenge
  • Clear protocol stages instead of vague privacy marketing
  • Separated from DNA x402 so privacy and high-speed commerce do not get conflated

At a Glance

Question Answer
What is it? privacy settlement and transfer protocol for Solana
What is the core model? optimistic-ZK with challenge window and bond economics
What is small on-chain? the happy-path claim, not the entire transaction
What is public here? interfaces, docs, threat model, devnet verification links
What is not public here? circuits, prover pipeline, relayer internals
What should use the separate repo? fast x402 API and agent payment flows

Why teams evaluate Dark Null

  • Smaller happy-path payloads - compact claim-oriented commit flow instead of posting full proof bytes by default
  • Permissionless security - anyone can challenge during the window
  • Accountable settlement - nullifier consumption, bond economics, and challenge resolution rules
  • Privacy without mixer framing - transfer privacy model with explicit protocol stages and verifiable public interfaces

Status Snapshot

Area Status Notes
Protocol version v1.23 Current documented version
Network status Devnet verified See tx/devnet_links.md
Verification model Optimistic-ZK Challenge window + bonds
Public repo scope Docs + interfaces No public prover pipeline
Fast x402 hot path Separate repo See dna-x402

Product Boundary

Dark Null Protocol and DNA x402 are separate products.

Dark Null Protocol

  • privacy-focused settlement and transfer protocol
  • optimistic-ZK model with challenge windows
  • different latency profile from machine-speed API payments

DNA x402

  • fast HTTP 402 payment rail for agent and API commerce
  • optimized for the live request path
  • separate repository: Parad0x-Labs/dna-x402

Dark Null can integrate with x402-style payment flows, but it is not the default low-latency payment hot path used by DNA.

Dark Null Architecture

How the protocol works

Phase What happens
Shield funds enter the privacy set
Commit user posts a compact claim hash plus metadata and bond
Challenge Window anyone can challenge during the window
Challenge challenger provides proof and bond
Finalize funds release after the window or after confirmed challenge resolution

What "32B" means

It means

  • the happy-path commit publishes a 32-byte claim hash
  • the claim is the compact anchor for the withdrawal path
  • full proof bytes are only needed when challenged

It does not mean

  • the entire Solana transaction is 32 bytes
  • proof verification disappears
  • the protocol depends on hidden trust assumptions for security

Security Model

Challenge Window + Bonds

  1. user commits a 32-byte claim plus bond
  2. a challenge window opens
  3. any challenger can submit proof and challenger bond
  4. invalid claims are rejected and challenged
  5. valid claims finalize after the appropriate path completes

Trust Assumptions

  • security does not depend on proprietary infrastructure
  • anyone can challenge
  • bonds are used to discourage griefing and invalid claims

Live Devnet Transactions

Instruction TX Signature Explorer
CommitUnshieldV20 5c4K... View on Solscan
FinalizeUnshieldV20 2t6R... View on Solscan

What is public here

  • protocol overview and threat model
  • instruction interfaces and public IDL
  • fee model and security checklist
  • devnet E2E links and verification notes
  • public integration and architecture docs

What is intentionally not public here

Category Private by design
ZK circuits and proving artifacts .circom, .wasm, .zkey, .ptau, verifying-key internals
prover pipeline witness generation, proof serialization, key generation
relayer internals queueing, anti-grief internals, operational controls
key material deployer wallets, trusted setup artifacts

Docs

Interfaces

Disclaimer

This repository does not ship a public production prover. It exists to document the protocol surface, expose public interfaces, and provide integration material for review.

License

Dark Null Protocol is proprietary software. Copyright 2026 Parad0x Labs. All rights reserved.

SDK and integration packages may use separate licenses where explicitly stated.

About

Zero-knowledge privacy payments on Solana. 144-byte proofs. Micropayment streaming. AI-agent ready.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors