chia-dotnet-bls
2.0.8-alpha.1
dotnet add package chia-dotnet-bls --version 2.0.8-alpha.1
NuGet\Install-Package chia-dotnet-bls -Version 2.0.8-alpha.1
<PackageReference Include="chia-dotnet-bls" Version="2.0.8-alpha.1" />
<PackageVersion Include="chia-dotnet-bls" Version="2.0.8-alpha.1" />
<PackageReference Include="chia-dotnet-bls" />
paket add chia-dotnet-bls --version 2.0.8-alpha.1
#r "nuget: chia-dotnet-bls, 2.0.8-alpha.1"
#:package chia-dotnet-bls@2.0.8-alpha.1
#addin nuget:?package=chia-dotnet-bls&version=2.0.8-alpha.1&prerelease
#tool nuget:?package=chia-dotnet-bls&version=2.0.8-alpha.1&prerelease
chia-dotnet-bls
.NET BLS Library
Introduction
Many thanks to Rigidity who's code this is a direct port of and and helped immensely along the way.
This is a direct port of the chia bls typescript library. Coding style and naming have been converted to C# conventions but otherwise it is very similar in API.
See Also
Example Usage
using chia.dotnet.bls;
using dotnetstandard_bip39; // https://www.nuget.org/packages/dotnetstandard-bip39/
const string MNEMONIC = "abandon abandon abandon";
const string MESSAGE = "hello world";
// create a secret key from a mnemonic
var bip39 = new BIP39();
var seed = bip39.MnemonicToSeedHex(MNEMONIC, "");
var sk = PrivateKey.FromSeed(seed);
// sign the message
var signature = sk.Sign(MESSAGE);
// verify the signature
var pk = sk.GetG1();
var result = pk.Verify(MESSAGE, signature);
Console.WriteLine($"Signature is valid: {result}");
chia and its logo are the registered trademark or trademark of Chia Network, Inc. in the United States and worldwide.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. |
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on chia-dotnet-bls:
| Package | Downloads |
|---|---|
|
chia-dotnet-clvm
A dotnet native Chia CLVM implementation |
|
|
chia-dotnet-wallet
.NET implementation of chia wallet |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.8-alpha.1 | 127 | 4/2/2024 |
| 1.3.2 | 472 | 2/2/2024 |
Performance. Changed signature of ByteUtils