Commit graph

2722 commits

Author SHA1 Message Date
David Adegoke
4e2e5e708c
CW-580: BIP39 Wallets Shared Seed Implementation: "One Seed - Multiple Wallets" (#1307)
* feat: Implement creating new BIP39 wallet with same seed used for other owned BIP39 wallets

* feat: Use same seed for BIP39 Wallets

* Update pre_existing_seeds_page.dart

* Feat: BIP39 Same seed wallet creation using the Common Parent Wallet Strategy

* feat: Finalize implementing preexisting seeds

* feat: Implement shared bip39 wallet seed for Bitcoin wallet type

* feat: Implement shared bip39 wallet seed for Litecoin wallet type

* feat: Implement shared bip39 wallet seed for BitcoinCash wallet type

* feat: Implement shared bip39 wallet seed for Nano wallet type, although disabled entry for now

* fix: Remove non bip39 seed wallet type from listing

* feat: Implement grouped and single wallets lists in wallets listing page and implement editing and saving group names

* fix: Issue where the ontap always references the leadwallet, also make shared seed wallets section header only display when the multi wallet groups list is not empty

* fix: Add translation and adjust the way the groups display

* feat: Activate bip39 as an option for creating Nano wallet types

* fix: Handle edgecase with creating new wallet with group address, handle case where only bip39 derivation type is allowed with child wallets, activate nano wallet type for shared seed

* chore: Modify the UI to fit adjustment made on figma

* fix: Disposed box triggering error in hive and causing wallet list view to display error

* fix: Switch wallet groups title in wallets list page and also fix issue with renaming groups

* Update lib/reactions/bip39_wallet_utils.dart [skip ci]

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

* Update lib/router.dart [skip ci]

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

* fix: Review fixes: Combine New Wallet Page Type arguments into a single model

* fix: Review fixes: Add failure guard when fetching mnemonic for selected wallet in pre-existing wallets page

* fix: Review fixes - Add loading indicator when mnemonic is being selected for wallet

* fix: Review fixes - Modify variable name to avoid clashes

* fix: Review fixes - Access WalletManager through dependency injection instead of service location

* fix: Review fixes - Add testnet to convertWalletInfoToWalletlistItem function, and adjust according where used

* fix: Review fixes - Add walletPassword to nano, tron and wownero wallets and confirm it is properly handled as it should be

* fix: Remove leadWallet, modify filtering flow to reflect this and not depend on leadWallet, and adjust privacy settings

* fix: Review Fixes - Modify restore flow to reflect current nature of bip39 as default for majority of wallet types

* fix: QA Fixes - Modify preexisting page to display wallet group names if set, and display them in incremental order if not set

* fix: Add wallet group description page and rename pre-existingseeds page to wallet group display page

* fix: Product Fix - Rename pre-existing seeds file name to wallet group display filename

* fix: Product fix - Separate multiwallets groups from single wallets and display separately

* fix - Product Fix - Add empty state for wallet group listing when creating a new wallet, adjust CTAs across buttons relating to the flow also

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-09-20 21:25:08 +03:00
Rafael
3a391f10a3
Sp enhancements (#1672)
* fix: enhance regex, fix multiline

* feat: improve scan msg, fix missing txs, use date api

* feat: node fixes, enhance send modal, TX list tag & filter, refactors

* fix: continuous scanning

* fix: missing close

* fix: resubscribe tweaks

* feat: use mempool api setting toggle

* handle any failure of height API and fallback to the old method [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-09-20 17:24:25 +03:00
Matthew Fosse
b6bc3df622
Fix list UI having double width on some parts (#1687)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* save

* fix

* re-add support button

* update
2024-09-18 19:22:36 +03:00
Serhii
c6a4c69084
CW-719 Transaction dates shows incorrectly (#1685)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* ignore 0 height

* fix date format
2024-09-18 01:50:31 +03:00
cyan
417de3669c
do not restore deterministic wallet if it's not one (#1676)
* do not restore deterministic wallet if it's not one

* [skip ci] update comment
2024-09-15 18:48:07 +03:00
David Adegoke
7bf2fb9dce
feat: Add warning before adding erc20 token via contract address (#1663)
* feat: Add warning before adding erc20 token via contract address

* fix: Update message on edit token page

* fix: Adjust polygon secrets variable name

* fix: Handle loading state, translate strings and fix other issues

* fix linux build [skip ci]

* fix: Modify warning text for contract address scam alert

* Update secret_key.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-09-12 00:19:47 +03:00
Rafael
0e106834bc
bump dep (#1679)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-09-11 18:54:13 +03:00
Leo Pham
e2bfb32f2c
Add Vietnamese Language (#1674)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* Create strings_vi.arb

Add vietnamese language

* Update language_service.dart

Add vietnamese language

* Update language_service.dart

* Update translation_constants.dart

add vietnamese

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-09-11 07:50:41 +03:00
Serhii
7d11d0461f
Integrate LetsExchange exchange provider (#1562)
* letsExchange provider

* add api key

* secrets affiliateId

* Update letsexchange_exchange_provider.dart

* minor fix [skip ci]

* fix network type issue

* tracking link [skip ci]

* fix data type

* normalise bch address

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-09-11 05:14:17 +03:00
Serhii
215e785198
Update electrum_wallet.dart (#1664)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-09-10 21:39:07 +03:00
Serhii
125fdf8b62
quick fix for the reconnection issue (#1671)
* Update electrum.dart

* Update electrum.dart

* Duration seconds: 5 [skip ci]
2024-09-09 21:08:21 +03:00
Serhii
f279a222df
Cw 682 integrate stealth ex exchange provider (#1575)
* add stealthEx provider

* minor fix

* Update pr_test_build.yml

* Update dashboard_view_model.dart

* update api key

* add api key

* add secret to linux [skip ci]

* fix network param issue

* additional fee percent [skip ci]

* fix for poly network

* add StealthEx tracking link.

* minor fix

* update name [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-09-06 16:03:18 +03:00
tuxsudo
580bd01345
Remove node.moneroworld.com (#1667)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* Remove node.moneroworld.com from default nodes and apply settings migration

* Small fix
2024-09-05 17:32:31 +03:00
David Adegoke
3869a71bd1
CW-695: Fix Zone Mismatch Error Triggered By Restoring Backup (#1651)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* Fix: Zone mismatch error triggered by restoring backup

* fix: Adjust check for reinitializing
2024-09-05 05:59:20 +03:00
cyan
0b06ad3a07
CW-702: fix mismatched amounts in multDest transactions (#1653)
* CW-702: fix mismatched amounts in multDest transactions

* separate txkeys in multdest transactions

* update monero_c dependency
2024-09-05 05:54:34 +03:00
Matthew Fosse
783f1a2349
Nano rep page + derivation fixes (#1655)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* minor nano derivation fixes

* rep page fixes

* ignore non-critical receive block errors

* really be sure the derivation type is set during wallet creation
2024-09-05 05:41:52 +03:00
Serhii
576dd49766
Update check_box_picker.dart (#1660) 2024-09-05 03:54:06 +03:00
cyan
e29e5d9f3c
show pending status for outgoing transactions (#1669) 2024-09-05 03:15:54 +03:00
Matthew Fosse
0c1ca78d29
allow restoring electrum seeds (#1665)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-09-04 06:34:26 +03:00
Konstantin Ullrich
c17f167266
Fix windows build (#1658)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-08-29 15:24:24 +03:00
Omar Hatem
82f64a4264
revert subaddress fix (#1656)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
add show/hide passphrase
2024-08-29 00:52:11 +03:00
Omar Hatem
f072e79bb6
V4.19.5 v1.16.5 (#1654)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* some not enough enhancements for sync status

* update app versions

* minor fix
2024-08-27 20:49:12 +03:00
cyan
4c795ea5c2
subaddress fix (#1620)
* subaddress fix

* fix subaddress generation

* rewrite usedAddresses for xmr and wow

* [skip ci] remove print statements
2024-08-27 02:40:20 +03:00
Omar Hatem
518bfbe40d
fetch accurate fee rates from Cake's mempool api (#1649)
* fetch accurate fee rates from mempool api

* remove duplicate exception handler onError call [skip ci]

* add the domain name
2024-08-26 20:07:25 +03:00
Konstantin Ullrich
ce21098e98
Cw 488 seed offset (#1631)
* CW-488 minor code cleanup

* Add Derivation Path selector for BTC and LTC

* CW-488 Initial Passphrase Impl

* CW-488 Final Passphrase Impl

* Quick Fix of language Service

* CW-488 Implement PR Suggestions

* CW-488 Implement PR Suggestions

* CW-488 Implement Passphrase for Bitcoin Cash

* CW-488 Implement Passphrase for Bitcoin Cash

* CW-488 Implement Passphrase for Bitcoin Cash

* remove monero and wownero support for passphrase until merged [skip ci]

* CW-488 Apply requested change

* CW-488 Add Passphrase to QR

* CW-488 Fix Seed generation

* CW-488 Implement Electrum Passphrases

* CW-488 Add Seed Length Selector to BIP39 Seeds

* CW-488 Minor fix [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-08-26 20:06:54 +03:00
Serhii
40f85d215b
Rbf fixes issues op return data plus ThorChain (#1648)
* total out amount issue

* fix empty inputs and outputs addresses for new tx

* fix sum value of utxo not spending

* Update configure.dart

* Update electrum_wallet.dart

* receiving address

* review fixes

* add op_return data

* fix rbf transaction with a memo

* add memo check for ThorChain trade

* code enhancement [skip ci]

* code enhancement [skip ci]

* directly use fromElectrumBundle function to update transaction info

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-08-24 16:30:01 +03:00
cyan
8524e238b0
make analyzer less red (#1628)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* remove cw_*.dart files from analyzer

* Run gen_framework.sh on iOS
2024-08-24 04:42:50 +03:00
Serhii
4c2d061363
rbf fixes issues sum utxo and fee calculation (#1625)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* total out amount issue

* fix empty inputs and outputs addresses for new tx

* fix sum value of utxo not spending

* Update configure.dart

* Update electrum_wallet.dart

* receiving address

* review fixes
2024-08-23 16:19:42 +03:00
tuxsudo
d01199bd04
Merge pull request #1618 from cake-tech/flags
Some checks are pending
Cache Dependencies / test (push) Waiting to run
Update flags
2024-08-22 15:37:39 -04:00
tuxsudo
0dc6e2656a
Merge branch 'main' into flags 2024-08-22 15:37:21 -04:00
OmarHatem
9c3f0b329b minor fix 2024-08-22 15:34:31 +03:00
OmarHatem
47ca649060 update translations
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-08-22 03:55:23 +03:00
smgthbusr
92f87a5366
Add Armenian language (#1623)
* Add Armenian strings

* Add Armenian

* Add Armenian flag
2024-08-22 03:47:30 +03:00
Jorge
799ddcdc6f
Fix Spanish string (#1622) 2024-08-22 03:45:16 +03:00
Omar Hatem
9390ceb323
Merge branch 'main' into flags 2024-08-22 03:42:18 +03:00
cyan
3cefe3b288
update setup-java and switch distribution (#1629) 2024-08-22 03:36:11 +03:00
Rafael
c0e0cf02aa
Fix testnet (#1632)
* fix: failed connection and misc changes

* default isTestnet to false

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-08-22 01:31:20 +03:00
Matthew Fosse
49d2560eb9
fix (#1633)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-08-21 22:49:47 +03:00
tuxsudo
9ad4c9b46b
Merge branch 'main' into flags 2024-08-21 09:36:29 -04:00
Konstantin Ullrich
5449b94ba4
Windows fix (#1624)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* CW-488 Fix missing Wownero logo

* Temporary fix for windows
2024-08-19 17:06:57 +03:00
OmarHatem
19c600ba10 update macos build number
Some checks are pending
Cache Dependencies / test (push) Waiting to run
minor fixes
2024-08-18 17:15:23 +03:00
cyan
4071e460f6
fix universal build (#1621) 2024-08-18 15:25:44 +03:00
OmarHatem
fe4b3e4eb0 push haven fix
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-08-18 03:48:25 +03:00
Omar Hatem
c59d39d42d
Generic fixes (#1619)
* update fee rates

* periodically update fees

* minor enhancements

* minor enhancements

* some improvements
add solana node

* handle empty hex as null

* minor improvement

* fix imports

* fix app hanging on splash screen

* update app versions
temporarily disable sign/verify for hardware wallets
2024-08-18 03:37:15 +03:00
Matthew Fosse
7c9b72483a
Socket null handling (#1610)
* return null if in connection failure state

* reconnect on connection failure

* better connection handling

* probably not necessary but just incase

* connection handling updates

* add cancelOnError: true
2024-08-18 02:28:45 +03:00
Matthew Fosse
83ef61e928
Cw 565 sign messages (#1378)
* version bump to 3.13.9, auth working on mac

* bump flutter version in workflow file

* workflow fix

* test fix

* downgrade flutter version

* test fix

* test fix

* update gradle version

* start working on ui for message signing

* updates

* sign working for a few wallet types

* updates & verification for electrum currencies

* nano support

* sign/verify working on eth, bitcoin broken

* update translations

* Implement Verify Message for Monero

* save [skip ci]

* pub key extraction working

* fixes for electrum signing

* verify working for solana!

* electrum still not working :( [skip ci]

* electrum messages working!

* fixes for updated dart version, localization file updates

* remove accidental inclusion

* missed some unimplemented throws

* Update res/values/strings_de.arb

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>

* Apply suggestions from code review

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>

* review suggestions and updates [skip ci]

* [skip ci] add polygon

* [skip ci] merge mac-auth/update version

* fix litecoin

* bio auth mac fix

* remove comment and change duration from 2 to 0

* cherry pick previous changes

* litecoin fixes, sign form fixes, use new walletAddressPicker

* support accounts

* verify messages working for monero

* working sign and verify messages for nano

* electrum signing working [skip ci]

* additional nano fixes

* update translations

* attempt to decode signatures with base64

* workaround for secure storage bug on mac

* bump version to 3.19.5 (because breez will need this version anyways)

* some code cleanup

* some changess didn't get saved

* just documenting the issue [skip ci]

* undo accidental removal + minor code cleanup

* merge conflicts

* merge fixes [skip ci]

* add tron support

* [wip] fixing

* remove duplicate references to electrum path for maintainability

* fixes

* minor fix

* fixes

* undo debug comment

* update migration for all electrum based wallets

* hotfixes

* copy over the rest of the fixes

* minor code cleanup [skip ci]

* updates

* electrum signing workinggit statusgit statusgit statusgit status!

* copy same fixes for litecoin

* litecoin fixes

* add v to litecoin signatures

* fix dependencies

* fix bitcoin_base version

* merge fix

* dep override

* fix conflicts with main

* trial fix for android build

* fixes

* fix

* dep fix, should build

* fix signing for bitcoin cash

* [skip ci] minor code cleanup

* [skip ci] minor code cleanup 2

* forgot wonero, various other fixes

* more fixes

* fix solana (untested)

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-08-18 02:10:27 +03:00
tuxsudo
c7957634a2
Merge branch 'main' into flags 2024-08-17 12:41:18 -04:00
tuxpizza
e8a03fc00e Update even more flags 2024-08-17 12:40:52 -04:00
cyan
eef319658a
Fix legacy seeds not being displayed when polyseed is not supported (#1608)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* Fix legacy seeds not being displayed when polyseed is not supported

* fallback to english on Japanese, it errors with empty errorString - probably some kind of normalization issue
2024-08-17 05:30:48 +03:00
cyan
ec8c404086
fix rosseta builds (#1593) 2024-08-17 05:25:10 +03:00