Skip to content

CRED Protocol

Kostas Karasavvas edited this page Jul 24, 2019 · 5 revisions

The CRED Protocol is described in detail here:

We currently implement the following operations (with hex code):

  • op_issue (0004)
    • header (6B) + op (2B) + issuer_txt (8B) + merkle_root (32B)
  • op_issue_abs_expiry (0005)
    • header (6B) + op (2B) + issuer_txt (8B) + merkle_root (32B) + expiry (5B)
  • op_revoke_batch (0008)
    • header (6B) + op (2B) + txid (32B)
  • op_revoke_creds (000c)
    • header (6B) + op (2B) + txid (32B) + cred_hash1 (20B) [+ cred_hash2 (20B)]
  • op_revoke_address (ff00)
    • header (6B) + op (2B) + pkh1 (20B)
Clone this wiki locally