Reference implementation for BIP85, including support for BIP93 (codex32).
Includes a CLI tool to test the functionality.
To generate 5 codex32 shares with threshold 3 from a BIP32 master key:
bip85-cli --index 0 \
--xprv xprv9s21ZrQH143K2LBWUUQRFXhucrQqBpKdRRxNVq2zBqsx8HVqFk2uYo8kmbaLLHRdqtQpUm98uKfu3vca1LqdGhUtyoFnCNkfmXRyPXLjbKb \
bip93 --threshold 3 --n 5For usage details:
bip85-cli --help
bip85-cli bip93 --help
Install the CLI tool using pipx:
git clone https://github.com/benwestgate/bip85
cd bip85
pipx install .pytestMake sure the package is installed (pip install -e .) before running tests.