Skip to content

swan-bitcoin/xpub-tool

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Swan's Address Derivation Tool

code style: prettier

A small JavaScript library and accompanying tool that derives bitcoin addresses from extended public keys. Built upon unchained-bitcoin and bitcoinjs-lib.

For more details refer to the individual packages:

  • xpub-lib - address derivation and validation library
  • xpub-cli - command-line interface

Relevant BIPs and Educational Resources

  • BIP 32 - Hierarchical Deterministic Wallets
  • BIP 44 - Multi-Account Hierarchy for Deterministic Wallets
  • BIP 49 - Derivation scheme for P2WPKH-nested-in-P2SH based accounts
  • BIP 84 - Derivation scheme for P2WPKH based accounts

Samourai Wallet wrote a short summary on the differences between BIP 44, BIP 49, BIP 84 and XPUB's, YPUB's, ZPUB's. For a detailed explanation on derivation paths refer to learn me a bitcoin.

License: MIT

About

A JavaScript library to derive bitcoin addresses from extended public keys. Includes a web tool and CLI.

Topics

Resources

License

Stars

Watchers

Forks