Key Event Ledger¶
Each identity has its own ledger: its key event log. No shared blockchain is needed, because only the identity itself can append to it, and witnesses make it accountable.
What is recorded¶
| Entry | Records |
|---|---|
| Inception and rotation | Keys, next keys, thresholds and witnesses |
| Interaction | Digests of anything the identity commits to: policies, credentials, evidence, agreements |
| Delegation | Approval of other identities |
| Registry events | Issuance and revocation of credentials |
Why it can be trusted¶
- Entries are chained by digest and signed.
- Witnesses sign receipts and receipt only one event at each position.
- Watchers keep copies and report conflicts.
- Keys for the next rotation are committed in advance, so a stolen key cannot take over the ledger.
Read¶
curl "http://witness-0:8080/v1/kel/<aid>?nonce=<random>"
curl "http://watcher-0:8080/v1/kel/<aid>"
Verify the result instead of trusting the server. The keri_system library does this when resolving an identity:
state = node.identity.resolve(aid)
Anchor your own data¶
node.manager.anchor([{"d": digest}])
Afterwards anyone can verify that the identity committed to the digest, in which order, and that witnesses saw it. Use it for example for a daily digest of metrics or an invoice.
Start an identity network with src/keri-system/deploy/scripts/up.sh. Identity Concepts explains the terms.