From 19e2c2430d971ecc3e3d673a4273e9d1048e6000 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 14 May 2016 02:15:32 +0200 Subject: diagrams --- articles/ui/figs/contract.pml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 articles/ui/figs/contract.pml (limited to 'articles/ui/figs/contract.pml') diff --git a/articles/ui/figs/contract.pml b/articles/ui/figs/contract.pml new file mode 100644 index 000000000..74bf23dd6 --- /dev/null +++ b/articles/ui/figs/contract.pml @@ -0,0 +1,31 @@ + +@startuml + +hide footbox + +box "User" + Participant "Wallet" as W + Participant "Browser" as U +end box + +box "Merchant" + Participant "Storefront" as S + Participant "Backend" as B +end box + +autonumber + +S -> B : proposed contract +B -> S : signed contract + +S -> U : custom (HTTP(S)) + +U -> W : signed contract +W -> U : signed coins + +U -> S : custom (HTTP(S)) + +S -> B : signed coins (HTTP(S)) +B -> S : confirmation (HTTP(S)) + +@enduml -- cgit v1.2.3