12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- @startuml
- title "Crypto Wallet Process(3)(4)(5)
- boundary User_Page as up
- participant Frontend_Server as fe
- participant Backend_Server as be
- database Prod_database as db
- database Remote_database as udb
- participant Ethereum_Geth as geth
- autonumber
- note over up
- (3) Transfer
- /dangnn-coin-send
- end note
- up->fe: Check Balance and input\n To_addr, amount, gas fee and etc
- fe->be: To_addr, amount, gas fee and etc
- be->db: find From_addr
- db->be: From_accout addr
- note over be: call Geth Transfer
- be->geth: request Transfer
- geth->be: Transaction Hash Value
- be->fe: current accout balance
- fe->up: show account balance
- note over up:
- autonumber
- note over up
- (4) Request Receipt
- /dangnn-receipt-get
- end note
- up->fe: Transfering Page
- fe->be: keep on requesting receipt until\n request is SUCCESSFUL
- note over be: call Geth Request Receipt
- be->geth: request receipt
- geth->be: response receipt
- be->fe: response Receipt
- fe->up: keep on showing 'Transferring'\n Until request is SUCCESSFUL
- note over up:
- autonumber
- note over up
- (5) Receive = get wallet Addr
- /dangnn-walladdr-get
- end note
- up->fe: Receive Page
- fe->be: coin_type_id(Coin Symbol)
- be->be: get member_id from GTB
- be->db: member_id
- db->be: wallet addr
- be->fe: wallet addr
- fe->fe: create QR code image\n with wallet addr
- fe->up: show account addr with QR image
- @enduml
|