ceramicnetwork / js-did

A simple interface to interact with DIDs that conform to the DID-provider interface.
Other
95 stars 28 forks source link

Add example of how did-session is used #160

Open ukstv opened 1 year ago

ukstv commented 1 year ago

This is a PR not indented to be merged directly.

Installation

Proceed as usual, in the root folder do:

pnpm install

Running

Then go to packages/example and run:

pnpm run dev

Then open http://localhost:1234/

For did-session usage see packages/example/src/ethereum.tsx, lines 28-31