![]() |
VOOZH | about |
dotnet add package Nethereum.Signer.Bls --version 6.1.0
NuGet\Install-Package Nethereum.Signer.Bls -Version 6.1.0
<PackageReference Include="Nethereum.Signer.Bls" Version="6.1.0" />
<PackageVersion Include="Nethereum.Signer.Bls" Version="6.1.0" />Directory.Packages.props
<PackageReference Include="Nethereum.Signer.Bls" />Project file
paket add Nethereum.Signer.Bls --version 6.1.0
#r "nuget: Nethereum.Signer.Bls, 6.1.0"
#:package Nethereum.Signer.Bls@6.1.0
#addin nuget:?package=Nethereum.Signer.Bls&version=6.1.0Install as a Cake Addin
#tool nuget:?package=Nethereum.Signer.Bls&version=6.1.0Install as a Cake Tool
Core BLS signature abstraction for Ethereum consensus layer operations (Beacon Chain, sync committees, light clients).
Nethereum.Signer.Bls provides the abstraction layer for BLS (Boneh-Lynn-Shacham) signature verification in Nethereum. BLS signatures are used in Ethereum's consensus layer (Beacon Chain) for validator signatures, sync committees, and light client protocol. This package defines interfaces that are implemented by concrete BLS libraries like Nethereum.Signer.Bls.Herumi.
Key Features:
Use Cases:
dotnet add package Nethereum.Signer.Bls
dotnet add package Nethereum.Signer.Bls.Herumi # Concrete implementation
None - this is a pure abstraction package.
Implementations:
using Nethereum.Signer.Bls;
using Nethereum.Signer.Bls.Herumi; // Concrete implementation
// Create BLS instance with Herumi implementation
var blsBindings = new HerumiBlsBindings();
var bls = new NativeBls(blsBindings);
await bls.InitializeAsync();
// Verify aggregate BLS signature (e.g., from sync committee)
bool isValid = bls.VerifyAggregate(
aggregateSignature: aggregateSig, // 96 bytes
publicKeys: validatorPublicKeys, // Array of 48-byte public keys
messages: messages, // Array of signing roots
domain: domainSeparationTag // 32 bytes: forkDigest|domainType
);
Console.WriteLine($"Signature valid: {isValid}");
Core interface for BLS operations.
public interface IBls
{
/// <summary>
/// Verifies an aggregate BLS signature over one or more messages and public keys.
/// </summary>
bool VerifyAggregate(
byte[] aggregateSignature, // 96 bytes
byte[][] publicKeys, // Array of 48-byte public keys
byte[][] messages, // Array of 32-byte message hashes
byte[] domain // 32 bytes domain separation
);
}
Native BLS implementation wrapper.
public class NativeBls : IBls
{
public NativeBls(INativeBlsBindings bindings);
public Task InitializeAsync(CancellationToken cancellationToken = default);
public bool VerifyAggregate(byte[] aggregateSignature, byte[][] publicKeys, byte[][] messages, byte[] domain);
}
public enum BlsImplementationKind
{
None,
HerumiNative, // Herumi BLS (BLST/MCL)
Managed // Future: pure C# implementation
}
Ethereum consensus layer uses domain separation to prevent signature reuse:
domain = fork_version || domain_type
Common domain types:
DOMAIN_BEACON_PROPOSER = 0x00000000 - Block proposalsDOMAIN_BEACON_ATTESTER = 0x01000000 - AttestationsDOMAIN_SYNC_COMMITTEE = 0x07000000 - Sync committee signaturesBLS supports signature aggregation - multiple signatures can be combined into one:
| Use Case | Description |
|---|---|
| Sync Committees | 512 validators sign each beacon block |
| Light Clients | Verify beacon chain without full node |
| Portal Network | P2P light client network |
| Validator Signatures | Attest to beacon chain state |
| Verkle Proofs | Future: stateless client verification |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Nethereum.Signer.Bls:
| Package | Downloads |
|---|---|
|
Nethereum.Signer.Bls.Herumi
Herumi-backed native BLS implementation for Nethereum. |
|
|
Nethereum.Consensus.LightClient
Beacon light client orchestration (bootstrap, updates, trusted execution headers). |
|
|
Nethereum.Wallet
Core wallet services for managing accounts, vaults, and configuration across the Nethereum stack. |
|
|
Nethereum.AccountAbstraction.Bundler
Nethereum AccountAbstraction Bundler - ERC-4337 bundler with UserOperation validation, mempool, gas estimation, and bundle submission |
|
|
Nethereum.EVM.Precompiles.Bls
BLS12-381 precompile implementations for Nethereum EVM using Herumi MCL native library. |
This package is not used by any popular GitHub repositories.