Commit graph

2633 commits

Author SHA1 Message Date
OmarHatem
02b2eacd93 Remove default value for c++ function 2023-12-19 02:21:36 +02:00
OmarHatem
43c4f599f8 update linux version 2023-12-19 02:00:50 +02:00
OmarHatem
5c861318e8 Merge main 2023-12-19 00:45:34 +02:00
OmarHatem
f747773f3a Merge branch 'v4.12.0_v1.9.0' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	assets/text/Monerocom_Release_Notes.txt
	assets/text/Release_Notes.txt
	cw_bitcoin/pubspec.lock
	cw_core/lib/node.dart
	cw_core/pubspec.lock
	cw_core/pubspec.yaml
	cw_ethereum/lib/ethereum_wallet.dart
	cw_monero/example/pubspec.lock
	cw_monero/ios/Classes/monero_api.cpp
	cw_monero/pubspec.lock
	cw_polygon/lib/polygon_wallet.dart
	lib/di.dart
	lib/router.dart
	lib/src/screens/restore/wallet_restore_from_seed_form.dart
	lib/src/screens/wallet_list/wallet_list_page.dart
	lib/store/settings_store.dart
	scripts/android/app_env.sh
	scripts/android/pubspec_gen.sh
	scripts/ios/app_env.sh
	scripts/macos/app_env.sh
