wallet-core/articles/ui/figs/contract.pml

32 lines
430 B
Promela
Raw Normal View History

2016-05-14 02:15:32 +02:00
@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