UNPKG

@daml/types

Version:

Primitive types of the Daml language and their serialization.

29 lines (18 loc) 858 B
# @daml/types > Primitive types of the Daml language and their serialization. <!-- START_BACKLINK --> ## Documentation Comprehensive documentation for `@daml/types` can be found [here](https://docs.daml.com/2.10.2/app-dev/bindings-ts/daml-types/index.html). <!-- END_BACKLINK --> ## Description This library contains TypeScript types corresponding to primitive Daml data types, such as `Template`, `ContractId`, `Int`, `Text` etc. as well as their encoders and decoders to interact with the [JSON API](https://docs.daml.com/json-api/index.html) of a Daml ledger. For creating a Daml distributed application, you'll most likely want to use the [@daml/react](https://www.npmjs.com/package/@daml/react) and [@daml/ledger](https://www.npmjs.com/package/@daml/ledger) packages. ## Source https://github.com/digital-asset/daml. ## License [Apache-2.0]