https://github.com/block-core/blockcore-did-resolver
JavaScript Library for resolving DID Documents
https://github.com/block-core/blockcore-did-resolver
decentralized did identity web3 web5
Last synced: 10 months ago
JSON representation
JavaScript Library for resolving DID Documents
- Host: GitHub
- URL: https://github.com/block-core/blockcore-did-resolver
- Owner: block-core
- License: mit
- Created: 2021-06-20T19:05:18.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T11:26:32.000Z (over 2 years ago)
- Last Synced: 2024-10-29T10:06:39.740Z (over 1 year ago)
- Topics: decentralized, did, identity, web3, web5
- Language: TypeScript
- Homepage:
- Size: 613 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Blockcore DID Resolver (JS)
Library that helps resolve DID Documents (decentralized identities) from the "did:is" DID Method.
## Usage
```sh
npm install did-resolver @blockcore/did-resolver
```
```ts
import is from '@blockcore/did-resolver';
import { Resolver } from 'did-resolver';
const resolver = new Resolver(is.getResolver());
const didResolution = await resolver.resolve('did:is:0f254e55a2633d468e92aa7dd5a76c0c9101fab8e282c8c20b3fefde0d68f217');
```