@tanglelabs/web-identity-adapter
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

DID Web Adapter

did:web adapter for @tanglelabs/ssimon

Installation

1. npm

$ npm install @tanglelabs/ssimon @tanglelabs/web-identity-adapter

2. yarn

$ yarn add @tanglelabs/ssimon @tanglelabs/web-identity-adapter

Usage

(async () => {
    const manager = await IdentityManager.build({
        adapter: DidWebAdapter,
        storage,
    });

    const did = await manager.createDid({
        alias: "domain.com",
        store,
    });

    console.log(did.getDid());
})();

Result

did:web:domain.com

Readme

Keywords

none

Package Sidebar

Install

npm i @tanglelabs/web-identity-adapter

Weekly Downloads

84

Version

0.4.1

License

MIT

Unpacked Size

16.9 kB

Total Files

15

Last publish

Collaborators

  • coodos