How to Create and Manage DIDs From the Dock Wallet
These are step-by-step instructions on how to create and manage your DIDs from the Dock Wallet.
Create a DID
- Select DIDs at the bottom of your wallet and click on the + sign on the top right of the screen.

- Select Create New DID.

3. Name your DID like educational credentials, NFTs, IDs etc. and select Create.

- Choose a DID type. Difference between the two keys:

- Select Create after selecting did:key for example and naming it.

For the advanced options for developers:
- Schnorrkel (sr25519, recommended): Determines what cryptography will be used to create this account. Note that to validate on Polkadot, the session account must use “ed25519”.
- Secret deviation path: You can set a custom derivation path for this account using the following syntax “/<soft-key>//<hard-key>”. The “/<soft-key>” and “//<hard-key>” may be repeated and mixed. An optional “///<password>” can be used with a mnemonic seed, and may only be specified once.

- did:key is created.

- This is the next step if you select did:dock. Name your DID and select the DID Payment Account. If you have multiple accounts, you will see an extra field on this screen for you to choose which account to use to pay for the DID.

- Select Confirm.

- You now have a new DID!

Export a DID
- Click on the three dots of the DID you want to export and click Export DID.


- Create a password.

- Choose where you want to send your DID.

Import a DID
If your DID was created somewhere else like Dock Certs, you can export a DID and later import it into the Dock Wallet.
- Click on the three dots of the DID you want to import and click Import existing DID.


- Select the DID JSON file. A JSON file is a file that stores simple data structures and objects in JavaScript Object Notation (JSON) format, which is a standard data interchange format.

- Enter your wallet password.

- Enter a DID name like “online shopping.”

- Your DID has successfully been imported.
Edit a DID
- Select the three dots for the DID you want to edit and select Edit DID.


- Enter a DID name and press Save.

- The DID name has been edited.

Delete a DID
1: Select the three dots for the DID you want to delete and select Delete DID.


- Select Delete.

Copy/Share a DID
- Click Share.

2: Copy the DID and share it where you want.
