Money Button rolls out JavaScript library, mnemonic tool for Bitcoin SV

Money Button rolls out JavaScript library, mnemonic tool for Bitcoin SV

Bitcoin SV now has a “pure and powerful” JavaScript library, courtesy of Money Button.

bsv, a library for cryptography, key management and transaction building for Bitcoin SV, was introduced early this week, marking yet another milestone for the only remaining cryptocurrency that follows the original Satoshi Vision for Bitcoin.

In a blog post, Money Button explained that since BitPay doesn’t maintain a JavaScript library for Bitcoin SV, it “decided to maintain the library ourselves for the Bitcoin SV community.” On GitHub, developer team noted: “The decentralized nature of the Bitcoin network allows for highly resilient Bitcoin infrastructure, and the developer community needs reliable open-source tools to implement Bitcoin apps and services.

Bsv is based on BitPay’s bitcore-lib-cash, except it defaults to the original address format. This is in line with Money Button’s recent decision to dump the CashAddr address format, reverting back to the original format that starts with a 1. According to the company’s CEO, Ryan X. Charles, “Many hardware wallets and exchanges never adopted cashaddr, and although it’s irritatingly the same as BTC, at least we will have consistency between wallets.”

Installing the bsv library is easy: you can use “npm install bsv” or clone from GitHub.

Aside from bsv, Money Button also launched the bsv-mnemonic tool for producing and managing BIP 39 mnemonics that are commonly used by Bitcoin SV wallets. Bsv-mnemonic can be found on npm or cloned from GitHub.

The bsv JavaScript library and bsv-mnemonic tool retain an equivalent interface to BitPay’s bitcore-lib-cash and bitcore-mnemonic-cash. According to Money Button, “Because the API for Bitcoin SV itself is intended to remain stable, it is unlikely we will ever need to change the API for these libraries. The only plans we have to update these libraries at present are to fix the linting, fix the filenames, fix the documentation, and add in the missing opcodes for the script interpreter.”

New to blockchain? Check out CoinGeek’s Blockchain for Beginners section, the ultimate resource guide to learn more about blockchain technology.