Announcing BitcoinCashClient – A NuGet library for easy integration of BCH into any C# .NET application

https://preview.redd.it/qjpvin6brvra1.png?width=3832&format=png&auto=webp&v=enabled&s=48aa58e5013537c9e69aa5325132224b19c9af3c

I've written and published a nuget package designed to make it trivially easy to integrate non-custodial Bitcoin Cash payments into any C# .NET application with internet access.

This library abstracts away as much complexity as possible so any developer who wants to add instant-and-free transfer of value functionality into their program (using whatever arbitrary business logic they want) can do so without needing to understand the nitty-gritty mechanics of how BCH works behind the scenes.

In the same way and for the same reasons that a C# developer can use HttpClient or SmtpClient to fire off a web request or send an email even if they don't know how Hypertext Transfer Protocol or Simple Mail Transfer Protocol works, they can now use BitcoinCashClient to send on-chain BCH transactions even if they don't know how BCH works. This is just another client library enabling simple interaction with an internet protocol.

Here, for example, is a screenshot of 100% of the code for a C# console application which, when run, will create a brand new Bitcoin Cash wallet (both a private key and the associated public address):

https://preview.redd.it/ffi75x5drvra1.png?width=668&format=png&auto=webp&v=enabled&s=45daf161e7430ac72c98620ac78ad49cfd856111

And here is a screenshot of another console application which, when run (and when provided with the missing variables), will fetch all needed info about the specified wallet from the BCH blockchain (without exposing the private key), fetch the current value in USD of BCH, and send $1 worth of BCH to the specified address. The library handles all of the intricacies involved in constructing, signing, and broadcasting the transaction, so the developer doesn't need to worry about them (or even know about them).

https://preview.redd.it/vcch2y4frvra1.png?width=852&format=png&auto=webp&v=enabled&s=79cca87fd3119e55656b72ad16937abf57a61ab5

To see these (and other) features in action, please view the video demonstration here:

This library is fully open source. I invite code review and welcome constructive feedback:

https://github.com/david-shattuck/BitcoinCashClient

Are you vibeing with this and want to support my upcoming development work in the BCH space? Follow the basic steps in the video above to create a console app that will send me some BCH:

bitcoincash:qr5v4l9gs6cy4avs8gyndgs8a03yu6nazyt4nngdqf

reddit imagereddit imagereddit image