W3C-compatible decentralized identity (did:lux:) and verifiable credentials. Trusted issuer registry, credential revocation, and ZK selective disclosure.
The Identity Chain implements the W3C Decentralized Identifiers (DID) and Verifiable Credentials specifications, providing a decentralized identity layer for Lux Network users and applications.
DIDs are created with the `did:lux:` method and can be used for authentication, authorization, and credential presentation across the entire ecosystem. A trusted issuer registry manages which entities can issue verifiable credentials.
ZK selective disclosure allows users to prove claims about their identity (e.g., "I am over 18") without revealing the underlying data. Credential revocation is managed on-chain with instant propagation.
Quick start using the Lux JavaScript SDK.
import { IdentityClient } from 'luxnet/identity'
const id = new IdentityClient('https://id.lux.network')
// Create a DID
const did = await id.createDID({
method: 'lux',
publicKey: myPublicKey,
})
// did:lux:0x1234...
// Issue a verifiable credential
const vc = await id.issueCredential({
issuer: issuerDID,
subject: did,
claims: { age: { gte: 18 } },
})