Cw 1551 quick bitcoin wallet sync (#3446)

* add Wallet Accounts page and integrate UI

* account model refactor

* add walletInfoAccount table and API

* add WalletAccountList API

* add multi-account support for Electrum wallets

* add Bitcoin lightning card and card style handling

* refine account filtering and card selection

* update current account balance on wallet changes

* update configure.dar

* Use named parameters for card design

* Add Bitcoin account handling and refactor lookup

* refactor dashboard

* refactor cards UI and account balance handling

* Improve Bitcoin account selection and balances

* restrict unspent coin usage to current account

* filter transactions by current Bitcoin account

* refactor electrum wallet

* refactor address generation

* add accountIndex to address fetch logic

* Update configure.dart

* reload transactions on Bitcoin account change

* restore multiple BTC accounts and improve fetch

* show account balance with in btc

* track account index in Bitcoin transactions

* discover btc BIP39 accounts during restore

* fix account switching and card ordering bugs

* fix card customizer

* limit account name length in modal

* update BTC account list balance display

* auto-reformat

* formating fix

* skip HD map validation

* fix 0 balance issue

* minor fix

* quick bitcoin wallet sync

* restore shuffle change output

* restore address lookup fix

* Update electrum.dart

* remove account customizer

* Merge branch 'CW-1142-Add-accounts-feature-to-BTC' into CW-1551-Quick-Bitcoin-Wallet-Sync

* probe only segwit in account discovery

* add account discovery limit and tracking

* Improve Electrum sync account handling [skip ci]

* remove legacy monero account and address list UI

* rework BTC account balance refres

* avoid unnecessary BTC account reloads

* refactor account header in addresses page

* fix blank popup when editing an account

* fix: dedupe UTXO balance

* minor fix

* add Bitcoin current account API

* Apply batched suggestions from code review [skip ci]

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* address PR review comments [skip ci]

* remove account customizer and fix accounts init

* restrict extra BTC accounts to SegWit

* add BTC multi-account toggle

* Fix BTC sync gating and account balance update

* minor fix

* Update electrum_wallet.dart

* store selected account on WalletInfo

* Refine wallet account reset visibility

* refactor BTC address prep and move accounts page

* refactor account stack and customizer routing

* migrate legacy Lightning card styles

* unify dashboard account change state

* fix account routing and Electrum balances

* fix account setup and wallet cards UI

* disable Bitcoin Accounts for all hardware

* merge conflicts fix

* minor fixes

* update cards_view [skip ci]

* reverted cards view update [skip ci]

* fix asset name

* moved the transaction filtering into the electrum wallet

* localization

* disable accounts for watch-only wallets

* fix: stop card render from switching the wallet account

* fix: restore Lightning transactions in tx history

* minor fix

* fix: skip duplicate legacy address generation [skip ci]

* fix: correct account balance/design mismatch bugs

* addressing review comments

---------

Co-authored-by: Robert Malikowski <malikowskirobert@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
Serhii
2026-10-03 00:44:57 +02:00
committed by GitHub
co-authored by Omar Hatem Robert Malikowski
parent 0503d54290
commit d7ebf42814
84 changed files with 3991 additions and 2186 deletions
+2 -4
View File
@@ -238,8 +238,6 @@
"color_theme": "색상 테마",
"coming_soon_tag": "출시 예정",
"commit_transaction_amount_fee": "트랜잭션 제출\n금액: ${amount}\n수수료: ${fee}",
"compatible_services": "호환 서비스",
"compatible_services_desc": "스캔 도구를 사용하여 Cake Wallet에서 지원하는 다음 유형의 QR 코드를 읽으세요:",
"compatible_networks": "호환 가능한 네트워크",
"compatible_services": "호환 서비스",
"compatible_services_desc": "스캔 도구를 사용하여 Cake Wallet에서 지원하는 다음 유형의 QR 코드를 읽으세요:",
@@ -699,6 +697,7 @@
"moralis_nft_error": "NFT를 가져오는 중 오류가 발생했습니다. 인터넷 연결을 확인한 후 다시 시도해 주세요.",
"more_details": "자세히 보기",
"more_options": "추가 옵션",
"multiple_accounts": "여러 계정",
"multiple_addresses_detected": "여러 주소가 감지되었습니다",
"mweb_ad": "코인에 추가적인 익명성을 더해주는 Litecoin의 프라이버시 레이어인 MWEB를 활성화하세요",
"mweb_confirmed": "확인된 MWEB",
@@ -713,7 +712,6 @@
"nanogpt_subtitle": "최신 모델 모두(GPT-5.3, Claude 4.6).\n구독 없이 암호화폐로 결제.",
"narrow": "좁게",
"network": "네트워크",
"networks": "네트워크",
"network_address_detected": "${network} 주소가 감지되었습니다",
"network_prefix_on": "~에",
"network_switch_failed": "요청한 네트워크로 전환하지 못했습니다. 결제가 적용되지 않았습니다. 다시 시도해 주세요.",
@@ -1581,4 +1579,4 @@
"zcash_network_upgrade_desc_1": "Zcash는 자금을 사용하기 전에 자금을 이전해야 하는 Ironwood라는 네트워크 업그레이드를 거쳤습니다. 이 마이그레이션은 자동으로 이루어지며 개인 정보가 보호되며 Zcash 지갑을 열자마자 시작됩니다.",
"zcash_network_upgrade_desc_2": "마이그레이션이 완료되면 사용 가능한 잔액이 정상으로 돌아가고 평소처럼 Zcash를 계속 보내고 받을 수 있습니다.",
"zcash_network_upgrade_desc_3": "Zcash 지갑 동기화가 완료될 때까지 기다린 후 마이그레이션이 완료될 때까지 앱을 열어두세요. 마이그레이션은 잔액에 따라 몇 분 정도 걸릴 수 있습니다."
}
}