Getting Started

Prerequisites

  • Node.js >= 20.0.0

  • npm, or yarn ≥ 4.3.1

  • pure ESM compiler (commonjs not supported)

Installation

The Pangea SDK is a typescript enabled javascript library. Install with npm or yarn.

npm install @tonomy/tonomy-id-sdk
# or
yarn add @tonomy/tonomy-id-sdk

If using yarn v2+

When using yarn v2+ then you will need to also add the following to your package.json file.

"resolutions": {
    "jsonld": "link:./node_modules/@digitalcredentials/jsonld"
  },

See Troubleshooting for other issues while compiling or executing the SDK.

Last updated