Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account balances #43

Open
sohrab- opened this issue Aug 18, 2022 · 0 comments
Open

Account balances #43

sohrab- opened this issue Aug 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sohrab-
Copy link
Member

sohrab- commented Aug 18, 2022

SOL balances and token account balances should appear below an account (as part of the tags).

It would be great if token icons are dynamically downloaded (and memoised) and shown on screen. For now, we can have the details of the top 100 tokens hardcoded for this. Later to move to API.

Somethings to note:

  • Amounts should update if there has been an airdrop or a network change
  • Since the balances are affected by other external actors, we would need a refresh button on the balances as well.
  • Need to be conscious of how chatty this is when there are a few accounts in the transaction, especially given that most public RPC endpoints are rate-limited
    • There could be a update cascade in some scenarios, such as changing the network
    • Should this be an option so users can turn off seeing the balances?
    • RPC endpoints allow batch requests. Does @solana/web3.js?
@sohrab- sohrab- added the enhancement New feature or request label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant