logo
Expand description

API for working with Daml-LF packages.

Compiled Daml packages are represented as Daml-LF (“Ledger Fragment”) archives. An archive is a protobuf serialized bytes array which is typically stored in a dalf file. Multiple dalf archives can be combined along with a manifest file into a Dar (“Daml Archive”) file.

Serialized Daml-LF archives may also be retrieved from an existing ledger via the GetPackage method of the GRPC package_service (see here). The daml-grpc create provides an implementation of this service in the daml_package_service module.

See here for full details of Daml-LF.

Modules

Representation of Daml types.

Structs

A Daml LF archive (aka a dalf file).

A Daml LF archive payload (aka “package”).

A collection of Daml LF archives combined with a manifest file (aka a dar file).

Represents a manifest file found inside dar files.

Minimum Daml LF language version support for a feature.

Information about a DamlPackage.

Enums

Represents Daml-LF specific errors.

The hash function used to compute

The supported Daml LF package formats.

The encryption type of the archives in a dar file.

The format of the archives in a dar file.

The version of a dar file manifest.

Daml Ledger Fragment language V1 minor version.

Daml Ledger Fragment language version.

Constants

The default name for an unnamed archive.

Type Definitions