Skip to content

ArcBlock/did-connect

Repository files navigation

DID Connect

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:

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

Contribute

  • clone the repo: git clone git@github.com: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 and make coverage pass before your PR

Website Update

git clone git@github.com: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