saito-lite-rust
saito-lite-rust copied to clipboard
Fetch user crypto address by publickey
Adding these feature too:
-
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
-
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
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"
Fixes and suggestions done and changes pushed to branch: crypto/fetch-user-data