Bitcoin Forum
June 16, 2026, 08:43:01 AM *
News: Latest Bitcoin Core release: 31.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: CryptoLib a modern .NET 10 port of BitcoinLib (RPC wrapper)  (Read 13 times)
CoinCreators (OP)
Newbie
*
Offline

Activity: 6
Merit: 0


View Profile
June 15, 2026, 10:11:13 AM
 #1

Hi all,

I've just open-sourced CryptoLib, a modern port of George Kimionis' well-known BitcoinLib RPC wrapper which over the years has been pretty thoroughly battle-hardened in production., but has'nt really kept up with the times Sad

This brings it up to date for .NET 10 / C# while keeping the API familiar to anyone who's used the original.

What's new vs. the original:

- Targets .NET 10, nullable enabled, builds with zero warnings (warnings-as-errors + latest analysers)
- Fully self-contained zero NuGet dependencies. Newtonsoft.Json → System.Text.Json, HttpWebRequest → HttpClient - Full sync + async API every RPC call has an ...Async twin with CancellationToken support
- Explicit config (no Configuration Manager) pass your daemon URL / user / pass in directly
- Clean custom exception hierarchy and comprehensive argument validation on every public method
- Removed the legacy BinaryFormatter/[Serializable] cruft (gone in .NET 10)
- A real test suite (~100 xUnit tests, all green) the original never shipped with any. It's already caught a real deserialization bug.
- Coins supported out of the box: Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, SmartCash, Colx, Dallar, Mogwaicoin, Sarcoin
- Plus a generic service for anything Bitcoin-RPC-compatible.

Links:
- GitHub: https://github.com/MarkS0485/CryptoLib
- NuGet: https://www.nuget.org/packages/CryptoLib.Net (dotnet add package CryptoLib.Net)

- License: MIT

A note on the roadmap: more coin support is coming soon. I'm currently in the middle of converting a lifetime of closed-source work into open source (~8,000 packages sitting on TFS 😩), and migrating from TFS to Git is a proper ball-ache, so this doesn't have my full attention right now.

That said it is not abandoned. I'll be updating it as often as time permits and issues will be dealt with. PRs and bug reports welcome.

Cheers.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!