JSPM

  • Created
  • Published
  • Downloads 1675
  • Score
    100M100P100Q131917F
  • License MIT

A pure and powerful JavaScript Bitcoin SV (BSV) library.

Package Exports

  • bsv
  • bsv/ecies
  • bsv/message
  • bsv/mnemonic

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bsv) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

bsv

Javascript Bitcoin SV library.

Documentation is available on the Money Button Documentation Page.

Changelog

v0.26.5

  • lodash optimization and overall size optimization of bsv.min.js
  • fix isFinal
  • fix non-dust amount example
  • minor ECIES API issue

v0.26.4

  • Use ECDSA.signWithCalcI(...) convenience method inside Message.

v0.26.3

  • Add ECDSA.signWithCalcI(...) convenience method.

v0.26.2

  • Add Mnemonic.fromString(string).
  • Add convenience method for ECDSA.signRandomK (mostly for demo purposes).
  • Add convenience methods Message.sign and message.verify.
  • Move large portions of the documentation to docs.moneybutton.com.

v0.26.1

  • Add .fromRandom() method for Mnemonic.

v0.26.0

  • Remove the (already deprecated) .derive() method from HDPrivateKey and HDPublicKey. If you rely on this, please switch to .deriveNonCompliantChild(). If you do not already rely on this, you should use .deriveChild() instead.
  • Move large portions of the documentation to docs.moneybutton.com.
  • HDPrivateKey / HDPublicKey toHex() and fromHex()
  • HDPrivateKey.fromRandom()
  • Remove Base32 (this was only used for cashaddr and is now obsolete).

v0.25.0

  • Remove support for cashaddr completely. This saves size in the bundle.
  • Private key .toString() method now returns WIF, which makes it compatible with the corresponding .fromString(wif) method.
  • Private key and public key classes now have toHex() and fromHex(hex) methods.
  • Move large portions of the documentation to docs.moneybutton.com.