IntroductionZK-BitLock protects UTXO-based blockchains against quantum and key-extraction attacks without bloating on-chain storage by cloaking the signer's public key behind a 32-byte SHA-256 lock at rest and verifying spends through a native Zero-Knowledge Proof (ZKP) layer. Instead of revealing a reusable public key when spending coins, each transaction rotates to a fresh one-time session salt (rn) and proves ownership of the underlying private key—whether a quantized Modular Neural Network or a classic secp256k1 ECC keypair—without ever exposing raw keys or neural weights on-chain or in the mempool.
ZK-BitLock explores a clean middle ground that keeps blocks lightweight while keeping public keys completely hidden:
- Nothing Exposed at Rest (32-Byte Locks): Unspent coins sit behind a compact 32-byte hash commitment. Zero public keys or elliptic-curve points ever appear on-chain while your coins sit idle.
- Zero Key Exposure When Spending: Instead of revealing your public key when broadcasting a transaction, you prove ownership through a Zero-Knowledge Proof (ZKP) and automatically rotate your change into a fresh, unlinkable 32-byte lock. Your actual key never touches the mempool or the blockchain.
- Compact Proofs and Pluggable Engines: You can test both a pure hash-based ZK-STARK mode (full post-quantum security) and a compact 96-byte ECC proof mode (keeping permanent archival storage tiny). It works with standard secp256k1 keys as well as an experimental modular neural-network signer.
- Bitcoin Soft-Fork Path: Deploying a native ZKP key-cloaking layer on Bitcoin requires a soft-fork verifier opcode (such as a Tapscript upgrade tested on regtest and signet).
Try the Live Interactive SimulatorNote 1: The "Modular Neural Network" option in the prototype (and screenshot above) is strictly an exploratory research track—ZK-BitLock works natively with standard secp256k1 keys as well.Note 2: ZK-BitLock is an open research laboratory prototype and architectural blueprint—not production cryptography. Independent review, circuit feedback, and ideas around regtest/signet testing are very welcome.