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

Pakistan eyes blockchain for digitalization of government processes

Tech 18 April 2019

Pakistan eyes blockchain for digitalization of government processes

A meeting chaired by Pakistan Prime Minister Imran Khan discussed ways in which technologies such as blockchain could be used to ensure efficiency of government processes.

Read More
Accenture, Generali taps blockchain for employee benefits

Tech 18 April 2019

Accenture, Generali taps blockchain for employee benefits

Global management consulting firm Accenture has teamed up with Generali Employee Benefits to develop what they referred to as a unique employee benefits system powered by blockchain.

Read More
Bitcoin SV and the roadmap to Genesis

Tech 17 April 2019

Bitcoin SV and the roadmap to Genesis

Coming soon will be a network upgrade called Quasar, which is currently scheduled for July 24 and centers on increased scaling capabilities.

Read More