@daml/types
Version:
Primitive types of the Daml language and their serialization.
29 lines (18 loc) • 858 B
Markdown
# /types
> Primitive types of the Daml language and their serialization.
<!-- START_BACKLINK -->
## Documentation
Comprehensive documentation for `/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
[/react](https://www.npmjs.com/package/@daml/react) and
[/ledger](https://www.npmjs.com/package/@daml/ledger) packages.
## Source
https://github.com/digital-asset/daml.
## License
[Apache-2.0]