Imported Tron wallets pointed at api.nileex.io, which only serves the /wallet/* JSON-RPC family and 404s all of /v1/. That REST family is where transaction history and the trc20 balance map live, so an imported Nile wallet showed a native balance and nothing else. The built-in Tron adapter was already on nile.trongrid.io, which is why only imports were affected. Switches the imported Nile endpoint to nile.trongrid.io and fills in the two features that were never implemented for imported account- model wallets: - History via /v1/accounts/<addr>/transactions, with the signed delta computed by comparing owner_address against the wallet's own address in 41-hex form (the feed returns hex regardless of visible:true). - TRC20 balances via /v1/accounts/<addr>, joined against token_info harvested from recent trc20 transfers to recover symbol + decimals. Both are best-effort so a chain with no keyless feed can't blank a wallet whose balance fetch succeeded. Contracts with no registry entry render as "Unknown token" with a raw amount rather than a number invented from assumed decimals, and named tokens sort above them so airdrop spam can't bury real holdings. |
||
|---|---|---|
| .. | ||
| lib | ||
| addon.json | ||
| electrum-servers.json | ||
| index.js | ||
| panel.html | ||
| panel.js | ||
| qr.js | ||
| wallet-inject.js | ||