Tech 9 November 2018

Erik Gibbs

New Rust-based Bitcoin BCH library now available

A new Bitcoin BCH library is now ready to be explored. Software developer Brenton Gunning has created the library using the Rust programming language in order to give other developers the ability to create platforms and applications using the popular computer language.

Rust is similar to C++ and was initially created by computer language guru and developer Graydon Hoare. The new Bitcoin BCH Rust library contains address generation, mainnet and testnet support, protocol messages, script evaluation, wallet key derivation, transaction signing and additional components. It is available on Gunning’s GitHub page. There is also documentation available on docs.rs.

Gunning announced the new library a few days ago on the Reddit/r/btc forum, stating of the project, “Today I’m releasing Rust-BCH 0.1.0, a new library to build applications on Bitcoin Cash in Rust. All the existing Rust libraries were lacking for me in one way or another — You can use it to build a wallet, or a node, do chain analysis, and anything really — I use Rust-BCH myself for projects so I’ve also benefited from others’ contributions and this is me giving back.”

The developer indicated that Rust is a “fast and low-level, but also very safe and predictable” programming language. He added that the language is a perfect match for Bitcoin BCH apps and hopes that more developers will begin to use it.

There is already a Rust-Bitcoin protocol, but Gunning asserts that the new Rust-BCH repository is a separate project. Additionally, there are other projects, such as Bitcrust and Parity, that use Rust and he hopes that “the two projects could be used together.”

One of the highlights of the library is the presence of Bitcoin SV. Gunning has said that he fully supports the ruleset, but understands that the upcoming hard fork could lead to his needing to support outcomes other than Bitcoin SV. He said in the Reddit thread, “Let’s see how the fork goes. I’ll add it if necessary, but my preference is for BCH not to include CTOR and CDS, which is why I haven’t done it yet.”

There are a number of libraries and full node projects now available for Bitcoin BCH. Most projects, such as Bitcoin SV, are written in C, which is the same language used by Satoshi when he introduced cryptocurrency. Others have gone the way of alternative languages, such as JavaScript and Golang.

Note: Tokens on the Bitcoin Core (SegWit) chain are referenced as BTC coins; tokens on the Bitcoin Cash ABC chain are referenced as BCH, BCH-ABC or BAB coins.

Bitcoin Satoshi Vision (BSV) is today the only Bitcoin project that follows the original Satoshi Nakamoto whitepaper, and that follows the original Satoshi protocol and design. BSV is the only public blockchain that maintains the original vision for Bitcoin and will massively scale to become the world’s new money and enterprise blockchain.

COMMENT

latest news

How Metanet creates an immutable Internet

Tech 15 February 2019

How Metanet creates an immutable Internet

Metanet and Bitcoin were roughly conceived “in the depths of the late 90s” from the concept of an economically incentivized Internet, according to nChain Chief Scientist Dr. Craig Wright.

Read More
HSBC slashes forex costs with blockchain

Tech 15 February 2019

HSBC slashes forex costs with blockchain

The firm confirmed it had reduced costs for its forex business by as much as 25%, in what analysts describe as an example of the importance of distributed ledger technology to banks and their bottom lines.

Read More
UC Berkeley launches blockchain accelerator for startups

Tech 14 February 2019

UC Berkeley launches blockchain accelerator for startups

The University of California, Berkeley recently announced the launch of a new blockchain-focused accelerator, the Berkeley Blockchain Xcelerator for blockchain startups.

Read More