Rebuilding the Phantom source with full-chain privacy architecture
SPOOK is a next-generation privacy wallet and protocol stack designed for EVM, Solana, TON, and XMR ecosystems.
It provides complete anonymity, multi-chain privacy transfers, and automated proxy rotation — all without relying on centralized tracking or custodial intermediaries.
- Supports EVM / Solana / TON / XMR.
- Import existing wallets or create new HD wallets (BIP-39 / BIP-32).
- All asset inflows are routed through privacy mixers only.
- Local-only key management, AES-256-GCM encryption.
| Mode | Description |
|---|---|
| Normal Interaction | Direct on-chain transactions via connected RPC nodes. |
| Privacy Transfer | Multi-step ZK-based mixing workflow through temporary wallets and proof generation. |
- Automatically derive a new wallet for every transaction.
- Supports batch creation of temporary wallets.
- Temporary wallets self-destruct or encrypt-archive after use.
- Optional centralized bridge integration for XMR cross-chain routing.
- Allows asset anonymization via XMR jump chain, then return to any supported chain.
- Each bridge uses MPC escrow + proof-based verification.
- Built-in SOCKS5 proxy rotation.
- Optional multi-hop proxy chain.
- Every RPC request can use a unique proxy channel to reduce fingerprint correlation.
| Component | Description |
|---|---|
| Wallet Core | Key derivation, encryption, storage, hardware wallet support. |
| Mixer Adapter Layer | Unified interface for EVM, Solana, TON, XMR privacy pools. |
| Proof Engine | ZK-SNARK / Halo2-based proof generation (local or remote). |
| Proxy Manager | Manages SOCKS5 / HTTP proxies and connection rotation. |
| Relay Service (Optional) | Encrypted transaction relay layer for broadcast and obfuscation. |
┌──────────────────────────┐
│ SPOOK APP │
│ (Plugin / Mobile / PC) │
└──────────┬───────────────┘
│
▼
┌──────────────────────────┐
│ Wallet Core (HD / Temp) │
│ ├─ Key Derivation (BIP32)│
│ ├─ Secure Storage (AES) │
│ └─ Hardware Wallet API │
└──────────┬───────────────┘
│
▼
┌──────────────────────────┐
│ Mixer Adapter Layer │
│ (Tornado / Railgun / ... ) │
└──────────┬───────────────┘
│
▼
┌──────────────────────────┐
│ Proxy & Relay Manager │
│ (SOCKS5 / Multi-hop) │
└──────────────────────────┘
interface MixerAdapter {
listSupportedPools(chain: string, asset: string): Promise<PoolInfo[]>;
deposit(poolId: string, from: string, amount: number): Promise<{ txHash: string; note: string }>;
prove(note: string, to: string): Promise<ProofData>;
withdraw(proof: ProofData, to: string): Promise<string>;
getNoteStatus(note: string): Promise<{ spent: boolean; confirmations: number }>;
}- User selects “Privacy Transfer”.
- SPOOK derives a temporary wallet A.
- Transfer from main wallet → A.
- Deposit into Mixer Protocol, generating ZK note.
- Derive new temporary wallet B.
- Withdraw from mixer → B → target wallet.
- Securely delete temporary wallets and proof traces.
- Local-only private keys (never transmitted).
- Optional hardware wallet (Ledger/Trezor) integration.
- All storage AES-256-GCM encrypted.
- Optional TEE-based secure enclave for proof generation.
- Proxy-based request rotation to mitigate network fingerprinting.
Note: Privacy and mixing protocols may be restricted or regulated in some jurisdictions. Users are solely responsible for compliance with local laws. SPOOK provides open-source privacy tools without custodial control or data storage.
| Layer | Technology |
|---|---|
| Core | TypeScript / Node.js / Rust (WASM Proof Engine) |
| UI | React / React Native / Electron |
| Storage | SQLite / LevelDB + AES Encryption |
| ZK Proofs | Halo2 / Groth16 via Rust + WASM |
| Proxy | SOCKS5 / HTTP Multi-hop |
| Deployment | Docker / K8s (Relay & Proof Services) |
- EVM + Solana base wallet.
- Temporary wallet generation.
- Mock privacy adapter (local mixer simulation).
- Basic proxy manager.
- Full EVM Tornado adapter.
- Solana privacy pool integration.
- XMR centralized bridge.
- Proof generation optimization (WASM).
- TON privacy integration.
- Multi-hop relay and proxy.
- Decentralized proof-verifier network.
- Open governance + security audit.
spook-wallet/
├─ packages/
│ ├─ core/ # Wallet core (key, storage, tx)
│ ├─ mixer-adapters/ # Privacy protocol adapters
│ ├─ proxy-manager/ # Proxy routing & rotation
│ ├─ proof-engine/ # ZK proof generator
│ └─ ui/ # React frontend / Electron app
├─ scripts/
│ ├─ deploy/ # Deployment helpers
│ └─ test/ # Automated test scripts
├─ docs/
│ ├─ ARCHITECTURE.md
│ ├─ PROTOCOLS.md
│ └─ SECURITY.md
└─ README.md
MIT License © 2025 Spook Protocol Technology Co., Ltd. All rights reserved.
Pull requests are welcome! Before contributing, please:
- Run code linting and unit tests.
- Follow the privacy and security contribution guidelines in
docs/SECURITY.md. - Avoid committing sensitive keys or proxy credentials.
“Privacy is not a crime — it’s a human right.”