# Decentralized identity identifiers (DID)

**URL:** <https://forum.massa.community/t/decentralized-identity-identifiers-did/221>\
**Category:** Ecosystem\
**Created:** [January 16, 2025, 4:00pm UTC](https://forum.massa.community/t/decentralized-identity-identifiers-did/221 "2025-01-16T16:00:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![damir](https://forum.massa.community/user_avatar/forum.massa.community/damir/32/34_2.png) [@damir](https://forum.massa.community/u/damir)\
**Post date:** [January 16, 2025, 4:00pm UTC](https://forum.massa.community/t/decentralized-identity-identifiers-did/221/1 "2025-01-16T16:00:31Z")

</div>

## Concept

Implement support for decentralized identifiers (see [Decentralized Identifiers (DIDs) v1.0](https://www.w3.org/TR/did-core/) ) that are used by a lot of projects around the ecosystem.

## Format

```auto
did:massa:AU12Vi9V6Fsq9HMh9ge88WJ5cgymBGc3oUX2F6WpRqA5HdabPcPt5

```

where `AU12Vi9V6Fsq9HMh9ge88WJ5cgymBGc3oUX2F6WpRqA5HdabPcPt5` is the user address

### Smart contract

Create a smart contract that provides a CRUD-like interface for externally owned accounts to create and update a publicly available JSON associated to their account and signed by their key.

The smart contract needs to only allow the right public key owner to update their own DID JSON document.

### Resolver

An external program (typically wrapped as a javascript library) allows resolving a DID identifier by querying the smart contract on-chain, then checking the integrity and signature matching of the returned JSON.

---

<div class="post-metadata">

**Author:** ![jwmdev](https://forum.massa.community/letter_avatar_proxy/v4/letter/j/b487fb/32.png) [@jwmdev](https://forum.massa.community/u/jwmdev)\
**Post date:** [January 17, 2025, 8:12am UTC](https://forum.massa.community/t/decentralized-identity-identifiers-did/221/2 "2025-01-17T08:12:11Z")

</div>

It is a great idea. I can’t wait to test the implementation. When should we expect the beta version for testing?
