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.β