Support DID on-top of Cosmos SDK

HackAtom-V 

10/30/2020

(To pitch on 11/4/2020)

 

Ming-der Wang <mingderwang@gmail.com>

Cosmos-did, Taiwan

To Implement An x/did Module With Starport

and for users to create DIDs with their cosmos accounts

My Goal Is

DID Stands For

Decentralized Identifiers, which is a kind of

"self-sovereign" digital identity solution proposed by W3C.

What Is DID?

Cosmos-did Is Compliant With

 the W3C DID v1.0 Standard

The DID Verification Workflow

(example)

Holder (you)

image source: https://www.microsoft.com/en-us/security/business/identity/own-your-identity

Issuer (DMV e.g.)

Verifier (bar e.g.)

VC (Verifiable Credential)

user agent

Blockchain (a cosmos chain with x/did module)

Universal Resolver

identity hub

(to proof you are over 18)

DID Documents are registered on a blockchain

Many DID Methods Are Available

But, Cosmos DID Method Is Still Missing On The List

did:cosm:cosmos1xxx ...

Scheme

Method-specific-identifier

DID Syntax (W3C)

Method

where we can use Cosmos Address

This is just my current proposal for cosm method*

* alternative is to add :network: such as:

did:cosm:mainnet:cosmos1are9yj8e...

 

did:cosm:cosmos1are9yj8er0sj2tzffkyqlevncgwgqnc7ave50a

DID -> DID Document

resolve to a DID Document as follow;

demo

TODO list

* To finalize did:cosm spec with the community.

* To complete a DID universal resolver driver for cosm method. (uni-resolver-driver-did-cosm)

* To provide a javascript library for did:cosm DID resolution and verification (cosm-did.js)

* To implement a sample DID user agent (wallet) on mobiles for users to interact with DID with cosmos address.

DID

By Ming-der Wang

DID

  • 955