Building Applications¶
The Building Applications section covers the elements that are used to create, extend, and test your Daml full-stack application (including APIs and JavaScript client libraries) and the architectural best practices for bringing those elements together.
As with the Writing Daml section, you can find the Daml code for the example application and features here or download it using the Daml assistant. For example, to load the sources for section 1 into a folder called intro1
, run daml new intro1 –template daml-intro-1.
To run the examples, you will first need to install the Daml SDK.
- Application architecture
- JavaScript Client Libraries
- HTTP JSON API Service
- Running the JSON API
- HTTP Status Codes
- Create a new Contract
- Creating a Contract with a Command ID
- Exercise by Contract ID
- Exercise by Contract Key
- Create and Exercise in the Same Transaction
- Fetch Contract by Contract ID
- Fetch Contract by Key
- Get all Active Contracts
- Get all Active Contracts Matching a Given Query
- Fetch Parties by Identifiers
- Fetch All Known Parties
- Allocate a New Party
- Creating a New User
- Get Authenticated User Information
- Get Specific User Information
- Delete Specific User
- List Users
- Grant User Rights
- Revoke User Rights
- List Authenticated User Rights
- List Specific User Rights
- List All DALF Packages
- Download a DALF Package
- Upload a DAR File
- Metering Report
- Streaming API
- Healthcheck Endpoints
- Daml Script
- Daml REPL
- Upgrading and Extending Daml applications
- Authorization
- The Ledger API
- Command deduplication
- Daml Triggers - Off-Ledger Automation in Daml
- Trigger Service
- Auth Middleware