Klaytn DID Method (did:klay) is a decentralized identifier implementation built on the Klaytn blockchain platform. This method provides a straightforward approach to digital identity management by automatically associating DIDs with Klaytn blockchain addresses. The method's key feature is its implicit creation process - any address on the Klaytn blockchain automatically has an associated DID without requiring explicit registration.
The method implements a smart contract-based registry that manages DID documents and their lifecycle. Each DID is directly derived from a Klaytn address by prefixing it with did:klay:, creating a seamless connection between blockchain accounts and decentralized identifiers. This approach simplifies identity management while leveraging the security properties of the underlying blockchain.
Key capabilities include:
Technical Implementation:
DID Generation and Structure
did:klay:<40-character-hex-string>did:klay:1f4B9d871fed2dEcb2670A80237F7253DB5766De0x prefix)Resolution Process
getDocument method in registry contractKey Management and Security
EcdsaSecp256k1VerificationKey2019 verification methodTechnical Stack
W3C DID Core specificationUnique Features
Security Considerations:
Example DID Document:
{
"@context": ["https://www.w3.org/ns/did/v1"],
"id": "did:klay:1f4B9d871fed2dEcb2670A80237F7253DB5766De",
"publicKey": [{
"id": "did:klay:1f4B9d871fed2dEcb2670A80237F7253DB5766De#keys-1",
"type": "EcdsaSecp256k1VerificationKey2019",
"controller": "did:klay:1f4B9d871fed2dEcb2670A80237F7253DB5766De",
"publicKeyHex": "0xfbf38de9fb40edcdab412094d24fa39a314f3d3f52f5860e2509c32522eda30161fe70dfc9f90434d64bd976ede4f112d4f2d8e34d28fe48281663219d2ddac6"
}],
"authentication": ["did:klay:1f4B9d871fed2dEcb2670A80237F7253DB5766De#keys-1"]
}
If you are featured in the Web of Trust Map and wish to exercise your GDPR rights, including the right to be forgotten, visit the privacy policy page