LPsLux Proposals
EVM & Execution
LP-1320

Identity VM

Final

The I-Chain identity VM — one namespace for DIDs, verifiable credentials with post-quantum signatures, human-readable names, and domains, with zero-knowledge selective disclosure and C-Chain resolver precompiles

Category
Core
Created
2026-04-13

Abstract

The Identity VM runs the I-Chain, a chain for on-chain identity primitives: decentralized identifiers (DIDs), verifiable credentials (VCs), human-readable names, and domains. One chain, one canonical namespace, one identity resolver.

Scope

I-Chain handles:

  • a DID registry (the did:lux:* method) per W3C DID Core
  • verifiable credential issuance, storage, and revocation (W3C VC Data Model)
  • zero-knowledge credential presentations (selective disclosure)
  • human-readable names — username to DID resolution
  • domain names such as alice.lux, with TLS-style ownership proofs
  • a trusted-issuer registry with permissioning

I-Chain does NOT handle:

  • authentication sessions — that is the Session VM (LP-1330)
  • validator keys or cryptographic key material — that is the K-Chain (LP-7336)

DID method

did:lux:<identifier>

where <identifier> ::= {Base58Check(pubkey)} | {human-readable name}

DID document

type Identity struct {
    DID         string
    PublicKey   []byte
    Controllers []ids.ID           // identities that can rotate this DID
    Services    []ServiceEndpoint  // associated service endpoints
    Names       []string           // human-readable names owned
    Domains     []string           // domain names owned
    Created     time.Time
    Updated     time.Time
    Metadata    map[string]string
}

Verifiable credentials

Credentials follow the W3C VC Data Model with post-quantum signatures — ML-DSA by default (LP-4400).

type Credential struct {
    ID               string
    Type             []string   // e.g. ["VerifiableCredential", "KYCCredential"]
    Issuer           string     // DID of issuer
    Subject          string     // DID of subject
    IssuedAt         time.Time
    ExpiresAt        time.Time
    Claims           map[string]interface{}
    Proof            []byte     // ML-DSA signature by issuer
    RevocationListID string     // for revocation checks
}

Revocation runs through on-chain revocation lists (W3C Status List 2021).

Names and domains

  • Names — first come, first served, tied to a DID controller. Registration burns at least 10 LUX, which prices out squatting.
  • Domains — TLS/DNS integration via an on-chain ownership proof (DNSSEC plus a delegated zone commitment). Domain owners may attach DIDs.

Both resolve through a single RPC surface:

lux.identity.resolve(name="alice")            → did:lux:… + public key + services
lux.identity.resolveDomain(domain="alice.lux") → did:lux:… + public key + services

Zero-knowledge presentations

Selective disclosure runs as a ZK proof against an I-Chain-issued credential. The prover constructs a proof that "I hold a valid credential of type T from issuer DID X" without revealing the credential contents. Verification uses the ZK verifier precompiles registered in LP-1210.

Precompile integration

C-Chain contracts reach I-Chain state through precompiles at 0x…D00–0x…D9F:

AddressFunction
0x…D00resolveDID(name) → pubkey
0x…D01verifyVC(credential, revocationProof) → bool
0x…D02verifyPresentation(proof, issuerDID, schemaHash) → bool

The D chain-slot nibble is allocated per LP-1220.

Reference

ResourceLocation
Identity VMgithub.com/luxfi/chains/identityvm/
DID specW3C DID Core 1.0
VC specW3C VC Data Model 2.0
RevocationW3C Status List 2021
DID standard on LuxLP-10093

Copyright and related rights waived via CC0.