Attestation verifiable on-chain
Let smart contracts verify claims about an identity or off-chain fact without the contract or the public learning the underlying data. Trusted issuers sign attestations off-chain; verifiers check issuer signatures and revocation state on-chain and gate access on the result.
Let smart contracts verify claims about an identity or off-chain fact without the contract or the public learning the underlying data. Trusted issuers sign attestations off-chain; verifiers check issuer signatures and revocation state on-chain and gate access on the result.
- Attestation registry stores on-chain records of issued attestations, revocations, and issuer metadata. Deployable on L1 or L2.
- Issuer keys held by a regulated party (bank, KYC provider, regulator) to sign structured attestation payloads.
- Typed signing format binds attestation fields to the issuer signature so that replay and field substitution are infeasible.
- Subject identifier (on-chain address, decentralized identifier, or pseudonymous handle) links the attestation to the party presenting it.
- Revocation list or on-chain state lets issuers invalidate a previously issued attestation.
- Verifier contract checks the issuer signature, the revocation state, and expiry, and emits a gate decision.
- Zero-knowledge wrapper (optional) lets the subject prove a predicate over the attestation without revealing the attestation itself.
Guarantees:
- Minimal disclosure: only the claim needed for the access decision is verified on-chain.
- Non-forgeability: cryptographic signatures bind the claim to the issuer.
- Revocability: issuers can invalidate attestations on-chain; verifiers see the current state.
- Auditability: issuance and access-check events are observable on-chain (or via issuer logs) and are available to regulators.
Threat model:
- Issuer honesty and key custody. A compromised issuer key can produce forged attestations until the key is revoked.
- Availability of the revocation registry at verification time. A stale read defeats revocation.
- Signature-scheme soundness. Current ECDSA and EIP-712 signatures are classically secure and PQ-vulnerable.
- On-chain visibility of the verification event reveals which contract the user interacted with and when. Network-layer privacy and zero-knowledge wrappers are out of scope for this pattern.
- Gas cost for signature verification and registry lookup on every access check. Zero-knowledge wrappers move cost from calldata to proof verification.
- Dependence on issuer availability and willingness to issue or refresh attestations.
- Multiple competing standards (EAS, W3C Verifiable Credentials, ONCHAINID) limit portability; adapters or multi-standard verifier contracts are required.
- Verification events leak contract interaction patterns; combine with a privacy L2 or a zero-knowledge wrapper to reduce observer linkability.
A buyer on a tokenized bond platform holds an accredited-investor attestation issued by a KYC provider and registered on-chain. When the buyer submits a subscription, the bond contract verifies the issuer signature, checks that the attestation is neither revoked nor expired, and clears the transfer. The public sees that an accredited-investor gate was passed, not the buyer's financial details.