.. and press ENTER to ask a question on web5, how to write code and more.

Skip to main content

Reuse a DID

In this guide, you will learn how to take your Decentralized Identifier (DID) with you to other apps, allowing you to keep your identity consistent across various applications.

Export DID​

You will start by exporting your Bearer DID. This method returns a JSON object called a Portable DID, which is a serialized version of your Bearer DID suitable for storage or transfer.

note

Your Portable DID contains private key material. Always store it securely, preferably in a trusted identity wallet or password manager.

JavaScript
Kotlin
Swift

Import DID​

You can import your Portable DID to an application using the import method.

This converts your Portable DID back into a fully functional Bearer DID, allowing you to use it for various operations, including signing and verifying data.

JavaScript
Kotlin
Swift

Connect with us on Discord

Submit feedback: Open a GitHub issue

Edit this page: GitHub Repo

Contribute: Contributing Guide