ββββββββ βββββββ βββ βββ βββ βββββββ ββββββββββ ββββββββββββββββββββ βββ βββββββββββββββββββββββ βββββββββββ ββββββ βββ ββββββ βββββββββ βββ βββββββββββ ββββββ ββββ βββββββ βββββββββ βββ βββββββββββββββββββββββββ βββββββ ββββββββββββββββββββ ββββββββ βββββββ ββββββββ βββββ βββββββ ββββββββββ
Next-Generation Zero-Knowledge Privacy Lifecycle Management (PLM) for the Solana Ecosystem
SolVoid is a high-performance, non-custodial privacy protocol that provides a decentralized identity-abstraction layer on the Solana blockchain.
It utilizes Groth16 Zero-Knowledge SNARKs and Poseidon-3 Hashing to deliver institutional-grade anonymity at sub-second speeds.
In the landscape of hyper-transparent blockchain architectures, SolVoid represents the critical transition from "Public-by-Default" to "Private-by-Choice." The protocol is engineered to neutralize the risks of on-chain telemetry, MEV-sandwich attacks, and transaction graph heuristics. By decoupling asset ownership from transaction history, SolVoid empowers individuals and institutions to execute sensitive financial maneuvers with the speed of Solana and the secrecy of Zero-Knowledge.
- Core Value Propositions
- Exhaustive Feature Matrix
- Deep-Dive Architecture
- Privacy Ghost Score Diagnostics
- Command-Line Interface (CLI) Master Reference
- Shadow Relayer Infrastructure
- Operational Setup & Lifecycle
- Security, Validation & Testing
- Master Strategic Roadmap
- Repository Directory Blueprint
- Governance & Strategic Contributions
- Glossary of Cryptographic Terms
- Unlinkable Anonymity: Complete decoupling of funding sources from destination wallets via Merkle-tree based shielding.
- Hardware-Accelerated Privacy: Optimized for Solanaβs runtime, achieving verification costs below 200,000 Compute Units.
- Zero-Knowledge Integrity: Pure cryptographic proof of ownership without revealing the source deposit (Secret/Nullifier).
- Anti-Heuristic Engine: Native defense against transaction timing and volume analysis via the Ghost Scoring diagnostics.
| Domain | Capability | Technical Detail | Status |
|---|---|---|---|
| Shielding | ZK-Commitment Pool | Fixed-depth (20) Merkle Tree supporting 1M+ deposits. | β |
| Withdrawal | Groth16 Verification | Sub-600ms proof generation on-device via WASM/SDK. | β |
| Diagnostics | Privacy Ghost Score | 4-pillar metadata audit (Linkage, Temporal, Volume, Entropy). | β |
| Infrastructure | Shadow Relayer 2.0 | Gasless & IP-anonymous transaction broadcasting. | β |
| Emergency | Atomic Rescue | <2s scripted migration for compromised private keys. | β |
| Identity | ZK-Signed Badges | Portable personal privacy credentials without revealing the URI. | β |
| Scanners | Ultimate Privacy Scan | Resilience suite using 40+ RPCs with IP-rotation. | β |
SolVoid is not a single tool, but a synergistic ecosystem of cryptographic primitives and on-chain state managers.
graph TD
subgraph "Local Secure Environment (WASM)"
A[User Input] -->|Secret Generation| B(Poseidon Hash)
B -->|Commitment| C{Circom Prover}
C -->|Groth16 Proof| D[Signed Payload]
end
subgraph "Distributed Networking"
D -->|Anonymous Broadcast| E[Shadow Relayer Node]
E -->|Transaction Forwarding| F[Solana Mainnet]
end
subgraph "Solana Smart Contract (Anchor)"
F --> G[Merkle Tree State]
G -->|Root Validation| H[Verifier Module]
H -->|Nullifier Check| I[Fund Release]
end
I -->|Private Funds| J[New Stealth Address]
Our circuits are written in Circom 2.1, employing a Groth16 proving scheme on the BN254 elliptic curve. This ensures maximum compatibility with Solana's forthcoming ZK precompiles while maintaining current operational efficiency through our custom Rust verifier.
We use Poseidon-3, a Sponge-construction hash function optimized specifically for R1CS (Rank-1 Constraint Systems).
- Efficiency: Reduces constraints from ~20,000 (Keccak) to ~210 per field element.
- Security: Provides 128-bit security against all known algebraic attacks.
The SolVoid program manages a sliding window of 100 Merkle Roots. This allows users to generate proofs against slightly older state, mitigating the risk of "Root Drift" where a proof becomes invalid because someone else deposited simultaneously.
The Ghost Score is the heartbeat of the SolVoid ecosystem. It provides an objective numerical rank (0-100) of your wallet's anonymity.
- Linkage Score: Identifies direct and N-hop paths to centralized exchanges (CEX) or known identifiers.
- Temporal Analysis: Detects "human" rhythms in transaction timing (e.g., repeating daily patterns).
- Volume Profiling: Flagging of round-number deposits (e.g., exactly 10.0 SOL) which are easier to track.
# Execute deep-scan and generate shareable ZK-signed badge
solvoid-scan ghost <MY_ADDRESS> --badge --share --jsonThe solvoid-scan CLI is a production-grade binary for privacy management.
solvoid-scan shield <amount>: The primary ingress. Converts native SOL to a ZK-Commitment.solvoid-scan withdraw <secret> <nullifier> <recipient> <amount>: The primary egress. Reclaims funds anonymously.solvoid-scan ghost <address>: Generates the Ghost Score report and visual terminal art.solvoid-scan protect <address>: Active monitoring mode for identifying real-time privacy leaks.solvoid-scan rescue <wallet>: Atomic "nuke" option for high-speed mitigation of key leaks.
solvoid-scan admin trigger-emergency <mult> <reason>: Globally scale protocol fees (1x-10x).solvoid-scan admin disable-emergency: Restore baseline fee economics.solvoid-scan admin pause: Trigger Circuit Breaker to halt all withdrawals.solvoid-scan admin resume: Lift Circuit Breaker and resume protocol operations.
| Flag | Description | Default |
|---|---|---|
--rpc <URL> |
Override standard Solana RPC endpoints. | Mainnet-Beta |
--program <ID> |
Override the default SolVoid Program ID. | Fg6Pa... |
--relayer <URL> |
Target a specific Shadow Relayer instance. | http://localhost:3000 |
--dry-run |
Perform an atomic simulation without spending gas. | false |
--json |
Output all results in raw JSON format for CI/CD. | false |
The Shadow Relayer is a critical component for achieving network-level anonymity.
TIP
Use the Relayer to avoid "Gas Linkage." If you fund your new recipient wallet with gas from an exchange, you have nullified your privacy. The Relayer solves this by paying the gas for you and deducting a small bounty from the withdrawal.
GET /health: Node status and network metrics.POST /register: Onboarding for new relay nodes.POST /relay: The primary submission point for ZK-signed transactions.POST /encrypt-route: Prepares multi-hop onion-routed payloads.
- Node.js: v18.0.0+ (Recommended: v20 LTS)
- Rust/Cargo: 1.75.0+
- Solana CLI: Latest Stable
- Hardware: AVX2 support (optional, for faster local proving)
# Clone Enterprise Repository
git clone https://github.com/brainless3178/SolVoid.git
cd solvoid
# Install Critical Dependencies
npm install && npm run build
# Configure Environment
cp .env.example .envFor highly secure local environments, run a personal MPC ceremony:
./scripts/run-ceremony.shSolVoid employs a "Defense in Depth" strategy, validated by a massive suite of specialized shell scripts in /scripts.
| Script | Documentation |
|---|---|
./scripts/run-security-tests.sh |
The Master Suite: Runs every validation mentioned below. |
./scripts/verify-hash-consistency.sh |
Confirms Poseidon-3 parity across Rust, TS, and Circom logic. |
./scripts/vault-balance-protection.sh |
Simulates "phantom withdrawal" attacks to verify vault safety. |
./scripts/nullifier-validation-test.sh |
Verifies the impossibility of double-spending. |
./scripts/test-emergency-procedures.sh |
Stress-tests the speed and effectiveness of the Atomic Rescue. |
./scripts/arithmetic-safety-test.sh |
Probes for overflows and field-element collisions. |
./scripts/rust-dependency-audit.sh |
Performs a deep audit of the cargo dependency tree for CVEs. |
# Run unit tests for SDK and CLI
npm run test:unit
# Run full integration tests with local validator
npm run test:integration
# Execute 100% security validation suite
./scripts/security-validation.sh- Merkle Tree Core Logic (Depth 20)
- Poseidon-3 Sponge Construction Hashing
- Groth16 Proving Engine (Browser & Node)
- Multi-platform SDK for dApp developers
- Privacy Ghost Scoring Diagnostics
- Shadow Relayer Alpha Deployment
- CLI Automation Tools & Binary Releases
- ZK-Signed Privacy Badges
- SPL Token Support: Shielding for USDC, BONK, and JupSOL.
- Decentralized Relayer Incentives: Governance-managed relayer rewards.
- On-chain MPC Ceremony: Official ceremony for Mainnet-Beta Proving Keys.
- Onion Routing: Layered network anonymity via the Relayer Mesh.
.
βββ programs/ # Anchor-based Solana Smart Contracts (Rust)
βββ circuits/ # Circom 2.1 source files & ZK Proving keys
βββ sdk/ # TypeScript SDK for frontend & backend integration
βββ cli/ # Source code for the solvoid-scan binary
βββ relayer/ # Shadow Relayer Node source (Node.js/Express)
βββ dashboard/ # Next.js 15 Web interface
βββ scripts/ # Over 30+ production shell scripts for DevOps/Security
βββ bin/ # Compiled CLI executables
βββ docs/ # Technical Specifications & Manuals
We welcome contributions from cryptographers, security researchers, and developers.
- Read the Security Policy.
- Review our Contributing Guidelines.
- Submit an issue using the provided templates.
- Open a Pull Request against the
developbranch.
- BN254: The barreto-naehrig elliptic curve used for SNARKs.
- R1CS: Rank-1 Constraint System; the mathematical representation of our circuits.
- Nullifier: A unique serial number for a deposit, kept secret until withdrawal.
- Commitment: The hash of (Secret + Nullifier + Amount), stored on-chain.
- Circuit: A specialized piece of logic that defines what the ZK proof proves.
Built for the Solana Privacy Hackathon 2026.
SolVoid is an open-source contribution to the global right to financial anonymity.