Daml.Runtime.Grpc 0.4.0-preview.1

Prefix Reserved
This is a prerelease version of Daml.Runtime.Grpc.
dotnet add package Daml.Runtime.Grpc --version 0.4.0-preview.1
                    
NuGet\Install-Package Daml.Runtime.Grpc -Version 0.4.0-preview.1
                    
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="Daml.Runtime.Grpc" Version="0.4.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Daml.Runtime.Grpc" Version="0.4.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="Daml.Runtime.Grpc" />
                    
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 Daml.Runtime.Grpc --version 0.4.0-preview.1
                    
#r "nuget: Daml.Runtime.Grpc, 0.4.0-preview.1"
                    
#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 Daml.Runtime.Grpc@0.4.0-preview.1
                    
#: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=Daml.Runtime.Grpc&version=0.4.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Daml.Runtime.Grpc&version=0.4.0-preview.1&prerelease
                    
Install as a Cake Tool

Daml.Runtime.Grpc

Bidirectional conversion between Daml.Runtime value types and Canton Ledger API v2 protobuf messages.

Overview

This package bridges the transport-neutral Daml.Runtime type system and the gRPC wire format defined by Canton.Ledger.Grpc. It is consumed internally by Canton.Ledger.Grpc.Client to map Daml values, records, variants, identifiers, and other types to and from their protobuf equivalents — you rarely need to reference it directly.

For command submission, contract queries, and subscription streams, use the higher-level Canton.Ledger.Grpc.Client package instead. It depends on Daml.Runtime.Grpc and handles all wire conversion automatically.

Key Types

Type Purpose
DamlValueConverter Static class providing ToProtoValue/FromProtoValue, ToProtoRecord/FromProtoRecord, and ToProtoIdentifier/FromProtoIdentifier conversions
  • Canton.Ledger.Grpc.Client — High-level gRPC client that consumes this converter; prefer it for application code
  • Canton.Ledger.Grpc — Generated gRPC stubs providing the proto message types
  • Daml.Runtime — Runtime types for generated Daml contracts
Product Compatible and additional computed target framework versions.
.NET 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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Daml.Runtime.Grpc:

Package Downloads
Canton.Ledger.Grpc.Client

High-level gRPC client for the Canton Ledger API with integration to Daml.Runtime types.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.4.0-preview.1 98 7/18/2026
0.2.0-preview.1 95 7/6/2026
0.1.5-preview.1 73 6/25/2026
0.1.4-preview.1 65 6/15/2026