Is Nervos (CKB) quantum safe? Its opt-in SPHINCS+ lock
Partly. On Nervos Network's chain, CKB, signature rules live in scripts that run on chain rather than in the protocol. That let its developers add a post-quantum lock without a hard fork. The lock uses SPHINCS+, the hash-based scheme NIST standardised in FIPS 205. It is deployed on mainnet, it has been audited, and a community wallet, Quantum Purse, can use it. It is opt-in: CKB's default lock still uses secp256k1, an elliptic-curve scheme that a large enough quantum computer could break, and we found no plan or date for moving all users. This page sets out what Nervos documentation, the lock's code repository, its audit and the wallet's own pages say, as we read them on 4 December 2026. It is general information, not financial advice, and it makes no prediction about prices or markets.
Short answer
- Default wallets: the default lock script, one of the scripts in CKB's genesis block, verifies secp256k1 signatures, which are not post-quantum.
- Post-quantum option: a SPHINCS+ lock script that supports all 12 parameter sets of FIPS 205 is deployed on mainnet. The deployment record in its repository is dated 13 January 2026.
- No fork: Nervos documentation says users adopt the new lock by moving assets to a new address that uses it, without a network-wide upgrade.
- Wallets: Quantum Purse, a community desktop wallet, supports the lock. Its README says no SPHINCS+ hardware wallet exists yet.
- Mining: CKB is secured by proof of work using Eaglesong, a hash function, rather than by validator signatures.
- Opt-in: existing coins are not moved, and we found no date for moving all users.
How QDay Index rates Nervos Network
Nervos Network scores 57 out of 100, in the Preparing band, ranked 7 of 112 chains. It is at Stage 3 of 4, opt-in live or approved: a quantum-safe signing option is live on the main network, or formally approved for it, but users have to opt in and classical keys remain the default. The evidence level is Primary sources: at least one primary source, such as an official proposal, specification or code repository, supports the main claim behind this rating.
The score is the sum of six ratings, each from 0 to 5, weighted as shown:
- Signature scheme (weight 25): 2/5
- Exposed coins (weight 20): 2/5
- Upgrade path (weight 20): 4/5
- Validator / consensus (weight 10): 5/5
- Governance speed (weight 15): 3/5
- Wallet support (weight 10): 2/5
The reasons behind each rating are on the Nervos Network page, and the methodology explains the weights. Stages explains what Stage 3 means.
How the SPHINCS+ lock works
On CKB, each cell (CKB's unit of state, much like a coin) names a lock script, and whoever can satisfy that script can spend the cell. Nervos documentation calls this cryptographic abstraction: the signature algorithm and hash function are not hard-coded in the protocol. To adopt a new scheme, someone deploys a new lock script, users create addresses that point to it, and they move their assets there. The network does not fork.
The lock's repository says it is based on NIST FIPS 205 and has three implementations, in C, in Rust and a hybrid of the two. The mainnet deployment uses the C version. One deployed script supports all 12 parameter sets, at 128, 192 and 256-bit security levels, in small and fast variants, built on SHA2 or SHAKE. It is designed as a multisig lock, with a single key as the simplest case.
Nervos documentation says the CKB team and Cryptape built the lock in 2023, NIST approved FIPS 205 in August 2024, and mainnet deployment began in 2025. The repository's mainnet deployment commit is dated 13 January 2026, and testnet details were added on 4 February 2026. For how this scheme relates to the others NIST approved, see SLH-DSA and NIST post-quantum standards.
The cost: large signatures
SPHINCS+ signatures are large. The repository lists signatures from 7,856 bytes for the smallest 128-bit variant to 49,856 bytes for the fast 256-bit variant, with public keys of 32 to 64 bytes. Nervos documentation compares this with about 64 bytes for a secp256k1 signature. Checking one signature costs between about 11.5 million and 157.6 million cycles of CKB's virtual machine, depending on the variant and implementation. Nervos documentation says CKB keeps signatures in a separate witness field and checks inputs that share a lock together, so one signature can cover several inputs.
Audit and upgrade keys
The repository links an audit by ScaleBit. The report covers the C lock at a fixed commit, reviewed between 26 October and 21 November 2025. It lists one minor finding, a denial-of-service issue in a multisig pre-check, marked as acknowledged, and no critical, major or medium findings.
The repository's mainnet entry refers to the script through a Type ID, CKB's built-in way to keep one reference while the code behind it is upgraded. The deployment notes say the script's cell is locked by a 3-of-5 multisig of named CKB developers, and the lock on that cell is CKB's standard secp256k1 multisig script. So, for now, the power to upgrade the post-quantum lock rests on elliptic-curve keys.
Wallets
The Quantum Purse README describes a desktop wallet for Windows, macOS and Linux that supports all 12 parameter sets and suggests starting with the SHA2-256s set. It says a SPHINCS+ hardware wallet is needed for secure key management and is not yet available. It warns "USE AT YOUR OWN RISK", says its binaries are not reproducible builds and should be checked by building from source, and notes that each quantum-safe cell must hold at least 73 CKB. Its v0.3.0 release, dated 19 January 2026, is labelled as a build for mainnet. See quantum-safe wallets for wallets on other chains.
Mining and consensus
CKB's consensus, NC-Max, is built on Nakamoto consensus, the proof-of-work model Bitcoin uses. Nervos RFC 0010 specifies Eaglesong, a sponge-based hash function with a 256-bit output, as the hash for CKB proof of work. Mining therefore rests on hashing rather than on signatures. For why hashing and signatures face different quantum attacks, see Shor's vs Grover's algorithm.
What is still open
- The default lock is still secp256k1, and we found no date for moving all users.
- No hardware wallet supports the SPHINCS+ lock.
- Upgrades to the deployed lock are controlled by a 3-of-5 multisig that uses secp256k1 keys.
- Signatures of roughly 8 to 50 kilobytes make post-quantum transactions much larger than ordinary ones.
What a holder can do now
The option is opt-in, and Quantum Purse's own README warns that it is used at your own risk. This page does not recommend any wallet. For steps that apply on any chain, see how to protect your crypto from quantum computers and is your seed phrase quantum safe?.
Compare and explore
- Nervos Network's score and factor reasons
- Nervos Network on the migration map, and the full migration map
- Quantum-native chains and proof-of-work coins, ranked
- Related guides: Is Kaia quantum safe?, Is Mochimo quantum safe?, Is Quantus quantum safe?, Is Arc quantum safe?, Is Bittensor (TAO) quantum safe?, post-quantum signatures explained, post-quantum migration deadlines, when is Q-Day?
Sources
- docs.nervos.org ↗
- docs.nervos.org ↗
- docs.nervos.org ↗
- github.com ↗
- scalebit.xyz ↗
- github.com ↗
- github.com ↗
- github.com ↗
- github.com ↗
- github.com ↗
General information, not financial or security advice. Spot an error? Email [email protected].