NEAR Protocol — Quantum Exposure Report
Book AuditNEAR Protocol (NEAR) — Public PQC Readiness Report
| Name | NEAR Protocol |
| Ticker | NEAR |
| Website | https://near.org |
| GitHub | https://github.com/near |
| Twitter/X | @NEARProtocol |
| On-chain environment | WASM (Rust, AssemblyScript) |
| Current mainnet version | Protocol version 86 (nearcore 2.13.0, activated ~2026-07-11) |
| Mainnet genesis | 2020-04-22 |
Summary
| Category | Grade | Icon | Status |
|---|---|---|---|
| Transaction Signatures | A | Shipped | |
| Consensus | D | Discussed | |
| P2P Networking | F | Exposed | |
| On-Chain Logic | F | Not Discussed | |
| Other Features | B | In Development | |
| EC Sunset | F | Not Discussed |
NEAR Protocol is one of the most advanced non-PQC-native L1 chains in post-quantum migration — and, as of July 2026, the first to ship a NIST post-quantum transaction-signature scheme on its production mainnet. In May 2026, Near One announced active development of FIPS-204 (ML-DSA-65) as a third signing scheme for user transactions. By mid-June 2026, ML-DSA-65 was stabilized on the mainnet-bound stable protocol track (protocol version 85), with all productionization work — gas pricing, transaction size accounting, key-hash optimization, and end-to-end tests — merged into nearcore. The nearcore 2.13.0 release (~2026-07-11) then carried the mainnet protocol bump: as of 2026-07-20, NEAR mainnet runs protocol version 86 (≥ the activation version 85), so ML-DSA-65 transaction signing is live and active on mainnet. This makes NEAR the first major non-PQC-native L1 with a NIST FIPS 204 signature scheme active on production mainnet. A formal standards-track proposal, NEP-645 ("ML-DSA-65 Post-Quantum Transaction Signatures", opened 2026-07-01), and an in-protocol SHA3-256 host function for quantum-safe account identifiers (nearcore#16006, merged) round out the work.
NEAR's account model gives it a structural advantage: accounts are identified by human-readable names decoupled from key material, and each account holds rotatable access keys. Migrating to a PQC key requires only a single transaction. Consensus, P2P, and EC sunset remain in early discussion stages, and on-chain logic has no PQC primitives on the roadmap.
Proposed and Implemented PQC Algorithms
| Algorithm | Replaces | Category | Status |
|---|---|---|---|
| ML-DSA-65 (FIPS 204) | Ed25519, ECDSA secp256k1 | Tx Signatures | Implemented (active on mainnet at protocol v86; nearcore#15878) |
Transaction Signatures
Grade: ANEAR transactions are signed with Ed25519 (default) or ECDSA secp256k1. Both are broken by Shor's algorithm. NEAR already supports two signature schemes in its runtime, and its architecture is designed to accommodate additional algorithms.
Near One has implemented FIPS-204 (ML-DSA-65) as a third signing scheme. The core implementation PR nearcore#15731 (opened 2026-05-14) adds MLDSA65 key-type variants using the FIPS-certified aws-lc-rs (BoringCrypto) library, gated by a PostQuantumSignatures protocol feature flag. To manage state costs, the full ~2 KB public key travels on the wire but is stored in the trie as a ~33-byte SHA3-256 hash (optimized from SHA3-384/49 bytes via #15830, merged 2026-06-02).
On 2026-06-10, the critical stabilization PR nearcore#15878 merged, moving ML-DSA-65 from the nightly/future-gated protocol config (v154) down to the stable protocol version (v85). The nearcore 2.13.0 release (~2026-07-11) then carried the mainnet protocol upgrade: as of 2026-07-20, NEAR mainnet runs protocol version 86, at or above the activation version 85, so ML-DSA-65 transaction signing is live and active on mainnet today. The formal standard NEP-645 (opened 2026-07-01) specifies ML-DSA-65 as a first-class NEAR transaction-signature scheme, and nearcore#16006 adds an in-protocol SHA3-256 host function for quantum-safe Universal Account IDs. Post-activation maintenance continues via nearcore#16064 (an ML-DSA-65 gas-key / meta-transaction cost-charging fix).
All productionization PRs have merged:
- nearcore#15815 (merged 2026-06-01): end-to-end ML-DSA-65 access-key tests covering AddKey, view, sign, DeleteKey, and function-call key flows.
- nearcore#15813 (merged 2026-06-02): ML-DSA-65 verification distribution and worst-case Criterion benchmarks, feeding the gas pricing constant.
- nearcore#15830 (merged 2026-06-02): hash ML-DSA-65 access keys with SHA3-256 instead of SHA3-384, shrinking the on-trie key-handle from 49 to ~33 bytes.
- nearcore#15842 (merged 2026-06-08):
ml_dsa_65_verification_cost= 100 Ggas, charged to burnt gas per ML-DSA-65 signature verified. - nearcore#15860 (merged 2026-06-08): generalizes the ML-DSA-65 hash domain tag into a
HashDomainTagenum for future reuse. - nearcore#15869 (merged 2026-06-09): counts ML-DSA-65 signatures (~3.3 KB) against transaction size limits; adds architecture documentation.
- nearcore#15873 (merged 2026-06-09): removes undesired
non_exhaustiveattribute from hash domain types.
PublicKey type), near-cli-rs#605 (near generate-keypair --ml-dsa-65), near-jsonrpc-client-rs#190, near-socialdb-client-rs#49, cargo-near#436, and near-workspaces-rs#449 — merged on 2026-07-01/02. Validator CLI (near-validator-cli-rs#41) and docs (docs#3061) remain open.
Wallet integration is in progress, with Near One collaborating with Ledger and other hardware and software wallet builders.
NEAR's account model is a notable structural advantage. Accounts are identified by human-readable names rather than being derived from public keys. Each account holds one or more rotatable access keys. Migrating to a PQC key requires only a single transaction to add a new ML-DSA access key and remove the old Ed25519 key — no address change or fund transfer needed.
Current state. ML-DSA-65 is live and active on NEAR mainnet at protocol v86 — a first-class third signing scheme alongside Ed25519 and ECDSA secp256k1. Users can create ML-DSA-65 access keys and sign transactions with them on mainnet today. Planned future work. Retail-wallet signing UX (Ledger and software wallets) is still maturing, and post-activation maintenance such as the cost-charging fix continues. The protocol-level capability is live on mainnet.Consensus
Grade: DNEAR uses Doomslug BFT consensus with Nightshade sharding. Validators sign blocks and approval messages with Ed25519. Block producers and chunk producers all use Ed25519 keys for identity and signing. Nightshade 2.0 (2024) introduced stateless validation but did not change the underlying cryptography.
The Near One blog (2026-05-06) confirms "longer-term research to secure the NEAR Protocol: consensus, signing, validators, epoch sync, and sending transactions," but no implementation timeline or specific post-quantum algorithm has been proposed for the consensus layer.
Current state. All block and approval signatures use Ed25519. Validator identity is Ed25519-based. Planned future work. Included in Near One's longer-term PQC research scope. No specific timeline or proposal.P2P Networking
Grade: FNEAR uses a custom peer-to-peer networking layer built on an actor framework.
Current state. The peer transport is plaintext TCP: nodes exchange raw length-prefixed messages with no transport-layer encryption, no session key, and no per-message authentication code. NEAR does one thing well here — a signed-edge handshake, in which both peers sign a shared nonce, cryptographically authenticates each peer's Ed25519 identity (stronger than chains that accept an asserted node ID at face value). But authenticating who the peer is does not authenticate each message: after the handshake, per-message traffic is unprotected, so a man-in-the-middle can modify individual messages without the receiver detecting the tampering. Under the readiness rubric, a peer transport where tampering goes undetected is graded exposed (F), regardless of the strength of the identity handshake or of post-quantum work elsewhere on the chain. NEAR's mainnet post-quantum signatures (ML-DSA-65) secure transactions, not the peer link. Planned future work. P2P is included in Near One's stated longer-term post-quantum research scope (2026-05-06 blog), but no specific migration plan, algorithm, or timeline has been published. Closing this category would require an encrypted, per-message-authenticated peer transport (ideally with a post-quantum key exchange), not only the existing identity handshake.On-Chain Logic
Grade: FWe have found no public information indicating migration activity for NEAR Protocol in this category. If we are mistaken and a proposal, draft, working group, or implementation effort exists that we have missed, we would like to hear about it — see the contact link in the footer.
Other Features
Grade: BChain Signatures
NEAR Chain Signatures is a decentralized MPC network that allows NEAR accounts and smart contracts to sign transactions on external blockchains (Bitcoin, Ethereum, Solana, and 30+ others) without bridges. It currently uses threshold ECDSA (secp256k1) and EdDSA, both quantum-vulnerable.The Defuse team is actively building quantum-safe Chain Signatures via the NEAR Intents infrastructure. The 2026-05-06 blog states this could "offer users from other ecosystems a place to back up their assets in a quantum-safe environment."
Current state. Threshold ECDSA and EdDSA only. No post-quantum chain signatures on mainnet. Planned future work. Quantum-safe Chain Signatures under active development by the Defuse team.Aurora EVM
Aurora is an EVM execution environment deployed as a NEAR smart contract. It inherits Ethereum's EC precompiles (ecrecover, ecAdd, ecMul, ecPairing). All Ethereum-derived EC operations running on Aurora are quantum-vulnerable. No post-quantum upgrade path has been announced for Aurora.NEAR Data Availability (NEAR DA)
NEAR DA stores transaction and state commitments using Merkle tree roots validated by Ed25519 chunk signatures. No post-quantum migration has been announced.
Proof-of-Ownership Research (ZKP)
Near One is researching an emergency fallback mechanism — allowing users to prove knowledge of their seed phrase via zero-knowledge proofs without revealing the seed itself — for scenarios where elliptic-curve keys are broken. The construction uses hash-based ZKP, inspired by Bitcoin ecosystem work.
Current state. Active research. No implementation timeline. Planned future work. Research ongoing; no deployment plan announced.EC Sunset
Grade: FAdding PQC alongside EC is not the same as retiring EC. For reference, NEAR's PQC-adoption ratings per category are: Tx Signatures, Consensus
, P2P
, On-Chain
, Other
.
NEAR's current strategy is additive: ML-DSA-65 will be offered alongside Ed25519 and ECDSA, and users will rotate keys voluntarily. No deprecation, forced migration, or removal timeline has been announced for any EC-based cryptography across any layer.
Current state. No EC sunset plan. Planned future work. No EC deprecation roadmap announced.Governance
NEAR protocol changes are led by the NEAR Foundation and core developer teams, with proposals discussed via GitHub issues on the nearcore repository and informal RFCs. Hard forks are foundation-directed. Protocol upgrades use a validator-voting mechanism: once a sufficient share of validator stake signals readiness for a new protocol version, the upgrade activates automatically.
PQ-relevant announcements and reference documentation:
- 2026-05-06 Blog: "Preparing NEAR for the Quantum Computing Era" — FIPS-204 (ML-DSA-65) implementation announced; testnet Q2 2026; longer-term consensus/P2P PQC research confirmed; quantum-safe Chain Signatures under development; ZKP proof-of-ownership research disclosed.
- nearcore#15731 — Live ML-DSA-65 implementation PR (opened 2026-05-14),
aws-lc-rs,PostQuantumSignaturesprotocol gate. - nearcore#15878 — ML-DSA-65 stabilized on stable protocol version 85 (merged 2026-06-10). Moves ML-DSA-65 from nightly/future config to the mainnet-bound stable track. Activated on mainnet via the nearcore 2.13.0 release (~2026-07-11); mainnet runs protocol v86 as of 2026-07-20.
- nearcore#16064 — post-activation ML-DSA-65 gas-key / meta-transaction cost-charging fix, behind a
FixMlDsaCostChargingprotocol feature. Open. - NEP-645 — "ML-DSA-65 Post-Quantum Transaction Signatures." Status: Open (created 2026-07-01). Formal standards-track proposal specifying ML-DSA-65 as a first-class NEAR transaction-signature scheme.
- nearcore#16006 — adds a SHA3-256 host function for quantum-safe Universal Account IDs and carries the
ml_dsa_65_verification_costgas parameter. Merged. - ML-DSA-65 developer-tooling wave merged 2026-07-01/02: near-cli-rs#605, near-jsonrpc-client-rs#190, near-socialdb-client-rs#49, cargo-near#436, near-workspaces-rs#449. Still open: near-validator-cli-rs#41, docs#3061.
- Supporting merges: #15815 (e2e tests), #15813 (benchmarks), #15830 (SHA3-256 key hash), #15842 (gas pricing), #15860 (domain tag refactor), #15869 (tx size limits), #15873 (cleanup).
- near-sdk-rs#1557 — Draft PR exposing ML-DSA-65 public keys to the contract SDK (opened 2026-06-13).
- CryptoTimes coverage — Illia Polosukhin confirms Q2 2026 testnet timeline.
- Cointelegraph coverage — Near One on proof-of-ownership ZKP research.
- BanklessTimes coverage — Market reaction and technical summary.
- @NEARProtocol PQC thread (X) — Pinned tweet thread from 2026-05-06.
- NEAR Chain Signatures documentation
- NEAR Access Keys API
- NEAR Consensus Specification (Nomicon)
- NEAR P2P Architecture
- Nightshade 2.0 announcement
- Messari: Understanding Nightshade 2.0
Generated on 25 Jul 2026 based on information as of 25 Jul 2026. Propose a correction or update Editorial policy: none currently published.