Expand description
Locked constants for mk1 per design/SPEC_mk_v0_1.md v0.1.
All values are closure-locked (see
docs/superpowers/specs/2026-04-29-mk1-open-questions-closure-design.md).
Reproducer for the NUMS-derived target constants is documented in
the BIP draft’s “Why new target constants?” section.
Constants§
- CHUNKED_
FRAGMENT_ LONG_ BYTES - Chunked-fragment long-code payload bytes per chunk.
- CHUNKED_
FRAGMENT_ REGULAR_ BYTES - Chunked-fragment regular-code payload bytes per chunk.
- CROSS_
CHUNK_ HASH_ BYTES - Cross-chunk integrity hash size in bytes.
- GENERATOR_
FAMILY - Family-stable generator string (closure Q-10) for vector-corpus SHA-256 anchoring. Patch-version bumps don’t roll the token; minor- or major-version bumps do.
- HRP
- HRP for
mk1strings (BIP 173 separator1follows: prefix ismk1). - MAX_
CHUNKS - Maximum chunks per card.
- MAX_
PATH_ COMPONENTS - Maximum components in an explicit-path encoding (closure Q-3).
- MK_
LONG_ CONST - Top 75 bits of
SHA-256(NUMS_DOMAIN). Long-code target residue. - MK_
REGULAR_ CONST - Top 65 bits of
SHA-256(NUMS_DOMAIN). Regular-code target residue. - NUMS_
DOMAIN - Domain string for NUMS-derived target constants (closure Q-1).
- ORIGIN_
FINGERPRINT_ BYTES - Origin fingerprint size in bytes.
- POLICY_
ID_ STUB_ BYTES - Policy ID stub size in bytes (closure Q-2).
- SINGLE_
STRING_ LONG_ BYTES - Single-string long-code payload bytes.
- SINGLE_
STRING_ REGULAR_ BYTES - Single-string regular-code payload bytes.
- XPUB_
COMPACT_ BYTES - Compact-73 xpub byte size (closure Q-7).