diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-03 13:32:20 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-03 13:33:34 +0530 |
commit | b56fedc0aefefb86fa8fe82135e219f4e2fddb6c (patch) | |
tree | ee237487128c09afff5fe7fa459e8d194b084ce2 /articles/ui/figs/bitcoin.pml | |
parent | 16bf55622a2813a98e53e3a7311d201f1a46d71a (diff) |
cleanup
Diffstat (limited to 'articles/ui/figs/bitcoin.pml')
-rw-r--r-- | articles/ui/figs/bitcoin.pml | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/articles/ui/figs/bitcoin.pml b/articles/ui/figs/bitcoin.pml deleted file mode 100644 index 88707cda1..000000000 --- a/articles/ui/figs/bitcoin.pml +++ /dev/null @@ -1,37 +0,0 @@ -# FROM: https://github.com/w3c/webpayments/tree/gh-pages/PaymentFlows - -@startuml -!includeurl https://raw.githubusercontent.com/w3c/webpayments/gh-pages/PaymentFlows/skin.ipml - -Database "Invoice Database" as DB -Participant "Payee Website" as Website -Database "Bitcoin Network" as Bitcoin -Participant "Payer Wallet" as Wallet -Actor "Payer (Browser)" as Payer - -title Bitcoin Payment Protocol (BIP70) - -Payer->Website: Request checkout with Bitcoin -Website->Website: Generate Bitcoin address -Website->DB: Store invoice details -Website->Payer: Basket Page with bitcoin: pay link -Payer->Payer: Click bitcoin: link -Payer->Wallet: Wallet handles bitcoin: URL and extracts invoice URL -Wallet->Website: Request invoice -Website->DB: Get invoice details -Website->Website: Create PaymentDetails (Amount, Memo, Ref#, Pay URL) -Website->Website: Create PaymentRequest (Signed PaymentDetails) -Website->Wallet: PaymentRequest containing PaymentDetails -Wallet->Payer: Confirm payment details? -Payer->Wallet: Accept payment -Wallet->Wallet: Generate and sign payment -Wallet->Website: Signed payment -Website->Bitcoin: Submit payment -Website->Wallet: Payment ACK -Wallet->Payer: Confirm payment is complete -loop until payment is confirmed - Bitcoin->Website: Latest confirmed transactions -end - - -@enduml
\ No newline at end of file |