Getting started

1. Set up NPM

The Node.js bindings are published on NPM.

To set up NPM:

  1. login to Bintray
  2. go to the Digital Asset NPM repository home page on Bintray
  3. click on the “Set me up!” button
  4. follow the instructions for scoped packages with scope da

2. Start a new project

Use npm init to create a new project.

3. Install the bindings

Use the NPM command line interface:

npm install @da/daml-ledger

4. Start coding

To guide you through using the Node.js bindings, we provide a tutorial template and a tutorial.