2023-12-19 00:25:15 +02:00
Omar Hatem
01e2a84809
Vulnerable btc seeds (#1238)
* Add flow to notify users with vulnerable seeds

* - Show vulnerable wallets warning on every app launch
- Change text

* increment build number

* add seeds sha text [skip ci]
2023-12-19 00:05:27 +02:00
OmarHatem
ec140b813c Fix balance page tabs UI on white screens [skip ci] 2023-12-18 01:45:37 +02:00
OmarHatem
150656e62b update build number 2023-12-16 18:22:27 +02:00
OmarHatem
9df7785bf4 update app versions and release notes 2023-12-16 17:11:01 +02:00
Omar Hatem
d756b367d3
Make the exchange receive field always editable and can be taken from QR or Address book (#1230) 2023-12-16 03:20:56 +02:00
Matthew Fosse
2ff81df9e7
CW-512 wallet sort (#1195)
* add shared preferences key and make list re-orderable

* macos sonoma build fix

* everything (almost) works

* add translations

* more translations

* everything works

* fixes

* translation merge file fix

* fix for mobile platforms

* fix filter icon being invisible on bright theme

* first pass of adding ascending/descending to filter widget

* small fix

* update ascending switch

* fixes

* fix

* reverse creation sort

* review fixes part 1

* refactor into function rather than tuple + color changes

* more fixes

* remove unrelated file

* updated wording

* cleaner callback

* undo sonoma fix

---------

Co-authored-by: fossephate <fosse@book.local>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-12-13 23:58:43 +02:00
Serhii
049e4def27
fix accessibility issues (#1224) 2023-12-13 17:27:30 +02:00
Serhii
faf151a4dc
CW-531-Bitcoin-Fees-issue (#1218)
* SegWit transaction size

* [skip ci] fix electrum balances layout

* fix tapping area
2023-12-13 16:43:26 +02:00
Adegoke David
ef7762eaca
Polygon-Wallet-fixes (#1222)
* fix: Fix issues surrounding polygon release

* Add polygon generation command to pubspec script

* Remove unnecesary cast

* fix: Remove unneeded code

* fix: Adjust workflow file to pick polygonScan apikey

* fix: Issues noticed while testing

* fix: Issues noticed while testing

* fix: Transaction should reflect the token name

* fix: Remove unused import

* feat: Add alchemy node to default migration settings

* Fix sending Polygon delay
Remove alchemy node
Minor Enhancements

* Remove scrolling from multiple choices settings row and make them fill the whole space [skip ci]

* Add USDT poly
Add icon for USDC.e

* Fix ERC20 tokens overriding old wallets
Add USDC.e to exchange

* - Remove unnecessary code
- Minor Enhancements

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-12-13 16:03:07 +02:00
Matthew Fosse
7ce387c130
fix dot indicator color (#1228) 2023-12-11 18:47:22 +02:00
Konstantin Ullrich
72777fbf2c
Cw 534 monero wallet generic enhancements (#1225)
* Fix word count for polyseed on pre_seed_page

* Fix naming of advanced setting

* Set default Seed Type to Polyseed and disable bg-sync by default

* Fix inconsistency between seed type field in restore screen and the one in advanced settings

* Use pub.dev release of polyseed

* Add Legacy Seed to wallet_keys-Page in case of Polyseed
2023-12-09 03:37:39 +02:00
Serhii
2138c35e38
CW-532-DFX-buy-provider (#1209)
* dfx buy provider ui

* fix signing flow

* fixed provider determination based on wallet type and app settings

* update localization files

* minor fix

* Fix BTC, LTC und BCH signMessages

* Add signMessage to monero

* open dfx in webview

* Update dfx_buy_provider.dart

* Revert merge conflict

* Update bitcoin_flutter ref

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2023-12-08 16:05:52 +02:00
Matthew Fosse
d370c754c5
allow manual builds on any branch (#1219)
* allow manual builds on any branch

* small fix

* see if this works

* test fix

* test fix

* fix

* fix

* test

* fix

* fix

* consistent variable naming
2023-12-06 15:53:26 +02:00
Omar Hatem
b95af3a649
V4.11.0 v1.8.0 (#1216)
* V4.11.0 and v1.8.0

* Add polygon to iOS and macOS
Minor import fix for monero.com

* Remove Polygon temporarily

* Remove tor temorarily [skip ci]

* Remove tor temorarily [skip ci]
2023-12-05 02:35:33 +02:00
OmarHatem
ba249854b3 Merge branch 'v4.11.0_v1.8.0' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password 2023-12-05 00:39:24 +02:00
OmarHatem
11cd4338f5 Remove tor temorarily [skip ci] 2023-12-05 00:39:07 +02:00
OmarHatem
869288cbb7 Merge branch 'v4.11.0_v1.8.0' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password 2023-12-05 00:14:36 +02:00
OmarHatem
b05b6aa8ea Remove tor temorarily [skip ci] 2023-12-05 00:14:13 +02:00
OmarHatem
1ab9eb5535 uncomment configure scripts [skip ci] 2023-12-04 23:23:42 +02:00
OmarHatem
f93e97a43c Fix polygon issues 2023-12-04 23:05:50 +02:00
OmarHatem
6eb0706b77 Merge branch 'v4.11.0_v1.8.0' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	cw_bitcoin/lib/electrum_transaction_history.dart
	cw_bitcoin/lib/electrum_wallet_snapshot.dart
	cw_bitcoin/lib/file.dart
	cw_core/lib/file.dart
	cw_core/lib/utils/file.dart
	lib/di.dart
	lib/src/screens/restore/wallet_restore_from_seed_form.dart
	lib/view_model/wallet_new_vm.dart
	model_generator.sh
	tool/configure.dart
2023-12-04 22:55:08 +02:00
OmarHatem
2155269ef2 Remove Polygon temporarily 2023-12-04 14:19:59 +02:00
OmarHatem
b544ebc660 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into v4.11.0_v1.8.0 2023-12-04 13:53:09 +02:00
Konstantin Ullrich
3c28e25259
Remove polyseed seed workaround and fix properly by just storing the wallet (#1215) 2023-12-04 13:52:43 +02:00
OmarHatem
abda8348b3 Add polygon to iOS and macOS
Minor import fix for monero.com
2023-12-02 15:31:30 +02:00
OmarHatem
9a942a7849 V4.11.0 and v1.8.0 2023-12-02 04:35:42 +02:00
Adegoke David
b3d579c24a
CW-527-Add-Polygon-MATIC-Wallet (#1179)
* chore: Initial setup for polygon package

* feat: Add polygon node urls

* feat: Add Polygon(MATIC) wallet WIP

* feat: Add Polygon(MATIC) wallet WIP

* feat: Add Polygon MATIC wallet [skip ci]

* fix: Issue with create/restore wallet for polygon

* feat: Add erc20 tokens for polygon

* feat: Adding Polygon MATIC Wallet

* fix: Add build command for polygon to workflow file to fix failing action

* fix: Switch evm to not display additional balance

* chore: Sync with remote

* fix: Revert change to inject app script

* feat: Add polygon erc20 tokens

* feat: Increase migration version

* fix: Restore from QR address validator fix

* fix: Adjust wallet connect connection flow to adapt to wallet type

* fix: Make wallet fetch nfts based on the current wallet type

* fix: Make wallet fetch nfts based on the current wallet type

* fix: Try fetching transactions with moralis

* fix: Requested review changes

* fix: Error creating new wallet

* fix: Revert script

* fix: Exclude spam NFTs from nft listing API response

* Update default_erc20_tokens.dart

* replace matic with matic poly

* Add polygon wallet scheme to app links

* style: reformat default_settings_migration.dart 

* minor enhancement 

* fix using different wallet function for setting the transaction priorities 

* fix: Add chain to calls

* Add USDC.e to initial coins

* Add other default polygon node 

* Use Polygon scan
some UI fixes

* Add polygon scan api key to secrets generation code

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-12-02 04:26:43 +02:00
Konstantin Ullrich
3b7f9a297c
Bug missing polyseed (#1214)
* Move file.dart

* Add seedFallback for missing polyseeds

* Remove unused dependency of cw_bitcoin

* Minor fix MacOS

* Add more blockheight-date matching

* Scan only last 2 days for new Polyseed wallets
2023-12-02 03:02:55 +02:00
Matthew Fosse
3760285a64
ios/mac secure storage pin migration (potential fix) (#1205)
* ios/mac secure storage pin migration

* function call was incorrect

* Update default_settings_migration.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-11-30 23:39:09 +02:00
Konstantin Ullrich
2bddeb6ac2
Polyseed design changes (#1211)
* Add icons to Language- and Seedtype-picker to indicate it's clickability

* Add Seed Type Selector to New Wallet Page

* Rename "Advanced Privacy Settings" to "Advanced Settings"
2023-11-30 17:38:28 +02:00
Omar Hatem
4d245b7ff1
v4.11.0 and v1.8.0 (#1192)
* v4.11.0 and v1.8.0

* Add missing functionalities to mac os monero api.cpp

* Fix creating a new wallet issue

* Remove un-necessary linux, macos, and windows files from bitcoincash package
2023-11-30 16:51:19 +02:00
Konstantin Ullrich
89cb216bbf
Fix refresh from 0 on creating polyseeds (#1202)
* Fix refresh from 0 on creating polyseeds

* Try to fix refresh from 0 on creating polyseeds
2023-11-29 16:18:46 +02:00
Konstantin Ullrich
d07efc81ca
Lookup NFTs only if the current wallet is an Ethereum Wallet (#1197) 2023-11-27 23:50:12 +02:00
Matthew Fosse
177d89b904
fix nano being sent to only the first output address in list (#1198) 2023-11-27 20:44:48 +02:00
OmarHatem
2c03f858bc fix conflicts with main 2023-11-27 17:44:40 +02:00
OmarHatem
7b20ff0223 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	cw_monero/ios/Classes/monero_api.cpp
	ios/Podfile.lock
	lib/router.dart
	lib/src/screens/restore/wallet_restore_from_seed_form.dart
	lib/src/screens/restore/wallet_restore_page.dart
	lib/store/settings_store.dart
	lib/view_model/wallet_new_vm.dart
	scripts/android/app_env.sh
	tool/configure.dart
2023-11-27 17:36:58 +02:00
Matthew Fosse
615d016dd5
be absolutely sure we delete secure storage keys before writing them (#1182)
* be absolutely sure we delete secure storage keys before writing them

* sync with other PR

---------

Co-authored-by: fossephate <fosse@book.local>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-11-27 15:28:34 +02:00
Konstantin Ullrich
00c97c74b8
Cw 462 monero polyseed restore support (#1109)
* CW-462 Mark Places to integrate Polyseed

* CW-462 Add Restore from Polyseed

* CW-462 Add Restore from Polyseed

* CW-462 Add new Monero date-height pairs

* CW-462 Little Cleanup

* CW-462 Ups I missed that Debug line :/

* CW-462 Fix Polyseed not showing in Wallet-Seed/Keys Page

* CW-462 Prepare for Wallet creation

* CW-462 Fix merge conflict

* CW-462 Fix generating monero.dart

* CW-462 Add Polyseed generation

* CW-462 Add Polyseed Languages to SeedLanguagePicker

* CW-462 Apply requested changes

* CW-462 Minor bug fixes in restore screen

* Update wallet_restore_from_seed_form.dart

* CW-462 Minor Bugfix

* CW-462 Fix Restore from QR for Polyseeds

* CW-462 Fix null-check-operator exception for Polyseeds and minor inconveniences

* CW-462 Fix minor inconveniences

* Fix conflicts and review comments and wrap unspent issue with try and catch with reporting failure

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-11-25 02:37:12 +02:00
Matthew Fosse
eeb9976d09
update wallet restore page to be less confusing for nano users (#1186)
* update wallet restore page to be less confusing for nano users

* update translations

* only include private key if seed phrase is null

* restore fixes

* fix default derivation being wrong on restore

* fix default nano derivationType & qr code parameters

* update language on nano restore (hex form)

* support hex seed from qr restore
2023-11-25 01:35:00 +02:00
Omar Hatem
fa25a4b224
Generic fixes (#1191)
* check on the url validity before using it

* handle tx nullability

* add localization script to configure
2023-11-25 01:31:49 +02:00
Adegoke David
0c77b23ecb
feat: Implement NFT Tab for Eth (#1166)
* feat: Implement NFT Listing and Importing of new NFTs, also display NFTs linked to the wallet address

* Adjust UI based on wallet type, display nfts only when an ethereum wallet

* fix: Prevent tab bar from scrolling

* feat:Add NFT tab: adjust models and add localization

* feat:Add NFT tab: adjust models and add localization

* chore: Remove unused widget

* fix: Adjust UI to reflect more data, display image based on type, either png or svg, adjust theme-a

* fix: Update viewmodel

* fix: Add missing dependency to fix failing CI

* fix: Revert change in inject app script

* Delete cw_polygon/pubspec.lock

* - Code enhancements
- UI fixes
- Removing unrelated files

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-11-22 19:43:26 +02:00
Omar Hatem
56619b8546
v4.10.5 and v1.7.5 (#1183)
* Update app version and release notes

* Add Tor to this release

* Minor readability enhancement [skip ci]

* Temporarily disable Tor feature
2023-11-20 19:40:47 +02:00
OmarHatem
5eab783434 Add Tor to this release 2023-11-18 17:12:45 +02:00
OmarHatem
6f7da06617 Merge branch 'v4.10.5_v1.7.5' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	cw_bitcoin/pubspec.lock
	cw_core/pubspec.lock
	cw_core/pubspec.yaml
	cw_haven/pubspec.lock
	cw_monero/example/pubspec.lock
	cw_monero/pubspec.lock
	cw_nano/pubspec.lock
2023-11-18 17:09:02 +02:00
OmarHatem
c92e89b38e Add Tor to this release 2023-11-18 15:52:06 +02:00
OmarHatem
ddbea04735 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into v4.10.5_v1.7.5 2023-11-18 15:43:33 +02:00