$NOSTRA

Paper 2, 5 December 2026

Hidden until used

Abstract

A Nostra address is 0x followed by 64 hexadecimal characters: a SHA-256 hash of the account’s two public keys. The keys stay off the chain until the account sends its opening payment. A key-change payment, now being built, will let an account replace both keys and keep its address, balance and history. This note covers the commitment, its strength under Grover’s algorithm, and the planned key change.

A square stone maze seen from above, with a dark ball resting at its centre

1The address as a commitment

An address is SHA-256 over a fixed label, the ML-DSA public key and the SLH-DSA public key [2]. Anyone can send to it. Nobody can learn the keys from it.

The keys appear on chain when the account spends. Before that, an attacker has nothing to attack but the hash.

2Strength under Grover

Grover’s algorithm finds a preimage of an n-bit hash in about 2n/2 steps [1]. For a 256-bit address that leaves about 2128 work. A 160-bit address, the length Ethereum uses, would fall to about 280.

Forty-character Ethereum-style addresses are refused outright, so coins can’t be sent to a key that can never make a valid Nostra signature.

3When the keys are public

Once an account has spent, its keys are on chain. That’s expected: both are post-quantum [3, 4], and nobody knows how to get from either one back to its secret, with a quantum computer or without.

Hiding keys is a shield, not a cure. Maths can surprise people, which is why the next step exists.

4Key change without moving

A chain with one signature scheme that loses that scheme has to move every account to a new address, in a hurry, while attackers watch. Nostra plans a key-change payment instead.

  • It’s signed by both current keys, and it names two new public keys.
  • From the block that includes it, the old keys are refused for that account.
  • The address, balance and history stay the same.

Key change is decided and now being built. It isn’t in the current testnet build.

5Keys stored once

An account’s first payment carries both public keys, and the chain keeps them. After that, payments name the account instead: 32 bytes in place of 1,984. That takes a payment from 13,210 bytes to 11,258.

6Backup

One 24-word phrase (256 bits of entropy) derives both key pairs using nothing but hash functions. There’s no elliptic-curve derivation anywhere in the path, so the backup keeps about 128 bits of strength under Grover. The wallet file is sealed with scrypt and AES-256, and keys are made and used on the user’s device.

References

  1. L. K. Grover, A fast quantum mechanical algorithm for database search, Proceedings of the 28th ACM Symposium on Theory of Computing, 1996
  2. NIST, FIPS 180-4: Secure Hash Standard, August 2015
  3. NIST, FIPS 204: Module-Lattice-Based Digital Signature Standard, August 2024
  4. NIST, FIPS 205: Stateless Hash-Based Digital Signature Standard, August 2024

This paper goes deeper into one part of the whitepaper: The address commits to both keys. The whitepaper covers the whole protocol in one place.