# DIDRegistry — 身份确权

## 设计

system contract slot 0x8017，注入到 zksync-era bootloader。

## DID 格式

* `did:axblade:<bytes20 controller>`
* 关联 DIDDocument (controller, verificationMethods, serviceEndpoints, nonce)
* 支持 delegate (允许其他地址代签)

## CredentialRegistry (0x8018)

签发 / 撤销 Verifiable Credential。only trustedIssuer 列表内地址可签。

## IdentityVerifier (0x8019)

验证 ECDSA / ZK 身份证明 (KYC / age / income / region 6 个 Circom 电路)。

## 主网前必备

* DIDRegistry 独立 audit
* trustedIssuer 治理流程


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yellowpaper.axblade.io/registries-que-quan/did-registry.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
