Expected functionality:
Using the styles that WalletSelector component already has, implement a widget similar to this one:
...that:
a) gets the wallet name and its balance
b) requests to signin with a redirection to the NEAR wallet if the wallet is not connected
c) the user can signout or disconnect the wallet
Refer to NFME
WalletSelector
component and implement it for NEAR: https://github.com/aufacicenta/bancosatoshi/blob/513ee2e9dc9b5181c10051d1bc332f7efce50078/src/ui/wallet-selector/WalletSelector.tsxRefer to the NEAR examples to implement the new
useWalletSelectorContext
: https://github.com/near-examples/rust-status-message/blob/master/frontend/App.js#L47-L57Expected functionality: Using the styles that
WalletSelector
component already has, implement a widget similar to this one:...that: a) gets the wallet name and its balance b) requests to signin with a redirection to the NEAR wallet if the wallet is not connected c) the user can signout or disconnect the wallet
NOTE
Clone the repo from https://github.com/aufacicenta/near.holdings-web which holds the latest code of our template