Commit Graph
36 Commits
Author SHA1 Message Date
TZGyn 2cbf3bb33b extract monero wallet dashboard into dedicated /monero/wallet/[name] route 2026-05-27 13:19:23 +08:00
TZGyn 2139d5e6ff create accounts/subaddresses, chunked address style, fix canSend for subaddresses 2026-05-26 13:33:28 +08:00
TZGyn 34602a4bfa add sweepAll for Monero send-all; add copy buttons for accounts/subaddresses 2026-05-26 13:09:18 +08:00
TZGyn 2993df29cb fix: add missing walletGetAddress import and update MoneroWalletManager -> MoneroWalletState type 2026-05-26 03:17:10 +08:00
TZGyn 6fe9e6306b refactor MoneroWalletManager class to function module; fix settings page imports 2026-05-26 03:08:58 +08:00
TZGyn b1d14e1d8b Add per-account transaction filtering and QR codes for Monero 2026-05-24 19:58:52 +08:00
TZGyn cc32fdb20f Add Monero send page with transfer RPC and account selection 2026-05-24 19:43:32 +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 dd57a72e11 fix biometric, tx dedup, loading crash; add flush cache; remove monero startup from evm init
- biometric-helper: use .deviceOwnerAuthentication so passcode can
  unlock Touch ID when biometrics are locked out
- get-transaction-history: dedup transfers by hash+category+contract
  instead of hash alone (was dropping token transfers sharing a tx hash)
- evm-wallet.svelte.ts: add missing loading  declaration (caused
  ReferenceError on createWallet); add flushTxCache method; comment out
  monero startup from evm init to speed up loading
- get-history.ts: remove dead caching logic (now handled by sync engine);
  import getTransactionHistory from alchemy directly
- backend RPC + settings UI: add flushTxCache to clear tx cache tables
2026-05-22 03:03:03 +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 8f3495ab40 read tx history from db cache instead of alchemy api 2026-05-21 17:18:45 +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 49f064f8b1 migrate from ethers to viem
- Replace HDNodeWallet.fromPhrase with mnemonicToAccount from viem/accounts
- Replace JsonRpcProvider.getBalance with viem createPublicClient + getBalance
- Replace formatEther with viem's formatEther (same API)
- Remove ethers dependency from package.json
- Update README
2026-05-20 14:31:10 +08:00
TZGyn 8917d6e9e3 auto-start monero-wallet-rpc on app startup when binary is installed
Reduces wait time when switching to Monero tab — RPC is already
running by the time user navigates there.
2026-05-18 05:32:28 +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 7eddbc252e always start wallet in locked state, require explicit unlock 2026-05-18 03:57:50 +08:00
TZGyn b130e92294 add Touch ID wallet unlock via Swift biometric helper + Bun spawn 2026-05-18 03:57:00 +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
TZGyn b4497e7952 move monero dashboard to separate route, export singleton wallet state 2026-05-17 11:50:32 +08:00
TZGyn 880199f096 auto-detect existing wallets, show selectable list on startup 2026-05-17 10:51:22 +08:00
TZGyn e6ed6445ad auto start monero when switching to monero tab 2026-05-17 10:46:58 +08:00
TZGyn 1555144400 add monero accounts/addresses, fix rpc auth, fix binary extraction 2026-05-17 10:44:36 +08:00
TZGyn 90a3086d52 move transaction history to alchemy lib 2026-05-14 01:50:53 +08:00
TZGyn d2c2a46e54 filter out tokens without logo on tokens list 2026-05-11 16:31:48 +08:00
TZGyn 45402098b8 add token icon 2026-05-11 14:44:26 +08:00
TZGyn 5d15f1a91f merge transaction action like swap 2026-05-11 12:20:21 +08:00
TZGyn 0074d6fb4e add native token + internal transfers 2026-05-11 11:27:24 +08:00
TZGyn 9fca18cf95 add etherscan to add transaction history 2026-05-10 20:32:12 +08:00
TZGyn 7eecbd2206 add desktop and read bnb balance from user seed 2026-05-10 10:19:55 +08:00