> For the complete documentation index, see [llms.txt](https://docs.hashkey.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hashkey.id/protocol/resolver.md).

# Resolver

Resolver records the DID user personal information (eg: `name`, `avatar`, `blockchain address`). DID user can display the personal information by resolver contract. all of the information is optional.

### Architecture

<figure><img src="/files/pX1ulrY2mGVtnTsMtIhH" alt=""><figcaption></figcaption></figure>

### Core

The `tokenId` is used as the core to bind all information together. TokenId and DID are one-to-one mappings relationship in the DID contract. DID is essentially a non-transferable NFT. Setting DID resolver information is equivalent to setting additional metadata for NFTS.
