npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@scrypt-inc/bsv

v1.0.4

Published

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

Downloads

2,373

Readme

bsv

Javascript Bitcoin SV library.

Documentation is available on the Money Button Documentation Page.

Changelog

1.5.0

  • Add build files into repo.

1.4.0

  • Change default fee to 0.5 sat/byte

1.3.0

  • Remove limit on OP_RETURN size

1.1.0

  • Refactor code related to buffers and get rid of bufferUtil
  • Deprecate p2sh
  • Add .Mnemonic to bsv object

1.0.0

  • Bump to 1.0 release as per the suggestion of @mathiasrw

0.30.2

  • Added addSafeData to Transaction.

0.30.1

  • Enforce buffer check for Electrum ECIES decryption.
  • Clean up script folder (no API breaking changes).
  • Documentation improvements.

0.30.0

  • Fix transaction size calculation.

0.29.2

  • Throw error on invalid hex strings in script

0.29.1

  • Add support for new OP_RETURN style: buildSafeDataOut and isSafeDataOut (and getData)

0.27.2

  • Add support for Stress Test Network (STN).

v0.27.1

  • Replace lodash methods with inline pure javascript methods.

v0.27.0

  • Remove version guard. This should fix the "two versions of bsv" error that people often get. Note that it is poor practice to use incompatible versions of bsv. To send objects from one version of the library to another, always serialize to a string or buffer first. Do not send objects from one version to another. This due to frequent use of "instanceof" inside the library.

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.