# Bring your own (BYO) DIDs UI

1. [Step By Step Process](#id-1.-step-by-step-process)
2. [Demo Video](#id-2.-demo-video)

## 1. Step By Step Process

## 1. New Standard Registry Registration

### **1.1 Hedera Account**

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

Enter Hedera network account with non-0 hbar balance to be used by the system for the Hedera transactions associated with the new Standard Registry user’s DID.

### 1.2 DID Document

#### 1.2.1 Default DID

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

When the ‘Generate new DID document’ option is selected, clicking on the Next button would result in Guardian generating a new dedicated DID to be used exclusively in Guardian based on the Hedera account ID entered at the previous step. Such DID would have the following format:

```
“did:hedera:{network}:{identifier}_{topicId}”
```

```
Example:

"did:hedera:testnet:DZv8hKg4nsdS7qSAtUdmBgvcq5iiZ6E1aCWZvqJzNNbV_0.0.2666979"

```

#### 1.2.2 Externally-controlled (custom) DID

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

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

Selecting ‘Custom DID document’ option enables the dialogue text window where the externally-generated/controlled DID document can be pasted from the clip-board. The document must contain Ed25519VerificationKey2018 and Bls12381G2Key2020 verification methods to be useable by Guardian.

### 1.3 Keys

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

For BYO DID of Standard Registries, in the cases where there are multiple verification methods Standard Registry users are required to specify which one of them is to be used in Guardian, and pass the corresponding private key into Guardian to be used for signatures.

### 1.4 VC Document

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

Final step of the registration presents a form, based on the corresponding system schema, for the user to fill out.

## 2. New User registration

### 2.1. Select the Standard Registry to be associated with

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

### 2.2 User Hedera Account

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

Specify the existing Hedera account with non-0 hbar balance to be used for submitting transactions associated with this user’s DID.

### 2.3 DID Document

#### 2.3.1 Default DID

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

For more details please refer to Section [1.2.1](#id-1.2.1-default-did).

#### 2.3.2 Custom DID

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

For more details, please refer to Section [1.2.2](#id-1.2.2-externally-controlled-custom-did)

### 2.4 Keys

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

For more details, please refer to section [1.3](#id-1.3-keys)

## 2. Demo Video

[Youtube](https://youtu.be/VVwHSu4LJ_w?si=warN7AxOVopv85G4\&t=117)


---

# 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://guardian.hedera.com/guardian-dev/guardian/standard-registry/bring-your-own-dids/bring-your-own-byo-dids-ui.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.
