A library to create Bitcoin and Nostr keys from the same mnemonic seeds, and a command-line tool that uses this library
Version: 0.0.5
License: MIT
To import this package, add the following line to your code
import "go.hansaray.pw/hdkeys"
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 is hard to keep secrets specially multiple secrets, with hdkeys you have to keep only your mnemonic seeds secret. All other Bitcoun and Nostr keys are derived from your mnemonic seeds and can be reproduced at any time.
This alows you to have multiple identieties. And you will be able to prove selectivly that those identieties belong to you.
More identieties equals more privacy, means more freedom!
BIPxx = Bitcoin standards
NIPxx = Nostr standards
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.