theseus/bundled-addons/aegis/lib
Local Dev 74224cd7dd fix(aegis): 0.15.0 — ask Electrum for protocol 1.5, which is where the tokens were
Aegis negotiated a flat protocol "1.4". Measured against Fulcrum 2.1.0 on
chipnet, for a wallet holding CashTokens:

  asked "1.4"            -> negotiated 1.4    ->  39 utxos,  0 with token_data
  asked ["1.4","1.5.3"]  -> negotiated 1.5.3  -> 130 utxos, 91 with token_data

So 1.4 did not merely omit the `token_data` field — Fulcrum left the
token-bearing outputs out of listunspent altogether. Ninety-one UTXOs were
invisible to the wallet, along with the BCH sitting in them. That is a
balance-correctness bug, not only a missing Assets card, and it applied to
the HD path too, since lib/wallet.js reads the same listunspent.

Now a [min, max] range: a modern server picks 1.5.3, an older one still
settles on 1.4, so nothing that worked before stops working. The negotiated
version is recorded on the client for diagnosis.

Second half: the imported BCH adapter had no CashToken code at all — it never
set tokenBalances and snapshot() never exposed it, so the panel's Assets card
was hidden for every WIF import however many tokens the address held. A
chipnet test wallet with 46 categories showed nothing. It now aggregates from
the server's own token_data, which costs one call for the whole set rather
than the per-UTXO transaction fetch the HD path uses, and emits the same
serialised shape the panel already reads. Verified against that wallet: 130
UTXOs, 46 categories, 17 fungible, 32 with NFTs, JSON-clean.

Found because the user said their asset "uses a different asset category" and
suggested checking with the explorer. It is ordinary CashTokens; the wallet
simply could not see them. My earlier conclusion that the empty Assets card
was correct came from probing a single address that genuinely holds no tokens
and generalising from it.
2026-09-28 22:52:15 +02:00
..
dgb Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
sia chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
base58check.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
bcmr.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
cashaddr.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
cashtokens.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
chain-bch-imported.js fix(aegis): 0.15.0 — ask Electrum for protocol 1.5, which is where the tokens were 2026-09-28 22:52:15 +02:00
chain-bch.js feat(aegis): 0.13.1 — chipnet explorer links point at ours; explorer gains a tx view 2026-09-28 00:12:42 +02:00
chain-btc.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
chain-dgb.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
chain-eth.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
chain-generic-imported.js chore(aegis): 0.9.2 — Receive tab reorder, one balance, token history 2026-09-23 01:17:33 +02:00
chain-sia.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
chain-sol.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
chain-tron.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
chain-utxo-imported.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
eip712.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
electrum.js fix(aegis): 0.15.0 — ask Electrum for protocol 1.5, which is where the tokens were 2026-09-28 22:52:15 +02:00
import-derive.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
jsqr.js feat(aegis): 0.13.0 — read a seed phrase from a QR image 2026-09-28 00:05:04 +02:00
jsqr.LICENSE feat(aegis): 0.13.0 — read a seed phrase from a QR image 2026-09-28 00:05:04 +02:00
keys.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
prices.js chore(aegis): 0.8.5 — Coin-Spectrum price parser reads body.asset.price_usd 2026-09-22 21:31:43 +02:00
sol-spl.js Ship Theseus 0.3.28 5d15508b (Aegis update card + DevTools in tab sidebar + real favicons) 2026-09-08 18:17:25 +02:00
tx.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
wallet.js chore(aegis): 0.8.2 — sectioned Settings tab 2026-09-22 20:37:28 +02:00
wc-sign.js fix(aegis): 0.9.5 — WizardConnect signing actually works 2026-09-23 03:23:41 +02:00
wc.js fix(aegis): 0.9.5 — WizardConnect signing actually works 2026-09-23 03:23:41 +02:00