Commit Graph
22 Commits
Author SHA1 Message Date
TZGyn f0b567e895 Switch token price lookup from symbol to address for ERC-20 tokens; keep symbol for native 2026-05-25 15:03:41 +08:00
TZGyn 04179805f9 Add Monero transaction details page and chain icons on EVM dashboard 2026-05-24 20:24:07 +08:00
TZGyn 30d8abf26b Add ArrowLeftRight icon for swaps, remove raw response from tx details 2026-05-24 05:15:42 +08:00
TZGyn 6d32c91fb3 Add token-to-native swap detection with NATIVE_SYMBOLS map 2026-05-24 04:57:55 +08:00
TZGyn c87e166468 Add periodic auto-sync with backend push events, remove refresh button 2026-05-22 12:53:18 +08:00
TZGyn ee11723e7d fix 0-balance not updating on chain switch; remove redundant lock button 2026-05-22 12:35:32 +08:00
TZGyn dade59722c hide token transfers with decimal 0 from transaction list 2026-05-22 12:31:59 +08:00
TZGyn edd4f6fff0 fix sync flush looping and batch size, add alchemy call logging 2026-05-21 17:55:29 +08:00
TZGyn 85c25883c6 split balance and tx loading into independent processes 2026-05-21 17:22:09 +08:00
TZGyn d4b989c191 add multi-wallet EVM support with evm_wallets DB table 2026-05-20 20:26:40 +08:00
TZGyn c55a33e9ab split wallet state into evm-wallet and monero-wallet
- Move EVM state/methods to evm-wallet.svelte.ts with its own init/login/logout/accountType
- Move Monero state/methods to monero-wallet.svelte.ts with its own init/login/logout/accountType
- Each wallet is fully self-contained and pages import only their wallet's state
- evm-wallet imports monero-wallet internally for full app init (no circular dep)
- Welcome/settings/tx pages import evmWallet
- Monero pages import moneroWallet
- Delete old wallet.svelte.ts orchestrator
2026-05-20 20:09:45 +08:00
TZGyn 462b96f109 add loader component with loading states to transactions and monero page
- Replace 5133props with runes-compatible () in loader.svelte
- Add SVGAttributes types to loader.svelte
- Add Loader spinner to EVM Transactions card while w.loading
- Add Loader spinners to Monero Start/Refresh buttons and Transactions card
- Remove redundant Monero top bar
2026-05-19 03:32:45 +08:00
TZGyn 9396ffb1e0 add biometric support for monero wallet open/create/restore, add monero settings card, fix monero logout to stop rpc
- Added moneroGetStoredPassword / moneroStorePassword keychain helpers
- moneroCreateWallet and moneroRestoreWallet accept storePw flag to save password to keychain
- moneroOpenExistingWallet accepts optional password (falls back to keychain lookup)
- Monero UI: 'Save password with Touch ID' checkbox hides password field, auto-generates random password, saves to keychain
- Monero UI: 'Open with Touch ID' button uses biometric auth + retrieves stored password
- Monero Settings card: enter wallet password to save with Touch ID for existing wallets
- logout() now async, calls moneroStop() to kill RPC process so re-login requires explicit wallet open
2026-05-18 05:31:41 +08:00
TZGyn 9846e6464d require auth to log in (lock screen), remove auth-on-logout, remove welcome card from multicoin dashboard, relocate login buttons to root welcome page
- login('multi') no longer silently loads seed from keychain — shows locked screen with Touch ID/password
- Removed welcome card from EvmDashboard (multicoin route), root / handles account selection
- Root welcome page buttons call w.login() before navigating to respective routes
- Monero welcome page buttons also call w.login() before navigating
- logout now simply calls w.logout() + navigate('/') with no auth required
- Removed tab-bar logout buttons; logout moved to wallet card alongside refresh/settings/stop
2026-05-18 05:24:08 +08:00
TZGyn 6142b27c49 separate Multi Coins and Monero into distinct account types with startup login choice
- Removed monero from shared networks array; monero is now its own separate account type
- Added accountType state (null/'multi'/'monero') to wallet, stored in memory only
- Added login(type) method: chooses between EVM vault flow and Monero RPC flow
- Added logout() method that resets all per-account state
- On app startup, user picks Multi Coins (ETH/BSC/Polygon) or Monero
- isLocked getter now checks accountType === 'multi' instead of excluding monero by network id
- Moved ETH/BSC/Polygon routes under /multicoin/ base path
- /multicoin, /multicoin/bsc, /multicoin/polygon with updated navTarget routing
- Root / shows welcome/login choice, redirects if already logged in
- Fixed moneroListWallets timing: runs inside login('monero') after RPC manager exists
- Removed cross-tab links between monero and multicoin, only logout remains
2026-05-18 05:13:50 +08:00
TZGyn 9c856129d8 add settings page with reset app: clears keychain secrets and SQLite cache 2026-05-18 04:04:24 +08:00
TZGyn fc81e0889a add password-based unlock as fallback when Touch ID unavailable; PBKDF2 salted hash stored in keychain 2026-05-18 04:00:49 +08:00
TZGyn b130e92294 add Touch ID wallet unlock via Swift biometric helper + Bun spawn 2026-05-18 03:57:00 +08:00
TZGyn d0648d62ef show QR code in popup dialog instead of inline 2026-05-18 03:09:21 +08:00
TZGyn 574dcc1abd add chain logo overlay to center of QR code 2026-05-18 03:07:37 +08:00
TZGyn 77a34c35e5 add QR code display for wallet address in EvmDashboard 2026-05-18 03:05:45 +08:00
TZGyn 135d651622 extract EVM dashboard to shared component, add per-chain routes for bsc/polygon 2026-05-17 18:42:12 +08:00