LPsLux Proposals
Q-Chain
LP-4294

lp-4294-wallet-pq-account-type


lp: 4294 title: Wallet PQ Account Type description: The native post-quantum wallet account on Lux — a 48-byte AccountID derived from an ML-DSA-65 public key, with the 20-byte EVM address demoted to a read-side projection author: Lux Core Team (@luxfi) discussions-to: https://github.com/luxfi/lps/discussions status: Final implementation-rust: none implementation-cpp: none implementation-go: partial type: Standards Track category: Core tags: [pq, ml-dsa, wallet, account, hd-derivation, strict-pq]

  • lp-4400

Abstract

The native PQ wallet account on Lux is identified by a 48-byte AccountID:

AccountID = SHA3-384("LUX-ACCOUNT-V1" || mldsa_pubkey)

HD derivation follows m/44'/9000'/nid'/0/n, where nid' is the Lux network id and slip-44 coin type 9000 is retained.

The consequential part is what happens to the familiar 20-byte address: it becomes a projection, not an identity. The EVM adapter emits one for indexing and RPC reads, but settlement is keyed by AccountID. A 20-byte address is a truncated hash of a secp256k1 key, and under a strict-PQ profile there is no secp256k1 key to truncate. Keeping the short form as the primary identifier would silently reintroduce the assumption the profile exists to remove.

Profile

ProfileID:           0x01  (ProfileLuxStrictPQ)
ProfileName:         LUX_STRICT_PQ
HashSuiteID:         SHA3_NIST                (0x01)
IdentitySchemeID:    ML_DSA_65                (0x42)
FinalitySchemeID:    PULSAR_M_65              (0x52)
HighValueSchemeID:   PULSAR_M_87              (0x53)
ProofPolicyID:       STARK_FRI_SHA3_PQ        (0x10)
MinSoundnessBits:    128
MinHashOutputBits:   384
RequireTransparent:  true
ForbidPairings:      true
ForbidKZG:           true
ForbidTrustedSetup:  true
ForbidClassicalSNARKs: true
ForbidDevProofs:     true
ForbidFallbacks:     true

Resolved via config.ProfileByID(config.ProfileLuxStrictPQ).

Bindings

  • luxfi/wallet/pq/account.go is the canonical wallet binding. It reuses luxfi/crypto/mldsa for key generation and luxfi/consensus/protocol/auth for the AccountID derivation.
  • KAT vectors: luxfi/consensus/protocol/auth/testdata/account_v1.json.

Compliance

A wallet on LUX_STRICT_PQ MUST NOT use the 20-byte EVM-form address as the primary identifier. The 48-byte AccountID is primary; the EVM-form projection is emitted for indexing and RPC read paths only.

References

  • HIP-0085 — the full account-type specification this LP binds to the luxfi package surface
  • NIST FIPS 204, FIPS 202, SP 800-185, SP 800-57
  • luxfi/consensus/protocol/auth/account.go

Copyright (C) 2024-2026, Lux Industries Inc. All rights reserved.

Licensed under the MIT License.