CakeWallet/lib/entities
Omar Hatem df3a26dc15
Zano with passphrase (#1971)
* CW-685 Add passphrase restore for xmr/wow (#1552)

* CW-685 Add passphrase restore for xmr/wow

* add support for polyseed passphrase

* disable 14 word seed passphrase (not supported in wownero-seed)
fix: Getting grayed screen on latest passphrase build after having restored a 14-word wownero seed (+passphrase) and attempting to restore a XMR seed, legacy or otherwise.

* fix pointer when restoring depracated wownero seed

* Fix polyseed encryption

* changes from review

* remove unused code

* add passphrase back to the screen
add passphrase to qr code backup export

* fix settings leaking through currencies on seed restore

* fix monero.com builds, make passphrase a getter on WalletBase

* add support for weird polyseed

* store passphrase for weird polyseed

* show encrypted seed only when passphrase is not empty

* force set restore height

* fix build issues

* fix build errors

* fix configure script

* print -> printV

* Update lib/view_model/wallet_keys_view_model.dart [skip ci]

* Update lib/view_model/wallet_keys_view_model.dart [skip ci]

* Update tool/configure.dart [skip ci]

* Update lib/view_model/wallet_new_vm.dart

* reuse existing passphrase field

* remove unused passphrase field

* make workflow run on pullrequests only [skip ci] [skip slack]

---------

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

* Zano (#1793)

* my experiments

* Inital code for Zano integration

* Added missing android log lib

* added dummy wallet & some zano implementation

* fixing api for zano

* fixed zano build script

* attempt tp fix namespace problem

* added copy script for Zano files

* changes for zano wallet

* last updates

* zano.dart test app

* wallet recovery

* added pending transfer, some cleanup of unused

* some cleanup

* send + receive qr code

* last upd

* updated build_zano.sh

* updated zano ApiCalls, removed dummy

* updated zano ApiCalls, removed dummy

* added logging for get status/get info

* restored old wallet.dart

* restoring original versions of files

* restoring original versions of files

* restored get_height_by_date.dart, removed unnecessary calls for zano get height

* restoring original versions

* added multiple destinations, send all flag; some refactoring

* logging

* removed the duplicate

* fixed syncing sync status, decimal division, safe null json parsing

* some fixes after merge

* added multibalance/asset support for zano (ui)

* adding/removing from whitelist

* transfers in different assets

* transfers for multiple destinations and send all, some refactoring

* whitelists, some refactoring

* added different digits (decimal points) for formatters, some refactoring

* open, create, restore wallet refactoring; whitelists

* whitelists

* getting and updating transaction list; restoring a wallet from QR code

* several attempts to close wallet

* some refactoring

* added seed phrase

* changed fields to BigInt, some fixes

* modified build scripts for android

* build scripts

* restored accidently removed cw_haven.dart

* inital ios integration(zano libs built)

* update in script

* latest changes

* Applied a patch for iOS build (Boost and Zano scripts)

* Removed zano.dart (script-generated) and some unnecessary files

* Revert "Removed zano.dart (script-generated) and some unnecessary files"

This reverts commit 367c86398e.

* Removed zano.dart (generated by scripts), some files restored to initial versions

* added timer library

* changed paths in build_zano.sh

* build_zano.sh

* edit_token_page.dart - removed flag skipZanoAddressValidation

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

* lib/core/address_validator.dart - updated zano address regex
lib/src/screens/dashboard/edit_token_page.dart - using AddressValidator().call

* fix zano build issues on android

* remove contrib/depends to save space

* move async call to a synchronouse one

* call sync call in isolate to make it async
generate framework for iOS as well
fix UR issues

* zano changes from monero_c repo

* update monero_c hash

* fix invalid zano imports, add support for linux, speed up CI builds

* update monero_c hash

* bump monero_c commit (yes, again, I know)

* fix wallet resttore, fix hardcoded IP

* fix regex, don't throw error when opening wallet, fix tx history, fix async calls, move stuff to isolate

* fix api calls in async transaction creation

* update build scripts

* fix some build issues

* update dependencies

* fix dependencies

* update ci scripts

* Improve multithread use of zano api

* Fix build issue

* fix zano node selection, move other zano calls to separate isolate

* update moneroc hash
WIP fixes for zano

* update monero_c

* fix monero.com builds

* sync wallet after connecting

* update monero_c

* Fix windows builds

* update monero_c

* update monero_c

* unshallow submodule

* cherry pick CW-867 Wownero fixes (#1881)

* fix wownero syntax error

* remove print statements in zano

* update zano node URL

* [PATCH] Apply new CI script (https://github.com/cake-tech/cake_wallet/pull/1948)

* drop env -i to fix cmake build errors on newer system

* [skip ci] Revert "[PATCH] Apply new CI script (https://github.com/cake-tech/cake_wallet/pull/1948)"

This reverts commit 5acb5bfe57.

* [run tests] [skip slack] Fix env in build

* Dynamically detect number of cores used to build monero_c, since it appears that zano requires more memory to link (and it reliably fails for first couple builds due to OOM on CI/VM with memory constrains).
Drop unshallowing of all modules
[run tests]

* Changes from review [run tests]

* drop zano on linux (missing symbols)
fix wownero on linux
add aarch64-linux-gnu
[run tests]

* - remove duplicate entry in addToken()
- use walletPassword in createZanoNewWalletCredentials
- remove createZanoRestoreWalletFromKeysCredentials
[run tests]

* [skip ci] update dockerfile

* fix parameter issue

---------

Co-authored-by: leo <leonid.ivanov@gmail.com>
Co-authored-by: cr.zoidberg <crypto.zoidberg@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* - Add Zano Aliases
- Enable simpleswap [skip ci]
- Fix settings migration versions

* push missing file [skip ci]

* Zano pr with CW-685 passphrase (#1969)

* my experiments

* Inital code for Zano integration

* Added missing android log lib

* added dummy wallet & some zano implementation

* fixing api for zano

* fixed zano build script

* attempt tp fix namespace problem

* added copy script for Zano files

* changes for zano wallet

* last updates

* zano.dart test app

* wallet recovery

* added pending transfer, some cleanup of unused

* some cleanup

* send + receive qr code

* last upd

* updated build_zano.sh

* updated zano ApiCalls, removed dummy

* updated zano ApiCalls, removed dummy

* added logging for get status/get info

* restored old wallet.dart

* restoring original versions of files

* restoring original versions of files

* restored get_height_by_date.dart, removed unnecessary calls for zano get height

* restoring original versions

* added multiple destinations, send all flag; some refactoring

* logging

* removed the duplicate

* fixed syncing sync status, decimal division, safe null json parsing

* some fixes after merge

* added multibalance/asset support for zano (ui)

* adding/removing from whitelist

* transfers in different assets

* transfers for multiple destinations and send all, some refactoring

* whitelists, some refactoring

* added different digits (decimal points) for formatters, some refactoring

* open, create, restore wallet refactoring; whitelists

* whitelists

* getting and updating transaction list; restoring a wallet from QR code

* several attempts to close wallet

* some refactoring

* added seed phrase

* CW-685 Add passphrase restore for xmr/wow

* add support for polyseed passphrase

* disable 14 word seed passphrase (not supported in wownero-seed)
fix: Getting grayed screen on latest passphrase build after having restored a 14-word wownero seed (+passphrase) and attempting to restore a XMR seed, legacy or otherwise.

* fix pointer when restoring depracated wownero seed

* Fix polyseed encryption

* changed fields to BigInt, some fixes

* modified build scripts for android

* build scripts

* restored accidently removed cw_haven.dart

* inital ios integration(zano libs built)

* update in script

* latest changes

* changes from review

* remove unused code

* add passphrase back to the screen
add passphrase to qr code backup export

* fix settings leaking through currencies on seed restore

* fix monero.com builds, make passphrase a getter on WalletBase

* add support for weird polyseed

* store passphrase for weird polyseed

* show encrypted seed only when passphrase is not empty

* force set restore height

* Applied a patch for iOS build (Boost and Zano scripts)

* Removed zano.dart (script-generated) and some unnecessary files

* Revert "Removed zano.dart (script-generated) and some unnecessary files"

This reverts commit 367c86398e.

* Removed zano.dart (generated by scripts), some files restored to initial versions

* fix build issues

* fix build errors

* added timer library

* changed paths in build_zano.sh

* build_zano.sh

* edit_token_page.dart - removed flag skipZanoAddressValidation

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

* lib/core/address_validator.dart - updated zano address regex
lib/src/screens/dashboard/edit_token_page.dart - using AddressValidator().call

* fix zano build issues on android

* remove contrib/depends to save space

* move async call to a synchronouse one

* call sync call in isolate to make it async
generate framework for iOS as well
fix UR issues

* zano changes from monero_c repo

* update monero_c hash

* fix invalid zano imports, add support for linux, speed up CI builds

* update monero_c hash

* bump monero_c commit (yes, again, I know)

* fix wallet resttore, fix hardcoded IP

* fix regex, don't throw error when opening wallet, fix tx history, fix async calls, move stuff to isolate

* fix api calls in async transaction creation

* fix configure script

* update build scripts

* fix some build issues

* update dependencies

* fix dependencies

* update ci scripts

* Improve multithread use of zano api

* Fix build issue

* fix zano node selection, move other zano calls to separate isolate

* update moneroc hash
WIP fixes for zano

* update monero_c

* fix monero.com builds

* sync wallet after connecting

* update monero_c

* Fix windows builds

* update monero_c

* print -> printV

* update monero_c

* unshallow submodule

* cherry pick CW-867 Wownero fixes (#1881)

* fix wownero syntax error

* remove print statements in zano

* update zano node URL

* [PATCH] Apply new CI script (https://github.com/cake-tech/cake_wallet/pull/1948)

* drop env -i to fix cmake build errors on newer system

* Update lib/view_model/wallet_keys_view_model.dart [skip ci]

* Update lib/view_model/wallet_keys_view_model.dart [skip ci]

* Update tool/configure.dart [skip ci]

* Update lib/view_model/wallet_new_vm.dart

* [skip ci] Revert "[PATCH] Apply new CI script (https://github.com/cake-tech/cake_wallet/pull/1948)"

This reverts commit 5acb5bfe57.

* [run tests] [skip slack] Fix env in build

* Dynamically detect number of cores used to build monero_c, since it appears that zano requires more memory to link (and it reliably fails for first couple builds due to OOM on CI/VM with memory constrains).
Drop unshallowing of all modules
[run tests]

* Changes from review [run tests]

* drop zano on linux (missing symbols)
fix wownero on linux
add aarch64-linux-gnu
[run tests]

* - remove duplicate entry in addToken()
- use walletPassword in createZanoNewWalletCredentials
- remove createZanoRestoreWalletFromKeysCredentials
[run tests]

* [skip ci] update dockerfile

* reuse existing passphrase field

* add passphrase support for zano

* Drop aarch64-linux-gnu for now.

* fix passphrase display, fix gray screen

* catch errors in polyseed encryption, encrypt only polyseed, fix coin in wownero

* update monero_c
update wownero to 0.11.3.0

* Show passphrase only when non-empty, fix passphrase being displayed as view key private.

* fix NanoAccountListPage showing up instead of MoneroAccountListPage for wownero

* build zano dependencies on android

* fix parameter issue

* minor merge leftover [skip ci]

* minor cleanup [skip ci]

* fix zano alias
update eth url for ens lookup
change $MAKE_JOB_COUNT to $NPROC

* minor cleanup [skip ci]

* fix zano alias

* Disable passphrase for creation of xmr/wow/zano
minor fixes

* fix zano on iOS

* - Fix get token data
- Enable unavailable balance
- Enable confirmations count
- Adjust explorer link

---------

Co-authored-by: leo <leonid.ivanov@gmail.com>
Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
Co-authored-by: cr.zoidberg <crypto.zoidberg@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

---------

Co-authored-by: cyan <cyjan@mrcyjanek.net>
Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
Co-authored-by: leo <leonid.ivanov@gmail.com>
Co-authored-by: cr.zoidberg <crypto.zoidberg@gmail.com>
2025-01-24 20:33:24 +02:00
..
hardware_wallet Cw 660 add ledger monero (#1747) 2024-11-12 05:26:09 +02:00
action_list_display_mode.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
auto_generate_subaddress_status.dart CW-228 Auto generate monero subaddress (#902) 2023-08-29 19:11:51 +03:00
background_tasks.dart CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
balance_display_mode.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
biometric_auth.dart CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
cake_2fa_preset_options.dart fix: Implement totp on exchange to external ticket as well as update UI properly when a preset is selected (#1156) 2023-11-02 20:17:52 +02:00
calculate_fiat_amount.dart Generic Fixes: Support Errors and others (#1394) 2024-04-25 03:14:53 +02:00
calculate_fiat_amount_raw.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
contact.dart Cw 514 add sort functionality for addressbook mywallets and contacts (#1309) 2024-11-07 03:26:14 +02:00
contact_base.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
contact_model.dart Configure wallet types for the app 2021-12-24 14:41:34 +02:00
contact_record.dart Cw 514 add sort functionality for addressbook mywallets and contacts (#1309) 2024-11-07 03:26:14 +02:00
country.dart cake pay country picker (#1779) 2024-11-07 07:50:48 +02:00
default_settings_migration.dart Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00
desktop_dropdown_item.dart Dashboard desktop view (#737) 2023-04-14 06:39:08 +02:00
emoji_string_extension.dart fix display of Yat alert when address is empty (#484) 2022-08-26 16:29:00 +01:00
encrypt.dart Secure storage overwrite fix (#1161) 2023-11-15 19:31:25 +02:00
ens_record.dart Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00
erc20_token_info_explorers.dart feat: Add warning before adding erc20 token via contract address (#1663) 2024-09-12 00:19:47 +03:00
erc20_token_info_moralis.dart feat: Add warning before adding erc20 token via contract address (#1663) 2024-09-12 00:19:47 +03:00
evm_transaction_error_fees_handler.dart Switch to SSL for Cake's Electrum and Monero nodes (#1899) 2024-12-25 21:27:46 +02:00
exchange_api_mode.dart Fix issues from code review 2023-03-01 23:44:15 +02:00
fiat_api_mode.dart [skip ci] Update localization 2022-12-07 14:04:14 +02:00
fiat_currency.dart fix: Generic fixes of bugs from Support (#1774) 2024-10-31 04:10:40 +03:00
fio_address_provider.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
format_amount.dart CAKE-160 | added to format_amount.dart case when amount contains ',' symbol 2020-11-09 18:09:04 +02:00
fs_migration.dart CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
generate_name.dart prevent using same wallet name as existing (#391) 2022-06-29 18:21:21 +01:00
get_encryption_key.dart CW-599-Extract-Secure-Storage (#1353) 2024-05-08 23:23:27 +03:00
haven_seed_store.dart CW-673: Save Haven seeds to show it to the user after Haven removal (#1518) 2024-12-11 22:31:01 +02:00
ios_legacy_helper.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
language_service.dart Add Vietnamese Language (#1674) 2024-09-11 07:50:41 +03:00
list_order_mode.dart CW-512 wallet sort (#1195) 2023-12-13 23:58:43 +02:00
load_current_wallet.dart CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
main_actions.dart Generic fixes (#1823) 2024-11-25 18:26:41 +02:00
mnemonic_item.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
node_list.dart Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00
openalias_record.dart CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
parse_address_from_domain.dart Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00
parsed_address.dart Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00
pin_code_required_duration.dart Generic enhancements (#1668) 2024-09-23 17:10:40 +03:00
preferences_key.dart Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00
priority_for_wallet_type.dart Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00
provider_types.dart Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00
qr_scanner.dart fix node QR Code URI parsing (#1916) 2025-01-24 20:05:08 +02:00
qr_view_data.dart CW-240 Receive fiat currency amount and receive animations (#877) 2023-04-21 20:03:42 +02:00
record.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
secret_store_key.dart CW-599-Extract-Secure-Storage (#1353) 2024-05-08 23:23:27 +03:00
seed_phrase_length.dart CW-520-Enable-user-to-choose-12-or-24-seed-words-for-BCH-and-ETH (#1181) 2023-11-17 15:45:42 +02:00
seed_type.dart CW-580: BIP39 Wallets Shared Seed Implementation: "One Seed - Multiple Wallets" (#1307) 2024-09-20 21:25:08 +03:00
service_status.dart Generic fixes (#1320) 2024-03-10 04:02:30 +02:00
sort_balance_types.dart Cw 78 ethereum (#862) 2023-08-04 20:01:49 +03:00
template.dart Re add chatwoot (#1044) 2023-08-15 03:47:25 +03:00
transaction_creation_credentials.dart Part 1 2020-09-21 14:50:26 +03:00
transaction_description.dart Cw 769 fix transaction notes not showing (#1718) 2024-10-05 00:50:36 +03:00
transaction_history.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
unstoppable_domain_address.dart CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
update_haven_rate.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
wallet_contact.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
wallet_description.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
wallet_edit_page_arguments.dart CW-580: BIP39 Wallets Shared Seed Implementation: "One Seed - Multiple Wallets" (#1307) 2024-09-20 21:25:08 +03:00
wallet_group.dart CW-580: BIP39 Wallets Shared Seed Implementation: "One Seed - Multiple Wallets" (#1307) 2024-09-20 21:25:08 +03:00
wallet_list_order_types.dart Cw 514 add sort functionality for addressbook mywallets and contacts (#1309) 2024-11-07 03:26:14 +02:00
wallet_manager.dart CW-580: BIP39 Wallets Shared Seed Implementation: "One Seed - Multiple Wallets" (#1307) 2024-09-20 21:25:08 +03:00
wallet_nft_response.dart feat: Implement NFT Tab for Eth (#1166) 2023-11-22 19:43:26 +02:00
wellknown_record.dart Update wellknown_record.dart [skip ci] 2025-01-16 00:21:54 +02:00
yat_record.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
zano_alias.dart Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00