NuvTools.Blockchain 10.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package NuvTools.Blockchain --version 10.0.0
                    
NuGet\Install-Package NuvTools.Blockchain -Version 10.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="NuvTools.Blockchain" Version="10.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NuvTools.Blockchain" Version="10.0.0" />
                    
Directory.Packages.props
<PackageReference Include="NuvTools.Blockchain" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NuvTools.Blockchain --version 10.0.0
                    
#r "nuget: NuvTools.Blockchain, 10.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.
#:package NuvTools.Blockchain@10.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NuvTools.Blockchain&version=10.0.0
                    
Install as a Cake Addin
#tool nuget:?package=NuvTools.Blockchain&version=10.0.0
                    
Install as a Cake Tool

NuvTools.Blockchain

Core abstractions for blockchain ledger operations with support for multiple cloud providers.

Installation

# Core abstractions
dotnet add package NuvTools.Blockchain

# Azure Confidential Ledger implementation
dotnet add package NuvTools.Blockchain.Azure

Usage

Configuration

Add the following to your appsettings.json:

{
  "NuvTools.Blockchain": {
    "LedgerEndpoint": "https://your-ledger-name.confidential-ledger.azure.com"
  }
}

Register Services

using NuvTools.Blockchain.Azure;

// Uses default section "NuvTools.Blockchain"
builder.Services.AddBlockchain(builder.Configuration);

// Or specify a custom section name
builder.Services.AddBlockchain(builder.Configuration, "CustomSectionName");

Inject and Use

using NuvTools.Blockchain;

public class MyService(ILedgerService ledgerService)
{
    public async Task WriteToLedgerAsync(MyRecord record)
    {
        // Write an entry to the ledger
        var transactionId = await ledgerService.WriteAsync(record);

        // Read back the entry
        var entry = await ledgerService.ReadAsync<MyRecord>(transactionId);

        Console.WriteLine($"Committed at: {entry?.CommitTimeUtc}");
    }
}

Features

  • Write entries to blockchain ledger with automatic serialization
  • Read entries with built-in retry mechanism for eventual consistency
  • Generic type support for any serializable content
  • Collection/sub-ledger support for organizing entries

Supported Providers

  • Azure Confidential Ledger - NuvTools.Blockchain.Azure

License

MIT License - see LICENSE for details.

Product 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 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on NuvTools.Blockchain:

Package Downloads
NuvTools.Blockchain.Azure

Azure Confidential Ledger implementation of NuvTools.Blockchain, providing tamper-evident ledger storage backed by Azure.Security.ConfidentialLedger and DefaultAzureCredential.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.1.0 679 5/27/2026
10.0.0 753 1/10/2026