0.5.0 • Published 11 months ago

@c4/btc-utils v0.5.0

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

btc-utils

btc-utils is a utility library that aims to provide helper functions for bitcoin transactions.

Goals:

  • Dependency-free, as far as possible
  • Easy to read and understand, provide links to corresponding information in the code whenever possible

Modules

  • @c4/btc-utils:

    • estimateTransactionVSizeAfterSign: helps to estimate the virtual size (vSize) of a bitcoin transaction before users sign it

      Check out the unit tests for more details

    • getOutputDustThreshold: helps to determine the minimum amount of Bitcoin per output in a bitcoin transaction

      Check out the unit tests for more details

  • @c4/btc-utils/btcSignerHelpers:

    • estimateInputVSizeAfterSign: use @scure/btc-signer to estimate input size

      Check out the unit tests for more details

0.5.0

11 months ago

0.4.0

11 months ago

0.2.1

1 year ago

0.3.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago