Why hash-based (and zero lattices)
Like Bitcoin, PCoin currently protects coins with elliptic-curve signatures (secp256k1).
Unused pc1q… addresses already hide their public key behind a SHA-256 + RIPEMD-160 hash,
but once an address spends, its public key is revealed — and a sufficiently large future quantum
computer running Shor’s algorithm could derive private keys from exposed elliptic-curve public keys.
Many proposed post-quantum schemes rely on lattice math (such as ML-DSA / Dilithium). Recent AI-assisted
cryptanalysis has shown that lattice assumptions carry structural risk that hash functions do not.
PCoin chose NIST FIPS 205 SLH-DSA-SHA2-128s (stateless hash-based signatures built
strictly on SHA-256), combined in a hybrid witness with secp256k1:
- An attacker must break both
secp256k1and SHA-256-basedSLH-DSAto forge a spend. - Even if one primitive ever weakens, the other still protects your coins.
- Zero reliance on lattices, isogenies, or custom cryptography — verified against all 66 official NIST ACVP FIPS 205 vectors.
Technical specification (SegWit v2 / pc1z…)
| Address format | Bech32m, witness version 2: pc1z… (mainnet), tpc1z… (testnet), pcrt1z… (regtest) |
|---|---|
| ScriptPubKey | OP_2 <32-byte witness program> (0x52 0x20 <program>) |
| Witness program | TaggedHash("PCoin/PQ/v2/pk", ecdsa_pubkey_33B || slh_dsa_pubkey_32B) |
| Hybrid witness | [ecdsa_sig_der_low_s || hashtype, ecdsa_pk(33B), slh_dsa_sig(7856B) || hashtype, slh_dsa_pk(32B)] |
| Same recovery phrase | Derived deterministically from your existing 12/24-word BIP-39 seed on isolated hardened branches:
m/860'/9444'/0'/change/i (ECDSA) and m/861'/9444'/0'/change'/i' → HKDF-SHA256 → SLH-DSA (testnet coin type 1'). |
| Verification cost | ~0.6–1.1 ms per signature in C++; ~2,138 vB for a typical 1-in 2-out spend; dust floor 6,252 sat (0.00006252 PCN). |
| Full spec & vectors | doc/POST-QUANTUM.md · doc/pq-v2-test-vectors.json |
Rollout status
- Core consensus, NIST-verified SLH-DSA & node wallet (
pqv2()) Built & Tested - Mining pool, block explorer, API, wrap desk & cold-vault sweep tools Built & Tested
- Windows, Android, iOS & macOS wallet support + 1-click migration Built & Verified
- Testnet activation (height
1) & multi-component E2E rehearsal Passed - Mainnet activation at block
24,000(~early January 2027) & release rollout Scheduled
Old miners & existing wallets keep working
- Pool miners (XMRig, SRBMiner, older Windows/Android/Linux miners): Nothing changes in the RandomX Stratum protocol. Existing miners paying to
pc1q…keep hashing and earning payouts normally both before and after block24,000. - Existing
pc1q…wallets: Your oldpc1q…addresses stay valid and spendable — there is no forced deadline or loss of funds if you upgrade later. - When you are ready after block
24,000: Upgrade your wallet, keep your same 12/24-word recovery phrase, and use the built-in Move to Quantum-Resistant (pc1z) button at your own pace.
How migration will work (after block 24,000)
Wait until block 24,000 activates before sending mainnet PCN to a pc1z… address.
Updated wallets automatically stay on pc1q… beforehand and unlock pc1z… at block 24,000:
- Update your PCoin wallet (Windows, Android, iOS, macOS, or full node) from pc.am/download or the official app stores.
- Your existing 12/24-word recovery phrase stays compatible — upgraded wallets derive both your old
pc1q…addresses and your new quantum-resistantpc1z…addresses from the same words. - Move your coins to
pc1z…using the built-in Move to Quantum-Resistant (pc1z) button (or by sending your balance to a newpc1z…receive address). - Update mining payout addresses to
pc1z…once the pool enables post-activationpc1z…payouts automatically.
Questions? Join the community chat at t.me/PCoinPCNChat or follow official announcements at @PCoinPCN.
PCoin