bcgov / trustdidweb-ts

An implementation in Typescript of the Trust DID Web (did:tdw) DID Method

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TrustedDID Web Typescript

trustdidweb-ts provides developers with a comprehensive library and resolver for working with Decentralized Identifiers (DIDs) following the did:tdw method specification. This Typescript-based toolkit is designed to facilitate the integration and management of DIDs within web applications, enabling secure identity verification and authentication processes. It includes functions for creating, resolving, updating and deactivating DIDs by managing DID documents. The package is built to ensure compatibility with the latest web development standards, offering a straightforward API that makes it easy to implement DID-based features in a variety of projects.

Prerequisites

Install bun.sh

curl -fsSL https://bun.sh/install | bash

Install dependencies

bun install

Run all tests

bun test

Development mode

bun run test:watch

Run the tests and save a log

bun run test:log

About

An implementation in Typescript of the Trust DID Web (did:tdw) DID Method

License:Apache License 2.0


Languages

Language:TypeScript 96.9%Language:JavaScript 2.1%Language:HTML 1.0%