MCWrapper 2.0.3-beta

This is a prerelease version of MCWrapper.
There is a newer version of this package available.
See the version list below for details.
dotnet add package MCWrapper --version 2.0.3-beta
                    
NuGet\Install-Package MCWrapper -Version 2.0.3-beta
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MCWrapper" Version="2.0.3-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MCWrapper" Version="2.0.3-beta" />
                    
Directory.Packages.props
<PackageReference Include="MCWrapper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MCWrapper --version 2.0.3-beta
                    
#r "nuget: MCWrapper, 2.0.3-beta"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MCWrapper@2.0.3-beta
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MCWrapper&version=2.0.3-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MCWrapper&version=2.0.3-beta&prerelease
                    
Install as a Cake Tool

.NET Core 3.0 (Preview 6) API wrapper for the MultiChain Core blockchain library.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.0.3 732 2/3/2020
7.0.2 572 1/19/2020
7.0.1 562 1/19/2020
7.0.0 569 1/19/2020
6.0.0 612 1/7/2020
5.1.6 691 1/2/2020
5.1.5 622 12/22/2019
5.1.4 579 12/22/2019
5.0.4 605 12/12/2019
5.0.3 567 11/30/2019
5.0.2 620 11/28/2019
5.0.1 593 11/25/2019
5.0.0 582 11/24/2019
4.0.0 584 11/13/2019
3.1.1 571 11/4/2019
3.1.0 559 10/30/2019
3.0.0 589 10/28/2019
2.0.5-beta 392 8/25/2019
2.0.4-beta 382 7/28/2019
2.0.3-beta 364 7/22/2019
2.0.2-beta 375 7/18/2019
2.0.1-beta 377 7/18/2019
2.0.0-beta 393 7/16/2019
1.1.2 419 6/27/2019
1.1.1 408 6/23/2019
1.1.0 447 6/10/2019
1.0.9 436 6/3/2019
1.0.8 413 5/30/2019
1.0.7 426 5/29/2019
1.0.6 411 5/28/2019
1.0.5 435 5/19/2019
1.0.4 691 5/19/2019
1.0.3 680 5/15/2019
1.0.2 666 5/14/2019
1.0.1 653 5/14/2019
1.0.0 662 5/14/2019

We implemented the Typed HTTP Client pattern incorrectly in previous versions of MCWrapper, this is fixed in 2.0.3-beta.
For RPC clients inject the interface instead of the concrete class now.
For example, instead of injecting BlockchainRPCClient, instead inject IBlockchainRPC;
The MCWrapper Unit Tests hosted on our GitHub repo have been updated to reflect the changes present in this release.
Fixed code comments to manifest through the interfaces instead of the concrete implementations.
Fixed and marked the Optional paramters for all RPC clients and CLI clients.

Pro Tip: Easiest method to configured MCWrapper with MultiChain node settings is to place the values as environment variables either in Visual Studio or your local operating system. When placed as environment variables a consumer may use the parameterless AddMultiChainCoreServices() method and the values will be detected when they become necessary during runtime.

This should be close the last beta release before a stable MCWrapper version 2 is released. At this time we will put more effort into our GitHub and Project sites to build up our documentation and tutorials.

Misc. Bug fixes;
Reduction in code comment duplication;
All RPC clients now inherit from RPCClient class to expose the TransactAsync method instead of hosting it locally within each RPC client as private properties and methods.

Modified WalletRPCExtensions to extend the IWalletRPC interface instead of the WalletRPCClient implementation;