The wormhole tab now shows its spendable balance and, in plain words, every
way that number could be short:
- deposits the chain counts that the observer hasn't indexed yet, with the
block it has read from ("at least" is shown when that happens);
- deposits whose nullifier this wallet hasn't computed yet, with an Unlock to
check link. It asks for the wallet password, computes their nullifiers,
stores them with the wallet, and refreshes;
- the amount already exited, when the check ran, and a Refresh link.
Settings gain "Look up wormhole deposits with": blackbeard.observer by
default, off, or an observer of your own, committed on Enter or blur as the
balance endpoint is.
An answer is cached for the page's lifetime so switching tabs doesn't start
another multi-second check. The cache is keyed by node and observer as well as
wallet and account, so an answer read from mainnet is never shown as
Heisenberg's.
A check now fails in 15 s with "No answer from <node>" when the node is
unreachable, and in 2 min at most overall. Before, WsProvider retried forever
and the tab said "Checking…" indefinitely.
Verified in Firefox against the built extension:
- importing the chain node's test phrase stores its nullifiers (219 KB), and
the wormhole tab answers "0 QTC spendable, No deposits yet" in about a
second on mainnet;
- turning lookups off shows that they are off;
- an unreachable node shows the error after 15 s;
- forgetting the wallet leaves extension storage empty: the wallet record,
both signing pairs, and the nullifiers are all gone.
Part of quantus/extension#14.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f