Skip to content

Instantly share code, notes, and snippets.

@Gozala
Created March 20, 2024 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gozala/063de1e77fca5ce91fd02b373909fe6f to your computer and use it in GitHub Desktop.
Save Gozala/063de1e77fca5ce91fd02b373909fe6f to your computer and use it in GitHub Desktop.
stateDiagram-v2
  add: πŸ‘©β€πŸ’» /space/content/add/blob πŸ€–
  add: 🧾 { ok {} }

  allocate: πŸ€– /service/blob/allocate πŸ€–
  allocate: 🧾 { ok { size 123 } }

  wait: πŸ€– /service/blob/receive πŸ€–
  wait: 🧾 { ok {} } 

  verify: πŸ€– /service/blob/verify πŸ€–
  verify: 🧾 { ok { claim } }

  claim: πŸ€– /assert/location πŸ‘©β€πŸ’»

  add --> allocate: ⏭️

  allocate --> wait: 🚦
  add --> wait: ⏭️
  add --> verify: ⏭️
  wait --> verify: 🚦

  verify --> claim: πŸ”—
@Gozala
Copy link
Author

Gozala commented Mar 20, 2024

Iconography

  • Left icon is issuer of the UCAN right icon is the audience of the UCAN
  • πŸ‘©β€πŸ’» Alice
  • πŸ€– Service
  • 🧾 UCAN Receipt
  • ⏭️ Effect / Next task
  • 🚦 Await
  • πŸ”— IPLD Linked UCAN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment