This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

DID Document Update Tool

Developer Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryDeveloper Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This tool provides on-chain updating of Decentralized Identifier (DID) documents, enabling you to rotate public keys, update service endpoints, and maintain verifiable digital identities. It reads your connected wallet address, DID registry contract address, DID string, current public key, current service endpoints, update timestamp, current block timestamp, DID status, and update history. You can then sign and send transactions to update full DID documents, rotate public keys (keeping the rest of the document unchanged), update service endpoints, and record update metadata on-chain. All update parameters are displayed in a clear review panel before you sign, so you know exactly what you are updating. The tool also logs transaction hashes, confirmation status, and gas costs, providing a complete audit trail of all update activities.

HOW TO USE

Connect your wallet using the built-in wallet bridge, choose the network that matches your DID registry contract, and paste the registry contract address. Enter the DID string you want to update, the new public key in hex format, and the new service endpoint URL. The review panel shows all inputs, the current DID status, current public key, and current endpoint before you sign. Use the numbered action buttons: check current to view the current DID status, public key, endpoint, and owner; update DID to update both the public key and service endpoint in a single transaction; rotate key to update only the public key; or update endpoint to update only the service endpoint. You can also view update history to see all past update timestamps for the DID. Each transaction is signed sequentially, and the tool displays transaction details and confirmation status.

THE REAL MECHANISM

This tool uses ethers.js v5.7.2 to build and send transactions through the wallet's signer. It does not rely on any hardcoded contract addresses – you paste the registry contract you are using, so you are in full control. When you update a DID document, the tool constructs a contract call to the updateDID function, which takes the DID string, new public key, and new service endpoint. When you rotate a key, the tool calls rotatePublicKey, which updates only the public key. When you update an endpoint, the tool calls updateServiceEndpoint, which updates only the service endpoint. The tool reads DID state via getDID, which returns the owner, public key, service endpoint, registration timestamp, and active status, as well as getUpdateHistory for the full history of updates. All transactions are sequential to prevent nonce conflicts, and gas costs are calculated using effectiveGasPrice for accurate post-EIP-1559 reporting.

WHAT IT CANNOT SEE

This tool cannot verify off-chain identity, validate new key authenticity, detect unauthorized updates, or ensure that the DID registry contract handles updates correctly. It cannot detect if the new public key is properly associated with the owner or if the update is authorized. The tool also cannot verify that the DID registry contract correctly handles edge cases like updating non-existent DIDs, invalid public keys, or malformed service endpoints. It cannot simulate the outcome of a transaction before you sign it, nor can it guarantee that the update will be processed correctly if the contract is not properly implemented.

PLEASE NOTE

This tool works only on EVM-compatible chains supported by your wallet and provider. Always double-check the contract addresses and DID parameters before signing. Use testnet first. The tool is a transaction-signing interface and DID document update management tool, not a identity verification or key authenticity system.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.