11-22-2024
BSV
$67.91
Vol 163.58m
-12.5%
BTC
$98859
Vol 108361.59m
1.76%
BCH
$495.63
Vol 1735.99m
-6.12%
LTC
$90.46
Vol 1327.4m
2.39%
DOGE
$0.39
Vol 9751.52m
2.6%
Getting your Trinity Audio player ready...

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.”

Recommended for you

David Case gets technical with Bitcoin masterclass coding sessions
Whether you're a coding pro or a novice, David Case's livestream sessions on the X platform are not to be...
November 21, 2024
NY Supreme Court’s ruling saves BTC miner Greenidge from closing
However, the judge also ruled that Greenidge must reapply for the permit and that the Department of Environmental Conservation has...
November 20, 2024
Advertisement
Advertisement
Advertisement