wallet-core/contrib/articles/ui/figs/contract.pml
Florian Dold b56fedc0ae
cleanup
2020-08-03 13:33:34 +05:30

32 lines
430 B
Promela

@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