BTC-pqbit

BTC-pqbit / pqbit

Public

pqbit – TypeScript toolkit simulating Bitcoin’s post‑quantum migration. Implements BIP‑360 (P2MR, bc1z addresses) and BIP‑361 hybrid signatures (secp256k1 + ML‑DSA‑44) with optional ML‑KEM‑768. Includes mock node validator, TapTree builder, wallet migration lab, and official BIP test vectors – offline, not mainnet consensus.

16
153
85% credibility
Found May 22, 2026 at 16 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

pqbit is a TypeScript developer toolkit that simulates Bitcoin's future migration to post-quantum safe cryptography. It allows developers and researchers to safely experiment with quantum-resistant Bitcoin addresses (starting with 'bc1z...'), dual signatures combining classical and quantum-safe methods, wallet migration simulations, and policy timeline explorations—all without touching real Bitcoin networks. The toolkit implements concepts from Bitcoin improvement proposals BIP-360 and BIP-361, using established cryptographic libraries for educational and research purposes.

How It Works

1
🔬 You hear about quantum threats to Bitcoin

You've read that future quantum computers could potentially break today's Bitcoin security, and you want to understand what the solution might look like.

2
🧪 You find an offline laboratory for experimentation

You discover pqbit, a safe playground where you can explore post-quantum Bitcoin ideas without touching real money or real networks.

3
🔑 You generate quantum-safe keypairs

With one simple command, you create a pair of keys that work together—one classical and one designed to resist quantum attacks.

4
📬 You create a next-generation Bitcoin address

Your keys generate a special 'bc1z...' address that uses a newer, more flexible Bitcoin address format designed for post-quantum migration.

5
You explore different experiments
✍️
Sign and verify messages

Create dual signatures that combine both classical and quantum-safe methods, then verify they work correctly.

👛
Simulate wallet migration

See how an older wallet might gradually move its funds to quantum-safe addresses over time.

📅
Explore future policy scenarios

Imagine what Bitcoin policy might look like in 2030 or 2035 as the quantum migration unfolds.

6
🔐 You test hybrid encryption demos

You experiment with combining quantum-safe encryption with dual signatures in a complete round-trip demonstration.

You understand post-quantum Bitcoin migration

Through hands-on experimentation, you've gained practical insight into how Bitcoin might safely evolve to resist quantum computers—all in a completely safe, offline environment.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 16 to 16 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is pqbit?

pqbit is a TypeScript toolkit that simulates how Bitcoin might handle post-quantum cryptography migration. It implements the emerging BIP-360 standard for Pay-to-Merkle-Root addresses (those bc1z... addresses you might have seen) and BIP-361 hybrid signature schemes combining classical secp256k1 with ML-DSA-44. The toolkit includes a mock validator, a wallet migration lab, and official BIP test vectors. Everything runs offline as a research and development environment, not connected to mainnet.

Why is it gaining traction?

The project stands out because it gives developers a hands-on way to experiment with quantum-resistant Bitcoin addresses before any consensus changes land. The CLI lets you generate keys, create bc1z addresses, build witness stacks, and simulate wallet migrations with a single command. The wallet migration dashboard visualizes how UTXOs might transition between classical and quantum-safe formats. Having official BIP test vectors locked in means your experiments can be verified against reference implementations.

Who should use this?

Bitcoin protocol developers building familiarity with post-quantum primitives should start here. Wallet developers exploring migration strategies will find the policy simulation and UTXO tracking useful. Security researchers evaluating quantum risk timelines can use the illustrative BIP-361 phases to model different activation scenarios. If you're just curious about what bc1z addresses actually look like under the hood, the CLI decode commands give you that without touching real funds.

Verdict

This is a legitimate early-stage research tool for a narrow but important problem space. The 0.85% credibility score reflects the project's youth (16 stars) and the fact that dual signatures remain a developer composition, not an activated soft fork. Start experimenting here if you're serious about post-quantum Bitcoin readiness, but treat all outputs as educational until standards solidify.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.