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