Hashgraph 9.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Hashgraph --version 9.0.0
NuGet\Install-Package Hashgraph -Version 9.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="9.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hashgraph --version 9.0.0
#r "nuget: Hashgraph, 9.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=9.0.0

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

Version 9.0.0 Hedera API Version 0.28.0

Version 9.0.0 adds support for support for ECDSA(secp256k1) keys and pay-to-alias auto-account creation. Endorsement and Signatory objects now support ECDSA(secp256k1) keys wherever Ed25519 keys are supported. Support for the Ledger property (gossip network identifier) has been added for network info queries producing it. New address types Alias and Moniker have been introduced to represent the alias form of a crypto address and BIP-1014 created contract addresses respectively. These alternative addresses include implicit cast operators to the Address type and can be use as input values identifying crypto accounts and contracts where supported by the HAPI. Please note, the network allows the use of the alias form all HAPI calls, but not all HAPI calls support alias addressing internally, this will support expand over time. 9.0.0 also expands support for pending (scheduled) transactions to include user defined expiry times and support for delayed pending transaction execution. It also includes support for delegation spending allowances, HIP- 336.

For code that provides custom signing services, a new property, MinimumDesiredPrefixSize, is now exposed by the IInvoice interface. This was added to support future interaction requirements where the full public key length may be required when interacting certain smart contract instances. Generally, the .net SDK reduces the prefix to the smallest size possible to reduce network payload and increase privacy. This behavior has always been configurable via the SignaturePrefixTrimLimit property of the IContext.

Breaking Changes:

Breaking changes include the move to .NET 6.0 and removal of the RSA3072 and ECDSA384 key types which will have not been supported by the hedera network and will not be supported in the foreseeable future. There is also one additional behavioral change with the Endorsement and Signatory objects: the convenience constructors that accepted a byte array assumed it was receiving an Ed25519 key type and would throw an error if could not interpret it as such. These constructors now assume the provided bytes are DER encoded key values, and recognizes ECDSA and Ed25519 keys as appropriate. This is a superset of the previous behavior. Additionally, when the type is included in the constructor, a raw key value (non DER encoded) is accepted by the constructors as well, this is an widening of existing behavior, these changes are intended to be backwards compatible with existing code.

Allowances required small potential breaking changes in the TransferParams object to add a flag indicating the spender is an allowed spender. Use of the transfer method taking a TransferParams object is required for transferring via an allowance authorization. The convenience transfer method overloads do not support the allowance/spender flag.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
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 637 7/21/2023
9.0.0 8,548 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