Monday, February 26, 2018
Home The Bitcoin News Purse Introduces Bcoin Library To Spur Bitcoin Applications

Purse Introduces Bcoin Library To Spur Bitcoin Applications

Blockchain Media Group
Advertised sites are not endorsed by us. They may be unsafe, untrustworthy, or illegal in your jurisdiction.

Purse, an online marketplace that encourages bitcoin use and innovation, has introduced bcoin, a Javascript library to help bitcoin businesses build applications. Purse provides a full node implementation that allows it to utilize new additions to the bitcoin code base as they become available.


Bcoin is consensus aware and is up to date with the latest BIPs, supporting Segregated Witness, versionbits, CSV, and compact block relay, according to Github. It also has preliminary support for BIP151 (peer-to-peer encryption), BIP150 (peer authentication), and BIP114 (MAST). It runs in node.js, but it can also be browserified.

In a posting on Medium, Purse noted it was established to provide real world applications for bitcoin. It began by offering Amazon discounts. It now carries more inventory than Amazon, eBay and Google Shopping, with lower prices. The company’s mission is to provide ultimate transparency and efficiency to global commerce.

Built On Top Bitcoin Core

The Purse team tested third party services developed to make bitcoin more secure and simpler, but these services did not meet the necessary scalability and functionality needs. Hence, Purse built on top of Bitcoin Core for its initial wallet infrastructure.

Bitcoin Core’s code base, while the standard, proved hard to work with. This is why only a small number of developers actively contribute to Bitcoin Core. Only a few dozen fully comprehend all of its quirks. Moreover, Core wasn’t built for big marketplaces. It takes a long time to deploy new features.

These realities make it hard for bitcoin businesses to create applications, a situation that undermines new use case developments.

Bcoin Addresses Full Node Issues

Christopher Jeffrey, a former BitPay employee, joined Purse as chief technology officer to build bcoin.

Full node presents a unique set of issues. Deploying a full node wallet from scratch presents challenges, as Satoshi warned against it in 2010: “I don’t believe a second, compatible implementation of Bitcoin will ever be a good idea,” Satoshi wrote. “So much of the design depends on all nodes getting exactly identical results in lockstep that a second implementation would be a menace to the network.”

Purse’s goal is to accelerate the protocol’s development. This includes deploying Lightning and allowing features to permit new uses cases such as smart contracts. Purse is not trying to defy Satoshi and become a “menace to the network,” or to weigh in on the block size debate. The goal is to make bitcoin great again.

Bcoin is an infrastructure for the bitcoin ecocystem. It is intended to be the most easy-to-use and most versatile bitcoin library, supporting Lightning, Segwit and Schnorr signatures, along with other new BIPs.

Also read: looks to expand after raising $300,000

Spurring The Next Generation

Purse has open sourced bcoin to spur the next generation of apps, including those that Purse does not build.

  • Technical features include:
    • Full blockchain validation
    • SPV mode
    • Running natively in apps and browsers
    • Wallet database (HD keys with BIP44 derivation)
    • Mempool/miner
    • Bitcoin-compatible JSON RPC API
    • REST API
    • Support for Lightning Network (bcoin-plasma), Segwit, CSV, Versionbits, BIP70, BIP151, BIP152, BIP150 and MAST

Purse will integrate bcoin directly into its back end in the next couple of weeks. Once bcoin is live, developers will be assured it is ready for use.

Images from iStock and Purse.

mm – leading Bitcoin News source since 2012

Virtual currency is not legal tender, is not backed by the government, and accounts and value balances are not subject to consumer protections. The information does not constitute investment advice or an offer to invest.

Read previous post:
Amazon Reveals Its Own Virtual Currency, ‘Stream+’ For Twitch

Gaming platform Twitch has revealed its own virtual currency, Stream+. The coin will get its first rollout in Amazon’s forthcoming...