Skip to content
/ sdk Public
generated from cheqd/.github

A TypeScript SDK built with CosmJS to interact with cheqd network ledger

License

Notifications You must be signed in to change notification settings

cheqd/sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

477ea76 · Apr 15, 2025
Mar 21, 2025
Feb 6, 2025
Apr 15, 2025
Apr 15, 2025
Jul 8, 2022
Jul 28, 2022
Jan 5, 2024
Sep 26, 2023
Jan 5, 2024
Apr 15, 2025
Jul 8, 2022
Jul 8, 2022
Jul 8, 2022
Apr 24, 2024
Jul 8, 2022
Mar 28, 2025
Apr 15, 2025
Feb 5, 2025
Feb 3, 2025

TypeScript SDK for cheqd

GitHub release (latest by date) GitHub Release Date GitHub license

GitHub release (latest by date including pre-releases) GitHub commits since latest release (by date) GitHub contributors

GitHub Workflow Status GitHub Workflow Status GitHub repo size

ℹ️ Overview

The purpose of this @cheqd/sdk NPM package is to provide base functionality for interacting with cheqd network. It combines the DID and DID-Linked Resources modules, and putting them into a Cosmos transaction wrapper using CosmJS.

This package is consumed by other SDKs/libraries such as Veramo SDK for cheqd and Hyperledger Aries Framework JavaScript (AFJ) to add cheqd network support.

This package includes:

🆔 Features

Our identity documentation site provides tutorials for utilising the identity features on cheqd network.

With this SDK, developers are able to:

  • ✅ Create a did:cheqd method DID
  • ✅ Update a did:cheqd method DID
  • ✅ Deactivate a did:cheqd method DID
  • ✅ Create or update a DID-Linked Resource

🧰 Tooling

  • Raw payload creator: Enables users to generate a valid raw DID payload which is ready to be populated, depending on the use case. For example, did-provider-cheqd leverages this helper in the CLI application.
  • Identity key converter: Enables users to convert specific key formats from different kinds of SDKs, by transforming the input keys into valid sign inputs for a cheqd specific DID transaction (e.g. createDidDocTx, updateDidDocTx). For example, the Veramo SDK for cheqd uses this helper to enable users to pass a key in a Veramo SDK specific format to a cheqd sign input keys interface.

🧑‍💻 Developer Guide

Installing in ESM projects

To install this NPM package in a project that needs ESM builds, use our latest release channel to install the stable version:

npm install @cheqd/sdk@latest

To install beta releases instead, use our -develop releases from the beta channel:

npm install @cheqd/sdk@beta

Installing in CommonJS projects

To install this NPM package in a project that needs CommonJS builds, use our cjs release channel to install the latest stable CommonJS version:

npm install @cheqd/sdk@cjs

📖 Documentation

Our identity documentation site explains how @cheqd/sdk is consumed in Veramo SDK for cheqd (as an example of how this package can be consumed).

💬 Community

Our Discord server is the primary chat channel for our open-source community, software developers, and node operators.

Please reach out to us there for discussions, help, and feedback on the project.

🙋 Find us elsewhere

Telegram Discord Twitter LinkedIn Medium YouTube