$NOSTRA

Paper 1, 5 December 2026

Two signatures on every payment

Abstract

Every Nostra payment carries two independent post-quantum signatures: ML-DSA-65, built on module lattices (FIPS 204), and SLH-DSA-SHA2-128s, built on hash functions alone (FIPS 205). Nodes accept a payment when both verify over the same message, and refuse it when either is missing or wrong. This note sets out why one signature isn’t enough, what each scheme brings, and what the rule costs.

A temple wall between Doric columns, with two round stone reliefs: one a slanted grid of raised points, the other rings that split in two

1The exposure problem

Bitcoin and Ethereum accounts rest on elliptic-curve signatures over secp256k1. Shor’s algorithm solves the elliptic-curve discrete logarithm in polynomial time on a fault-tolerant quantum computer [1]. Published resource estimates put that at about 2,330 logical qubits for a 256-bit curve [2].

The attack needs one input: the public key. Every Ethereum account that has sent a transaction has published it. Every spent Bitcoin output has revealed it, and Taproot outputs carry it in the address itself [3]. Those keys stay on chain for good, and a signature made today can’t be withdrawn later. So the scheme has to change before the hardware exists, not after.

2Threat model

  • We assume an adversary who can eventually run Shor’s algorithm against any classical public-key scheme, and Grover’s algorithm against hash functions [4].
  • We assume one of our post-quantum schemes could be weakened by new cryptanalysis, quantum or classical. Rainbow and SIKE were both broken in 2022, late in NIST’s review [5, 6].
  • The goal follows: no single mathematical break should be enough to move funds.

3Two schemes, both required

A payment is valid when both signatures verify over the same message: an AND, not an OR.

SchemeBuilt onPublic keySignature
ML-DSA-65Module lattices, NIST category 31,952 bytes3,309 bytes
SLH-DSA-SHA2-128sSHA-2 hash functions32 bytes7,856 bytes

ML-DSA-65 [7] is a Fiat-Shamir-with-aborts lattice scheme with compact signatures and fast verification. SLH-DSA-SHA2-128s [8] is stateless and hash-based, and its security reduces to properties of SHA-2 alone, the most conservative assumption on offer. Its signatures are larger and slower to make.

The two schemes share no algebraic structure. To forge a payment, an attacker has to break module lattices and the hash function together. A breakthrough against lattices leaves funds behind SLH-DSA, and the reverse holds too.

4What they sign

Both signatures cover the same bytes: a fixed label, the network’s name, then the payment itself (version, both public keys, recipient, amount, fee and counter). The network’s name means a testnet payment can’t be replayed on the mainnet. The counter means a payment can’t be replayed on the same network.

Every field has a fixed size, so a payment has exactly one valid byte form. There’s nothing to reorder and nothing to pad.

5Costs and status

  • A signed payment on the current testnet build is 13,210 bytes, almost all of it signatures and keys. The note on costs covers what that means for blocks.
  • Signing with SLH-DSA-SHA2-128s takes noticeably longer than with ML-DSA. It happens once per payment, on the payer’s device.
  • The rule is built and running on a local test network. The code hasn’t had an outside review yet.

References

  1. P. W. Shor, Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer, SIAM Journal on Computing, 1997
  2. M. Roetteler, M. Naehrig, K. M. Svore and K. Lauter, Quantum resource estimates for computing elliptic curve discrete logarithms, ASIACRYPT 2017
  3. P. Wuille, J. Nick and A. Towns, BIP 341: Taproot, SegWit version 1 spending rules, 2020
  4. L. K. Grover, A fast quantum mechanical algorithm for database search, Proceedings of the 28th ACM Symposium on Theory of Computing, 1996
  5. W. Beullens, Breaking Rainbow takes a weekend on a laptop, CRYPTO 2022
  6. W. Castryck and T. Decru, An efficient key recovery attack on SIDH, EUROCRYPT 2023
  7. NIST, FIPS 204: Module-Lattice-Based Digital Signature Standard, August 2024
  8. NIST, FIPS 205: Stateless Hash-Based Digital Signature Standard, August 2024

This paper goes deeper into one part of the whitepaper: Two signatures, both required. The whitepaper covers the whole protocol in one place.