Hashgraph 6.0.0

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Hashgraph --version 6.0.0
NuGet\Install-Package Hashgraph -Version 6.0.0
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="Hashgraph" Version="6.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hashgraph --version 6.0.0
#r "nuget: Hashgraph, 6.0.0"
#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.
// Install Hashgraph as a Cake Addin
#addin nuget:?package=Hashgraph&version=6.0.0

// Install Hashgraph as a Cake Tool
#tool nuget:?package=Hashgraph&version=6.0.0

Version 6.0.0 Throw new ContractException for Query Contract Errors

Version 6 introduces two potentially breaking changes. First, the library has removed its dependency on the NSec library. This change has nothing to do with the quality of the NSec library, which has served the project well. However, while adding Smart Contract support to the Hashgraph library, a dependency on the Bouncy Castle project was necessary. Since the Bouncy Castle library also provides Ed25519 support, having references to two security libraries was redundant and the library code was switch to the Bouncy Castle implementation. The associated testing project still relies heavily on the NSec library; and may do so for some time given the ease and utility the NSec library provides in testing.

The second potentially breaking change is the addition of the ContractException class. The behavior of QueryContractAsync method has changed. Previous implementations would throw a PrecheckException for any non-success result returned from the network. However, the network, at times, includes additional error and diagnostics information that cannot be captured in a PrecheckException. The ContractException was introduced to communicate this information back to the calling code. Since the information is nearly identical to a ContractCallResult, and additional flag was also introduced on the QueryContractParams called ThrowOnFail that when set to false, the QueryContractAsync function will always return a ContractCallResult, regardless of call result (in so far as the query request was accepted by the network and not rejected due to an invalid signature or other typical sources of PrecheckExceptions). The default value for ThrowOnFail is true to align more closely with existing behavior.

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. 
.NET Core netcoreapp3.1 is compatible. 
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
10.0.0 648 7/21/2023
9.0.0 8,580 9/5/2022
8.3.0 2,095 11/11/2021
7.3.0 773 3/2/2021
6.2.0 1,007 9/26/2020
5.7.0 881 6/20/2020
4.1.0 1,077 12/1/2019
3.3.2 776 11/5/2019
2.2.0 774 9/16/2019
1.5.2 846 7/15/2019