saito-lite-rust icon indicating copy to clipboard operation
saito-lite-rust copied to clipboard

Fetch user crypto address by publickey

Open umairkhannn opened this issue 11 months ago • 3 comments

umairkhannn avatar Mar 04 '24 05:03 umairkhannn

Adding these feature too:

  1. for better performance, we should cache this info in our local keychain (if and only if we have the user in our keychain), and look for that info before sending a request to the node to check the database

  2. for practical use, let's integrate it into the withdrawal overlay so that if I go through the user menu, send SAITO, I want it to (a) give a list of cryptos you use, and (b) automatically plug in your receiving addresses when I select different cryptos to send you

umairkhannn avatar Mar 05 '24 04:03 umairkhannn

Some changes suggested by dan:

  • make crypto_addresses as object instead of array
  • keep ticker instead of asset_id in object
  • disable amount input if available balance is less than fee

And fix:

  • showing 'undefined' when changing to 'trx' from dropdown in withdraw overlay of "send saito"

umairkhannn avatar Mar 06 '24 06:03 umairkhannn

Fixes and suggestions done and changes pushed to branch: crypto/fetch-user-data

umairkhannn avatar Mar 07 '24 04:03 umairkhannn