Blockchain-wallet-3-4-5.uml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @startuml
  2. title "Crypto Wallet Process(3)(4)(5)
  3. boundary User_Page as up
  4. participant Frontend_Server as fe
  5. participant Backend_Server as be
  6. database Prod_database as db
  7. database Remote_database as udb
  8. participant Ethereum_Geth as geth
  9. autonumber
  10. note over up
  11. (3) Transfer
  12. /dangnn-coin-send
  13. end note
  14. up->fe: Check Balance and input\n To_addr, amount, gas fee and etc
  15. fe->be: To_addr, amount, gas fee and etc
  16. be->db: find From_addr
  17. db->be: From_accout addr
  18. note over be: call Geth Transfer
  19. be->geth: request Transfer
  20. geth->be: Transaction Hash Value
  21. be->fe: current accout balance
  22. fe->up: show account balance
  23. note over up:
  24. autonumber
  25. note over up
  26. (4) Request Receipt
  27. /dangnn-receipt-get
  28. end note
  29. up->fe: Transfering Page
  30. fe->be: keep on requesting receipt until\n request is SUCCESSFUL
  31. note over be: call Geth Request Receipt
  32. be->geth: request receipt
  33. geth->be: response receipt
  34. be->fe: response Receipt
  35. fe->up: keep on showing 'Transferring'\n Until request is SUCCESSFUL
  36. note over up:
  37. autonumber
  38. note over up
  39. (5) Receive = get wallet Addr
  40. /dangnn-walladdr-get
  41. end note
  42. up->fe: Receive Page
  43. fe->be: coin_type_id(Coin Symbol)
  44. be->be: get member_id from GTB
  45. be->db: member_id
  46. db->be: wallet addr
  47. be->fe: wallet addr
  48. fe->fe: create QR code image\n with wallet addr
  49. fe->up: show account addr with QR image
  50. @enduml