Skip to content

Commit

Permalink
Replaced existing DID resolution library with @web5/dids (#673)
Browse files Browse the repository at this point in the history
- Replaced existing DID resolution library with `@web5/dids`
- Added `did:dht` support
  • Loading branch information
thehenrytsai authored Jan 25, 2024
1 parent 03717e2 commit 31f5e29
Show file tree
Hide file tree
Showing 57 changed files with 1,298 additions and 1,183 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ DWN SDK includes a polyfilled distribution that can imported in a `module` scrip
const dwn = await Dwn.create({ messageStore, dataStore, eventLog });
// Generate a did:key DID (Decentralized Identifier).
const didKey = await DidKeyResolver.generate();
const didKey = await TestDataGenerator.generateDidKeyPersona();
// Create some data to be stored.
const encoder = new TextEncoder();
Expand Down Expand Up @@ -199,7 +199,7 @@ const eventLog = new EventLogLevel();
const dwn = await Dwn.create({ messageStore, dataStore, eventLog });

// Generate a did:key DID (Decentralized Identifier).
const didKey = await DidKeyResolver.generate();
const didKey = await TestDataGenerator.generateDidKeyPersona();

// Create some data to be stored.
const encoder = new TextEncoder();
Expand Down
Loading

0 comments on commit 31f5e29

Please sign in to comment.