Docs of Communities ID
WebsiteTwitterDiscord
  • What is Communities ID
  • DID as a Service
    • Omni DID
    • Bridge DID
    • Soulbound DID
  • Why "DID as a Service"?
  • How to start?
    • For project owners
    • For regular users
  • Terminology
  • Pricing & Business Model
    • Business Model
    • Pricing Policy
  • Frequently Asked Questions
  • -BRAND GUIDE-
    • Community Settings
    • Mint Settings
      • Mint Mode
      • Pricing
      • Base URL (PFP)
    • Renewal & Expiration
  • -USER GUIDE-
    • Mint
    • Burn
    • Renewal & Expiration
    • Set as Primary
    • Soulbound
  • -Developers-
    • SDK
      • Overview
        • Install & Initialize
        • Search Brand/User
        • Resolving Name
        • Modify User DID
      • API reference
        • Collector
        • Resolver
        • Operator
  • - Legal -
    • Privacy Policy
    • Terms of Service
Powered by GitBook
On this page
  1. -Developers-
  2. SDK
  3. Overview

Modify User DID

PreviousResolving NameNextAPI reference

Last updated 1 year ago

With the Operator function, platforms can offer various DID management functionalities directly on their websites or within their dApps. Users are no longer required to navigate to the Communities ID page for primary operations. Business partners can set their Brand DID parameters on the and provide a direct interface to their Users by integrating the SDK.

This promotes user retention by reducing the learning curve associated with migrating to the Communities ID page for DID operations.

Key features include:

  • Minting User DID directly within partner platforms.

  • Renewing, burning, and setting a primary DID within partner platforms.

To use these writing methods, you should pass generateSigner to the chain you want to modify on. Or you can use operator.setSigner method to set signer after initialized.

Here are some examples:

const { operator } = new CommunitiesID(options);
await operator.mintUserDID('test.did', '0x123456')
await operator.renewUserDID('test.did')
await operator.setAsPrimary('test.did')

For more details, please refer to .

Communities ID
API doc