Commit graph

2431 commits

Author SHA1 Message Date
OmarHatem
57f130135c Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-453-bitcoin-silent-payments
 Conflicts:
	cw_monero/lib/monero_wallet_service.dart
	cw_monero/pubspec.lock
	lib/router.dart
	lib/src/screens/new_wallet/advanced_privacy_settings_page.dart
	lib/src/screens/new_wallet/new_wallet_page.dart
	lib/src/screens/restore/wallet_restore_from_seed_form.dart
	res/values/strings_es.arb
	res/values/strings_hr.arb
	res/values/strings_id.arb
	res/values/strings_nl.arb
	res/values/strings_uk.arb
2023-12-09 03:50:48 +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
Rafael Saes
2c608d78ec fix: duplicate unspent again 2023-12-08 19:44:57 -03:00
Rafael Saes
6ea5c50884 temp: comment out polyseed issue for silent payments build 2023-12-08 18:51:00 -03:00
Rafael Saes
39aeebd09d chore: fix bitcoin_flutter reference 2023-12-08 18:28:55 -03:00
Rafael Saes
0539c87152 Merge remote-tracking branch 'origin/main' into CW-453-bitcoin-silent-payments 2023-12-08 18:03:02 -03:00
Rafael Saes
c74e335876 fix: some fixes for stored silent payment data, and fee usage 2023-12-08 17:56:48 -03: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
Rafael Saes
ea2161010f fix: null check on chainTipUpdate 2023-12-07 18:05:57 -03:00
Rafael Saes
717f7457b5 fix: bio address regex 2023-12-07 10:19:57 -03:00
OmarHatem
56f8787b69 remove deprecated import 2023-12-07 01:56:15 +02:00
Rafael Saes
7064225a9b Merge remote-tracking branch 'origin/main' into CW-453-bitcoin-silent-payments 2023-12-06 20:06:38 -03:00
Rafael Saes
9d6b90759c fix: unspents & balance updating 2023-12-06 20:03:07 -03:00
Rafael Saes
f446f95a01 fix: labeled scanning 2023-12-06 18:36:15 -03:00
Rafael Saes
b04b262761 feat: store labeled silent addresses and restore from snapshot 2023-12-06 11:47:14 -03:00
Rafael Saes
5939b310a0 feat: labels finished 2023-12-06 11:46:33 -03: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
Rafael Saes
ad3d2f1166 feat: add describeOption to localize receive types 2023-12-06 10:21:39 -03:00
Rafael Saes
4f0f1544fb chore: add TODO msg 2023-12-06 09:54:53 -03:00
Rafael Saes
ed129782fc fix: Testnet fixes
- Fix restore page button not working
- Move button to Advanced Settings
- Add testnet public node by default when selecting to use testnet
2023-12-06 09:49:41 -03: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
Konstantin Ullrich
3c28e25259
Remove polyseed seed workaround and fix properly by just storing the wallet (#1215) 2023-12-04 13:52:43 +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
Rafael Saes
ca188b1670 fix: print for explorer page 2023-11-30 16:54:10 -03:00
Rafael Saes
cd6db86a6d chore: bump bitcoin_flutter due to sp regex 2023-11-30 16:50:19 -03:00
Rafael Saes
d3d925c7ff feat: use silent payment address regex 2023-11-30 16:19:15 -03:00
Rafael Saes
4b3b3f6d2c fix: testnet electrum methods 2023-11-30 16:17:16 -03:00
Rafael Saes
028dcb3b98 fix: silent addresses string 2023-11-30 16:01:19 -03:00
Rafael Saes
79b2fc2a4d fix: missing colon 2023-11-30 15:22:01 -03:00
Rafael Saes
6590ef49a3 chore: remove linux files 2023-11-30 14:56:56 -03:00
Rafael Saes
7f8f805cc7 feat: change bitcoin address options order 2023-11-30 14:40:48 -03:00
Rafael Saes
fe5f0018b6 Merge remote-tracking branch 'origin/main' into CW-453-bitcoin-silent-payments 2023-11-30 14:39:02 -03:00
Rafael Saes
d1b30a5d2a fix: spend fixes 2023-11-30 14:32:11 -03: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
Rafael Saes
343817b1a7 feat: add testnet option to restore flow 2023-11-30 07:03:25 -03:00
Rafael Saes
5c205e4cc8 feat: pull changes from silent payments 2023-11-30 07:01:58 -03: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
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
Omar Hatem
ab83f5b67f
Cw 519 tor connection (#1158)
* initial draft for tor feature

* Configure nodes to use Tor proxy if enabled

* Add socks proxy upon connecting to tor
fix disconnect button

* Try tor with github actions

* accept defaults for rust installation

* Merge main
Change Tor tile name
2023-11-18 15:43:15 +02:00
Omar Hatem
e092509264
Generic fixes (#1173)
* - Catch get balance network issues
- Disable remove button when adding node

* Update packages and android gradle version
minor enhancements

* Backup issue fix

* update workflow java version

* Remove useless permission check for saving file

* minor enhancements

* only delete secure storage key before overriding it on MacOS

* Minor UI changes

* Remove debug prints [skip ci]

* Revert FR localization changes
2023-11-18 00:15:15 +02:00