Skip to content

Commit

Permalink
slip-0173: add codex32 (#1580)
Browse files Browse the repository at this point in the history
  • Loading branch information
roconnor-blockstream authored Aug 5, 2023
1 parent 2342d50 commit d633617
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions slip-0173.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,18 @@ other entries use Bech32.
| | `uivk` (m) | `uivktest` (m) | `uivkregtest` (m) |
| | `uview` (m) | `uviewtest` (m) | `uviewregtest` (m) |

## Uses of codex32

The codex32 format is used to store master secret data. It features an extended
checksum versus the one used in Bech32 in order to support enhanced error
correction. Codex32 uses the same notion of a human-readable part and the same
set of 32 characters as other Bech32 formats.

| Application | Human-readable part |
| -------------------- | -------------------- |
| CLN's HSM secret | `cl` |
| BIP-0032 master seed | `ms` |

## Libraries

- [Reference Implementations](https://github.com/sipa/bech32/tree/master/ref)
Expand All @@ -243,3 +255,4 @@ other entries use Bech32.

- [BIP-0173: Base32 address format for native v0-16 witness outputs](https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki)
- [BIP-0350: Bech32m format for v1+ witness addresses](https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki)
- [BIP-0093: codex32: Checksummed SSSS-aware BIP32 seeds](https://github.com/bitcoin/bips/blob/master/bip-0093.mediawiki)

0 comments on commit d633617

Please sign in to comment.