DID Connect is an open protocol that enables secure and seamless connection between decentralized identity and decentralized services.
- Decentralized identity are managed with DID Wallet.
- Decentralized services are usually served by Blocklets.
This monorepo contains DID Connect implementation by ArcBlock. the implementation can be divided into 3 parts:
- Core: defines the core DID Connect data types and state machine
- Relay: defines and implements Session Storage and Relay Adapter
- UX: defines UI components that can be used in webapps to handle DID Connect workflow
The implementation also includes a few blocklets that can be used to test the implementation.
- DID Connect Relay: Relay server implementation built on top of express
- DID Connect React: React UI component playground for DID Connect
- clone the repo:
git clone [email protected]:ArcBlock/did-connect.git
- init the repo with
make init
- build the repo:
make build
, this step is required before you run any blocklets - start the relay server:
cd relay/server && blocklet dev install && blocklet dev start
- start the storybook:
cd ux/react && blocklet dev install && blocklet dev start
- play with the demo and open your pull request
- make sure
make lint
andmake coverage
pass before your PR
git clone [email protected]:arcblock/did-connect.git
cd did-connect
make dep
Page site:
cd website/pages
blocklet dev
Doc site:
cd website/docs
npm run dev:child
React storybook site:
cd ux/react
npm run dev:child