Commit Graph
43 Commits
Author SHA1 Message Date
TZGyn edb4f6b1f3 save monero wallet scan progress 2026-08-02 13:15:41 +08:00
TZGyn 50a7771d97 keychain vault + secrets cache + env separated keychains 2026-08-02 11:38:19 +08:00
TZGyn 0d3acef182 remove evm + add xrp 2026-08-01 00:58:22 +08:00
TZGyn f46e61ed5e fix blank page, icons, add logging and EVM balance chart
- Fix blank page: set viewsRoot, base:'', history.replaceState in index.html
- Fix chain icons: add dist/icons→views/mainview/icons copy rule
- Add file-based logger (src/bun/lib/logger.ts) with logToFile RPC
- Add frontend error overlay + global error listeners in index.svelte
- Add EVM balance chart with time range filters (EvmDashboard.svelte)
- Replace console.log with file logger throughout backend
- Improve get-env.ts to read version.json for channel detection
2026-06-27 16:59:15 +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 b5f4a80f5c Refactor: split RPC handlers into rpc/evm and rpc/monero; split RPC types into GeneralRpcRequests, EvmRpcRequests, MoneroRpcRequests 2026-05-25 23:46:36 +08:00
TZGyn 3925f3a4aa Add Monero fee estimates per priority level via daemon RPC 2026-05-25 22:37:54 +08:00
TZGyn bdd841b632 Add gas price display (Gwei, native, USD) under native balance per network 2026-05-25 21:57:44 +08:00
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 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 13a9d3a8a6 Fix swap detection: include internal category as native transfers 2026-05-24 05:00:47 +08:00
TZGyn 6d32c91fb3 Add token-to-native swap detection with NATIVE_SYMBOLS map 2026-05-24 04:57:55 +08:00
TZGyn 8a0e5e431f Add swap detection to transaction details page 2026-05-24 04:53:56 +08:00
TZGyn 10a8d525a3 Extract swap pairing into shared pairTransfers, apply to cached tx history 2026-05-24 04:51:00 +08:00
TZGyn a3e609ea8f Extract shared RPC types into src/lib/rpc-schema.ts, remove duplicate type declarations 2026-05-22 12:58:04 +08:00
TZGyn c87e166468 Add periodic auto-sync with backend push events, remove refresh button 2026-05-22 12:53:18 +08:00
TZGyn 357f707180 move tx detail caching into sync engine, cache during history sync
- new sync-tx-details.ts: extracts tx+receipt caching from get-details.ts
- sync-tx-history: calls syncTxDetails per transfer hash during sync
- get-details: remove on-the-fly viem fetch + DB write (now handled
  by sync); returns null placeholder
- index: import syncTxDetails; simplify getTransactionDetails handler
2026-05-22 10:18:33 +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 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 9c856129d8 add settings page with reset app: clears keychain secrets and SQLite cache 2026-05-18 04:04:24 +08:00
TZGyn b130e92294 add Touch ID wallet unlock via Swift biometric helper + Bun spawn 2026-05-18 03:57:00 +08:00
TZGyn 9e76bd54ce split data access into API-only (alchemy/viem) and DB-first wrappers (tokens/transactions)
alchemy/get-token-metadata: stripped DB logic, now pure API call
viem/get-transaction-details: stripped DB logic, now pure viem call
tokens/get-metadata: new DB-first wrapper for token metadata
transactions/get-details: new DB-first wrapper for tx details
transactions/get-history: stores individual Alchemy transfers in tx_history
  table with blockNum, from, to columns for searchable ordering
2026-05-18 03:03:34 +08:00
TZGyn 880199f096 auto-detect existing wallets, show selectable list on startup 2026-05-17 10:51:22 +08:00
TZGyn 23b7447b92 fix walletOpen status always returning true 2026-05-17 10:48:35 +08:00
TZGyn 1555144400 add monero accounts/addresses, fix rpc auth, fix binary extraction 2026-05-17 10:44:36 +08:00
TZGyn 6b7a773845 cache transaction and receipt data in sqlite 2026-05-16 21:09:22 +08:00
TZGyn 21793eeb05 fix bsc not working 2026-05-16 14:44:09 +08:00
TZGyn f5ddc8df1b add transaction view page 2026-05-16 14:21:49 +08:00
TZGyn cae5d4023f add sqlite to cache token metadata 2026-05-14 20:49:54 +08:00
TZGyn 92156f572d remove unnecessary console logs 2026-05-14 01:51:44 +08:00
TZGyn 90a3086d52 move transaction history to alchemy lib 2026-05-14 01:50:53 +08:00
TZGyn f47491ad86 add utils package + move get tokens to lib folder 2026-05-11 23:16:26 +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