Hello bitcoin-dev,
I’m Ben Westgate, a contributor interested in deterministic wallet backups and seed management.
Per BIP-0002, I propose listing BIP-0093 (codex32) as an application of
BIP-0085 (Deterministic Entropy from BIP32 Keychains), similar to the existing BIP39 application. This allows
wallets to derive codex32 backups from BIP-0032 master keys.
Summary
Application number: 93'
Codex32, defined in BIP-93, is a human-readable encoding with checksumming and share indexing designed for SSS backups of BIP-0032 seeds. This PR proposes a deterministic way to generate codex32 strings using BIP-85.
Rationale
Mirrors the existing BIP-85 application for BIP-39.
Codex32 offers error correction, hand verification, identifiers, and secret sharing features compared to BIP-39.
Adds a standardized way for wallets to generate codex32 backups from BIP-85-derived entropy
Test vectors and reference implementation are linked to in the PR.
Risks and alternatives
Wallet adoption of codex32 is still limited, though a draft PR #32652 for importing codex32 strings to Bitcoin Core has support.
PR: https://github.com/bitcoin/bips/compare/master...BenWestgate:bips:codex32
Feedback is welcome.
Best regards,Hi Javier,
Thank you for your feedback.
I added pseudocode for the character value selection. I added a column and row to the n table to clarify the t==0 constraint on n, removed the notes and in the unshared secret section made the normative statement: 'When threshold == "0", n MUST be 1 and the output is a codex32 secret.'
I’ve updated the PR with these changes and would appreciate your review.
Commit: https://github.com/BenWestgate/bips/commit/fa6e9788bf04d271792ed4ea89a112d12284ef02
Best regards, Ben Westgate
Hi Ben,
Thank you for implementing those changes so promptly. I reviewed the commit and the updates address both concerns effectively.
These changes should ensure consistent implementations across different codex32 tooling that uses BIP-85 derivation.
The proposal looks technically sound, follows BIP-85's established pattern for applications, and is supported by comprehensive test vectors and a reference implementation.
Looking forward to hearing feedback from other reviewers as well.
Best regards,
Javier Mateos
Thanks Javier for confirming my updates address your concerns,
Andrew Poelstra and Russell O'Connor gave feedback on the bip85 codex32 application, they:I welcome further feedback on the proposed before I submit it as a PR: https://github.com/bitcoin/bips/compare/master...BenWestgate:bips:codex32
Best regards, Ben Westgate