summaryrefslogtreecommitdiff
path: root/contrib/articles/ui/figs/contract.pml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/articles/ui/figs/contract.pml')
-rw-r--r--contrib/articles/ui/figs/contract.pml31
1 files changed, 31 insertions, 0 deletions
diff --git a/contrib/articles/ui/figs/contract.pml b/contrib/articles/ui/figs/contract.pml
new file mode 100644
index 000000000..74bf23dd6
--- /dev/null
+++ b/contrib/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