Skip to content

x/veid — VEID module

The x/veid module is the protocol’s identity layer. Users capture identity evidence on-device — documents with OCR, a selfie with active liveness, biometric hardware attestation, and device integrity attestation — then seal it into encrypted, signed identity scopes and submit it on-chain.

Validators — the same set that secures consensus — decrypt submitted scopes with their keys, score them with shared machine-learning models, and commit an identity trust score to the ledger by consensus. The module’s zero-knowledge subsystem (x/veid/zk) then lets users prove facts about that identity without revealing documents, biometrics, or the score itself.

The module turns identity verification into a protocol function, covering evidence capture, sealing, scoring, and disclosure:

  • Capture stays on-device. Documents with OCR, a selfie with active liveness, biometric hardware attestation (fingerprint or iris), and device integrity attestation via Play Integrity or App Attest are captured on the handset rather than uploaded raw.
  • Scopes are sealed and signed. Evidence is packed into encrypted identity scopes, signed by both an approved client and the user, and submitted on-chain.
  • Validators score by consensus. The validator set decrypts submitted scopes with their keys, scores them with shared machine-learning models, and commits an identity trust score to the ledger. This validator-run identity verification network is the method protected by patent AU2024203136B2.
  • Proof without disclosure. The zero-knowledge subsystem (x/veid/zk) lets users prove facts about their verified identity — that a score clears a threshold, that an attribute holds — without revealing documents, biometrics, or the score itself.

An open compute marketplace without identity is an invitation to fraud and abuse: providers need to know a tenant is real before workloads land on their hardware, and tenants need to know a provider is accountable. x/veid makes verification a protocol function — decentralized like the chain itself, private by construction — rather than an outsourced KYC checkbox.

ConceptDefinition
Identity scopeAn encrypted, signed bundle of identity evidence for one verification dimension.
Trust scoreThe consensus-committed score validators assign after ML evaluation of submitted scopes.
ZK verification tierA zero-knowledge proof surface that reveals only a threshold or attribute fact — never the data.
Active livenessA challenge–response selfie flow proving a live human, resistant to photos, replays, and injection.
  1. Capture — Evidence on-device. Document OCR, liveness challenge, biometric and device attestation — all captured on the handset.
  2. Seal — Scopes are sealed. Evidence bundles are encrypted to validator keys and signed by both an approved client and the user.
  3. Score — Validators score. Decryption, shared-model scoring, and a consensus-committed trust score recorded through the registry.
  4. Gate — Scores gate the market. Marketplace participation, provider registration, and deployment creation all check VEID standing.
MessagePurpose
Verification & scopes
MsgRequestVerificationRequests verification for a submitted identity scope.
MsgUpdateVerificationStatusUpdates the status of a pending verification.
MsgUpdateScoreRecords an updated identity trust score.
MsgUploadScope / MsgRevokeScopeUploads or revokes a sealed identity scope.
MsgUpdateConsentSettingsUpdates the account’s recorded consent settings.
MsgUpdateDerivedFeaturesUpdates derived features computed from identity data.
MsgCompleteBorderlineFallbackCompletes the fallback path for borderline scoring outcomes.
MsgUpdateBorderlineParamsUpdates parameters governing the borderline fallback.
Appeals
MsgSubmitAppealSubmits an appeal against a verification outcome.
MsgClaimAppealClaims a pending appeal for handling.
MsgResolveAppealRecords the resolution of an appeal.
MsgWithdrawAppealWithdraws a previously submitted appeal.
Identity wallets
MsgCreateIdentityWalletCreates an on-chain identity wallet.
MsgAddScopeToWallet / MsgRevokeScopeFromWalletAdds or removes a verified scope held by a wallet.
MsgRebindWalletRebinds a wallet’s identity binding.
Scoring models
MsgRegisterModel / MsgActivateModel / MsgDeprecateModel / MsgRevokeModelManages the lifecycle of a scoring model version.
MsgProposeModelUpdateProposes an update to a registered model.
MsgReportModelVersionReports the model version used during scoring.
Compliance
MsgSubmitComplianceCheckSubmits a compliance check for evaluation.
MsgAttestComplianceAttests the outcome of a compliance check.
MsgUpdateComplianceParamsUpdates compliance parameters.
MsgRegisterProvider / MsgDeactivateProviderRegisters or deactivates a provider tracked by the module.
Proofs & linkages
MsgSubmitEmailVerificationProofSubmits an email verification proof.
MsgSubmitSMSVerificationProofSubmits an SMS verification proof.
MsgSubmitSocialMediaScopeSubmits a social media identity scope.
MsgSubmitSSOVerificationProofSubmits a single sign-on verification proof.
MsgCreateSSOLinkage / MsgUpdateSSOLinkage / MsgRevokeSSOLinkageCreates, updates, or revokes an SSO linkage.
QueryPurpose
Verification & scopes
Scope / ScopesByTypeOne stored identity scope, or scopes filtered by type.
IdentityRecordThe identity record bound to an account.
VerificationHistoryPast verification outcomes for an account.
ConsentSettingsThe account’s recorded consent settings.
Appeals
Appeal / AppealsByAccountOne appeal, or all appeals filed by an account.
PendingAppealsAppeals awaiting resolution.
AppealParamsCurrent appeal configuration parameters.
Identity wallets
IdentityWallet / WalletScopesA wallet record, and the scopes it holds.
Scoring models
ModelVersion / ActiveModels / ModelHistoryA specific model version, the active set, and version history.
ModelParamsCurrent scoring model parameters.
ValidatorModelSyncValidator synchronization state for shared scoring models.
Derived features
DerivedFeatures / DerivedFeatureHashesDerived feature values, and their hashes.
Compliance
ComplianceStatusThe compliance status recorded for a subject.
ComplianceProvider / ComplianceProvidersOne registered compliance provider, or all of them.
ComplianceParamsCurrent compliance parameters.
ApprovedClientsClients approved to submit identity data.
Proofs & linkages
EmailVerificationA stored email verification proof.
SMSVerificationA stored SMS verification proof.
SocialMediaScope / SocialMediaScopesOne social media scope, or all of them.
SSOLinkageA stored single sign-on linkage.
General
ParamsCurrent module parameters.
ModuleHow they interact
x/veidregistryScores and scope records are registered and resolved through the registry.
x/encryptionIdentity scopes are sealed with validator-targeted public-key encryption.
x/configOnly governance-approved clients may submit identity data.
x/marketMarketplace access is gated on VEID trust scores in both directions.
x/mfaSensitive account operations layer on-chain MFA over identity.
  • VEID Overview — what a VEID is and where identity sits in the protocol.
  • Enrollment — the capture-to-submission path for identity evidence.
  • Hardware Attestation — device and biometric attestation at capture time.
  • Privacy — how scopes and zero-knowledge tiers keep identity data private.
  • On-Chain Module Map — all 27 modules at a glance.

An encrypted, signed bundle of identity evidence for one verification dimension — the unit validators decrypt, score, and commit outcomes for. See the x/veidregistry module.

Nobody on the public ledger. Scopes are encrypted to validator recipients for scoring, and the verification surfaces expose only zero-knowledge proofs — never raw documents, biometrics, or scores. See What is VEID?.

A challenge–response selfie flow proving a live human is present — resistant to photos, replays, and injection — performed on-device before anything is sealed.