desktop-wallet icon indicating copy to clipboard operation
desktop-wallet copied to clipboard

Refresh rate for incoming transactions is too slow

Open VladdyC opened this issue 1 year ago • 1 comments

Describe the bug Got onboarded with the desktop wallet, and when I received my first transaction I realized that the balance doesn't show up (though the explorer confirmed it). 11 minutes later, the balance displayed in my wallet was still 0. So I hit the "refresh data" button to fix this.

TLDR: the automatic refresh rate is too slow and might scare some newbie users who won't understand why the transaction doesn't show up in their wallet.

To Reproduce Steps to reproduce the behavior:

  1. Send someone your address from the Alephium desktop wallet.
  2. Wait for the transaction to get broadcast and mined into a block.
  3. Look at your Alephium desktop wallet, but don't refresh.
  4. Check block explorer and double check your address to be sure you haven't made any mistake. Then hit "Refresh Data".

Expected behavior The wallet should refresh automatically every minute or so. This is a reasonable time frame to make sure that newbie users won't start reporting issues with their wallet.

Environment

  • OS: MacOS 14.1.2
  • Alephium 2.2.0

VladdyC avatar Jan 18 '24 11:01 VladdyC

Thanks for the issue @VladdyC! Great feedback! Indeed, the wallet does not automatically poll for incoming transactions (yet). It only refreshes (every 5 seconds) when the user sends transactions. We have an issue for this here: https://github.com/alephium/alephium-frontend/issues/74. It is planned for the 2.3.0 release!

PS: This repo is deprecated, in the future feel free to refer to our new monorepo: https://github.com/alephium/alephium-frontend

nop33 avatar Jan 18 '24 14:01 nop33