TokelPlatform / tokel_dapp

Tokel's All-In-One application. Featuring a coin wallet, token wallet, tokenDEX, NFT marketplace and a token creation page.
https://tokel.io
MIT License
39 stars 24 forks source link

Create a new widget to show users's TKL address and users token address (pubkey) #268

Closed piggydoughnut closed 2 years ago

piggydoughnut commented 2 years ago

Task

Create a new widget to show users TKL address and users token address (pubkey). This widget will replace the current history widget. The current history widget will move to the empty space where the graph widget was supposed to be.

Information about users address and pubkey is stored in redux-rematch store in model account.

Sample design

Feel free to modify the design below if you think of any improvements.

Clicking on button "Show" will open the same modal as is currently opened on clicking button "Receive" on the Transfer modal. The Modal title should be either: "TKL address" or "Token/NFT address (pubkey)"

AddressWidget

Modal on button Show

The modal is already created, so only need to hook it to a different button. Currently it is hooked to button Receive, we want it to be hooked to the button Show on the new widget. Transfer widget will change as part of another task and the Receive button won't be there anymore.

Click Receive to open Modal

Screenshot 2022-03-25 at 11 42 36 Screenshot 2022-03-25 at 11 42 24
lenilsonjr commented 2 years ago

Closed by @rannyeribaptist on #271