title | description | tags | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Hierarchical Deterministic Keys |
hdkeys is a library to create Bitcoin and Nostr secret and public account keys from the same mnemonic seeds, and a command-line tool that uses this library. It allows for the creation of keys, mnemonic seeds, and Hierarchical Deterministic (HD) addresses. |
|
hdkeys is a library to create Bitcoin and Nostr secret and public account keys from the same mnemonic seeds, and a command-line tool that uses this library. It allows for the creation of keys, mnemonic seeds, and Hierarchical Deterministic (HD) addresses.
- hdkeys allows for the creation of mnemonic seeds, and Hierarchical Deterministic (HD) addresses.
- hdkeys supports BIP39 passphrase protection for HD Wallets
- hdkeys creates Bitcoin and Nostr keys/accounts from the same mnemonic seeds
- hdkeys can create the WIF (Wallet Import Format), and decode private and public keys from WIF
- BIP32 - Hierarchical Deterministic Wallets
- BIP39 - Mnemonic code for generating deterministic keys
- BIP43 - Purpose Field for Deterministic Wallets
- BIP44 - Multi-Account Hierarchy for Deterministic Wallets
- BIP49 - Derivation scheme for P2WPKH-nested-in-P2SH based accounts
- BIP84 - Derivation scheme for P2WPKH based accounts
- BIP86 - Derivation scheme for Pay-to-Taproot (P2TR) based accounts
- BIP173 - Base32 address format for native v0-16 witness outputs
- SLIP44 - Registered coin types for BIP-0044
- NIP05 - Mapping Nostr keys to DNS-based internet identifiers, HEX key output
- NIP06 - Basic key derivation from mnemonic seed phrase
- NIP19 - bech32-encoded entities (nsec, npub)
Don't Trust. Verify.
See release page for executables.
hdkeys --help
hdkeys wof -pass "" -mnemonic "leader monkey parrot ring guide accident before fence cannon height naive bean" > doc/wof.txt
Don't Trust Verify NIP06 test vector
$ hdkeys wif L1VZ55UPgF83k4ndU8BBf62eM9prgo4coie5ttZrvS8GBzddzrhD > doc/wif.txt
$ hdkeys keyset -pass "" -mnemonic "leader monkey parrot ring guide accident before fence cannon height naive bean" > doc/keyset.json
Coders quick start: link