Credentials
A credential is an attestation that an attester makes about a
subject: a type (for example investor.accredited), an expiry, and
optionally a 32-byte evidence hash. It carries no personal data — the
evidence stays with the attester; the chain only stores its hash.
Credentials do nothing on their own. They matter when a
policy asks for one:
CREDENTIAL(type, attesters) allows a recipient who holds a valid attestation
of that type from one of the listed attesters.
- One record per (subject, type, attester). Attesting again replaces the expiry and evidence and clears a revocation.
- Only the attester can revoke its own record; the record is kept with
revoked = true. - Self-attestation is allowed: whose attestations count is the policy’s
decision, through its
attesterslist. - Validity is checked when units move. Revoking or expiring a credential does not take units away from anyone who already holds them.
Messages
MsgAttest, MsgRevoke — Reference → Messages.
CLI
aevad tx credential attest <subject> investor.accredited +8760h --from attester
aevad tx credential revoke <subject> investor.accredited --from attester
aevad query credential valid <subject> investor.accredited <attester>
aevad query credential attestations <subject>On the explorer
/address/<addr> → the Credentials row of the overview: the attestations
issued to the account, with how many are live (not expired, not revoked).
/attesters/<addr> lists the attestations an attester has issued.
Last updated