the Bitcoin companion
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

hal -- the Bitcoin companion

hal is a command line tool that provides all kinds of Bitcoin-related utilities.

Summary of commands:

  • address

    • inspect: get information about addresses
  • bip32

    • derive: derive keys and addresses from extended keys
  • psbt (coming soon)

    • decode: decode a PSBT to JSON
    • edit: edit a PSBT inline
    • merge: merge multiple PSBTs
  • script

    • decode: decode a PSBT to JSON
  • tx

    • decode: decode a transaction to JSON
    • encode: encode a JSON transaction to binary

More to come!


  • (extended) private key generation
  • optional Trezor and Ledger integration
  • Liquid support