Hashgraph 10.0.0
See the version list below for details.
dotnet add package Hashgraph --version 10.0.0
NuGet\Install-Package Hashgraph -Version 10.0.0
<PackageReference Include="Hashgraph" Version="10.0.0" />
paket add Hashgraph --version 10.0.0
#r "nuget: Hashgraph, 10.0.0"
// Install Hashgraph as a Cake Addin #addin nuget:?package=Hashgraph&version=10.0.0 // Install Hashgraph as a Cake Tool #tool nuget:?package=Hashgraph&version=10.0.0
Version 10.0.0 Hedera API Version 0.40.0
Version 10.0.0 includes upgraded gRPC support libraries; support for Moniker
(EVM Public Key Address Hash), and more additions from HAPI 0.40. It also includes a new client feature for submitting externally created transactions with the new SubmitExternalTransactionAsync
method, a new Gossip Node PingAsync
method, enhancements in Private and Public Key import options and optional customized gRPC Channel factories.
Version 10.0.0 also introduces a limited Mirror Node REST API client, MirrorRestClient
, for retrieving information such as the list of available Gateways, detailed account information and other useful data. The client is a work in progress and the API surface will change over time, which may cause breaking changes with future versions. Presently it is useful, but not comprehensive.
Breaking Changes
Since the native .NET DateTime
object does not provide sufficient time resolution to properly represent an Hedera Consensus Time Stamp, most portions of the API surface area have swapped a new object ConsensusTimeStamp
in place of DateTime
. This is a sweeping and large change to the SDK. The ConsensusTimeStamp
object provides an implicit cast from a DateTime
to help aid in the transition from 9.0 sdk versions to 10.0. Be advised: converting a ConsensusTimeStamp
to a native DateTime
object can cause a loss of information (the HAPI smallest unit of time is the nano seconds, the DateTime
’s smallest unit of time is 100 nanoseconds). Additionally, Endorsment
has removed the PublicKey
property in favor of a new ToBytes()
method providing additional options when converting endorsement key values to byte array outputs.
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.7)
- Google.Protobuf (>= 3.23.3)
- Grpc.Net.Client (>= 2.54.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 |
---|---|---|
10.1.0-beta4 | 367 | 11/24/2023 |
10.0.0 | 1,270 | 7/21/2023 |