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

Balance isn't automatically update when receiving token #706

Closed
kyrtill6b opened this issue Apr 1, 2024 · 5 comments
Closed

Balance isn't automatically update when receiving token #706

kyrtill6b opened this issue Apr 1, 2024 · 5 comments
Labels
App: Namadillo discussion maybe We will maybe do it later :) PoC Demo / experiment

Comments

@kyrtill6b
Copy link

Issue:

  • When another account transfer token, the application namada-interface is not update automatically update the balances. Only reload the page manually to reload balance
@emccorson
Copy link
Collaborator

Just to clarify, the problem is that when an account receives tokens from a transfer, the interface does not update? If that's the case, that is not currently supported by the interface.

I'm not sure whether we will choose to support this feature. We would need to investigate the technical difficulty of having something like that. I will mark this as PoC/maybe for now.

@kyrtill6b
Copy link
Author

Hi @emccorson, thank you for your quick response. Yes the issue is that when an account receives tokens from a transfer, the interface does not update. In my opinion, the application should have this feature like another wallet (For example: Metamask, Kelpr,...). This feature helps enhance user experience when they use the application.

@pnam1609
Copy link

pnam1609 commented Apr 5, 2024

In my view, this feature is indispensable for the functionality of this application.
I looked at 707 and this solution works as described. It's worth noting that it used the Cosmos SDK library to implement this, which will trigger query balancing when a new block change occurs. I wonder if there is any library that supports only catching the event when receiving the token instead of catching all changes of the event block. It makes for better performance. However, 707 still is a good contribution.

@jurevans jurevans added this to the PoS, Governance milestone Apr 30, 2024
@pedrorezende
Copy link
Contributor

@pnam1609 thanks for the contribution! Just a quick update: we're going to revisit this PR on phase 3. You can check the suggested phases for Namada here

@jurevans
Copy link
Collaborator

@kyrtill6b hello! We are closing this issue for now, as we are building support for this in our indexer in anoma/namada-indexer#123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App: Namadillo discussion maybe We will maybe do it later :) PoC Demo / experiment
Projects
None yet
Development

No branches or pull requests

6 participants