Skip to content

Flag account-based chains with hasStableAddresses - #1076

Draft
j0ntz wants to merge 1 commit into
masterfrom
jon/wallet-cache-v2
Draft

Flag account-based chains with hasStableAddresses#1076
j0ntz wants to merge 1 commit into
masterfrom
jon/wallet-cache-v2

Conversation

@j0ntz

@j0ntz j0ntz commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Sets hasStableAddresses: true on every account-based currency plugin. These chains derive their receive address once from the key and never rotate it, so a previously shown address stays valid and reuse-safe.

This lets edge-core-js serve a wallet's cached receive address before the engine loads, and lets the edge-react-gui receive scene reconcile it, giving these chains an instant receive screen on a warm login (Login Perf - Wallet Cache, phase 6).

Scope

hasStableAddresses: true added to 63 currencyInfo literals across: all EVM chains, Solana, XRP, Stellar, Tezos, Tron, Algorand, Hedera, EOS/Telos/WAX, FIO, all Cosmos chains, Cardano, all Polkadot chains, Ton, Sui, Filecoin, Binance, Zcash, and Piratechain. Monero and Zano (privacy chains) are included: their primary address is static and reuse-safe by CryptoNote stealth-address design. Reviewer confirmation on the Monero/Zano inclusion is welcome.

Dependency

Depends on edge-core-js adding the optional EdgeCurrencyInfo.hasStableAddresses field (EdgeApp/edge-core-js#733). This PR is a draft and will fail tsc until that dependency publishes and is bumped here.

Asana: https://app.asana.com/0/1215088146871429/1216673467164267

Every plugin here derives its receive address once from the key and
never rotates it, so a previously shown address stays valid and
reuse-safe. Setting hasStableAddresses on each currencyInfo lets the
core serve the cached address before the engine loads and lets the
receive scene reconcile it, giving these chains an instant receive
screen on a warm login. Needs the edge-core-js version that defines
the field.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant