Skip to content

BenWestgate/bip85

 
 

Repository files navigation

BIP85

Reference implementation for BIP85, including support for BIP93 (codex32).

Includes a CLI tool to test the functionality.

Example usage

To generate 5 codex32 shares with threshold 3 from a BIP32 master key:

bip85-cli --index 0 \
  --xprv xprv9s21ZrQH143K2LBWUUQRFXhucrQqBpKdRRxNVq2zBqsx8HVqFk2uYo8kmbaLLHRdqtQpUm98uKfu3vca1LqdGhUtyoFnCNkfmXRyPXLjbKb \
  bip93 --threshold 3 --n 5

For usage details:

bip85-cli --help
bip85-cli bip93 --help

Installation

Install the CLI tool using pipx:

git clone https://github.com/benwestgate/bip85
cd bip85
pipx install .

Running tests

pytest

Make sure the package is installed (pip install -e .) before running tests.

About

BIP Entropy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.3%
  • Dockerfile 0.7%