Hashgraph 9.0.0-beta6
dotnet add package Hashgraph --version 9.0.0-beta6
NuGet\Install-Package Hashgraph -Version 9.0.0-beta6
<PackageReference Include="Hashgraph" Version="9.0.0-beta6" />
paket add Hashgraph --version 9.0.0-beta6
#r "nuget: Hashgraph, 9.0.0-beta6"
// Install Hashgraph as a Cake Addin
#addin nuget:?package=Hashgraph&version=9.0.0-beta6&prerelease
// Install Hashgraph as a Cake Tool
#tool nuget:?package=Hashgraph&version=9.0.0-beta6&prerelease
Version 9.0.0-beta6 Hedera API Version 0.27.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.
Please note: allowances and other new features are still a work in progress, the API surface for these features are subject to major revision in the next beta release. Hedera has been rapidly adding/removing/changing HAPI features as a part of its discovery process, which in turn generates churn in the API surfaced by this library. The team will continue to produce Beta releases until this rapid turnover of HAPI surface area appears to subside and we can produce a release that is less likely to have breaking changes shortly after release.
Product | Versions 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. |
-
net6.0
- BouncyCastle.NetCoreSdk (>= 1.9.3.1)
- Google.Protobuf (>= 3.20.0)
- Grpc.Core (>= 2.45.0)
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 |
---|