Commit graph

2533 commits

Author SHA1 Message Date
Adegoke David
32643823e5
Cw 451 wallet connect for ethereum (#1049)
* Update Flutter
Update packages

* Feat: Wallet connect for ethereum

* Fix localization issues
Fix UI issues
Update old packages
Update workflow
Update how to build guide

* feat: Wallet connect

* feat: Add wallet connect for ethereum

* chore: Add eth dependencies in configure file

* Minor: `WalletConnect` settings name, not `Wallet connect`

* fix: Merge conflicts

* fix: Issues with test cases on various dApps, introduce Arbitrum rinkerby as suported chain

* ui: Design fixes for WalletConnect flow

* chore: Update repo and comment out send apk to channel in workflow

* fix: Core implementation

* feat: WalletConnect WIP

* feat: WalletConnect WIP

* feat: WalletConnect WIP

* chore: Unused parameters WIP [skip ci]

* fix: Code review fixes

* Feat: WalletConnect feat WIP

* feat: WalletConnect

* feat: WalletConnect

* feat: WalletConnect

* Feat: WalletConnect

* Feat: WalletConnect

* feat: Remove queue support for the bottomsheet

* feat: WalletConnect feature, bug fixes, folder restructuring, localization

* Feat: Add positive feedback prompt on successful transaction

* fix: Delete session bug

* fix: dependencies registration WIP

* feat: Registering dependencies for walletconnect

* chore: Move key data to secrets

* chore: ensure appropriate null checks

* chore: localization

* chore: Remove unused code

* localization

* chore: Remove unused code

* chore: Remove unused code

* chore: Add walletconnect project id key entry

* fix: Revert bash command for linnux support

* fix: Issues with translation in some languages and making unneeded external variable private

* fix: Add bottomsheet listener to desktop dashboard page

* Generalize ethereum not enough gas error check

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
2023-10-03 17:56:10 +03:00
fosse
431a17ab08 should've been nullable 2023-10-03 10:55:38 -04:00
fosse
cb48d73ae0 review fixes 2023-10-03 10:29:56 -04:00
Justin Ehrenhofer
e83063535e clean-up: remove address_from_ens 2023-09-29 12:32:48 -05:00
Omar Hatem
ae71f2045b
New versions v4.9.2 and v1.6.2 (#1108) 2023-09-29 20:28:26 +03:00
fosse
2e9b937a6d updated ens message to be consistent with others 2023-09-29 13:08:02 -04:00
fosse
183d0be20b limit ens to just .eth domains 2023-09-29 11:58:19 -04:00
fosse
c71e4b4689 prevent fillint empty addresses 2023-09-29 11:28:23 -04:00
fosse
2775e1d9f8 remove print statement 2023-09-29 11:25:10 -04:00
fosse
dff1ee2148 fix default eth node for ens 2023-09-29 11:24:07 -04:00
fosse
953cae3e48 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-477-add-ens 2023-09-29 11:14:02 -04:00
Omar Hatem
b1859b9e63
Generic Fixes (#1103)
* Update trade_details_page.dart

* let web3dart calculate gas price and max gas while just providing the priority fee per gas needed
2023-09-29 01:53:53 +03:00
Adegoke David
f07062d987
fix: Cake-2FA-setup-issue (#1097)
* fix: Cake 2FA setup issue

* fix: 2FA Setup issue

* fix: 2FA setup bug
2023-09-28 21:40:15 +03:00
Konstantin Ullrich
dc36c31197
CW-489 Skip Warning if all monero utxo are selected (#1106) 2023-09-28 20:49:46 +03:00
Procyon Lotor
9eb6867ab9
Exolix integration (#1080)
* Add Exolix exchange integration

* update tx payload

* remove import

* Improve mapping

* Additional fixes

* fix apiBaseUrl

* Update trade_details_view_model.dart

* Update exolix_exchange_provider.dart

* Fix status URL

* Fix fetch rates API error handling update limits API to use a valid amount and validate on success status code

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-09-28 19:20:08 +03:00
fosse
fc4e9ac978 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-477-add-ens 2023-09-25 10:14:48 -04:00
fosse
51bbaf02a5 fixes 2023-09-25 10:01:45 -04:00
fosse
1521a67c03 fixes for other coin types 2023-09-25 09:56:34 -04:00
fosse
8b2b3bda16 ens review fixes 2023-09-25 09:47:39 -04:00
Serhii
d6c641242f
CW-475-Better-error-message-if-there-isnt-enough-network-fee-asset-available (#1092)
* Better error message

* minor fixes

* localization

* Update strings_tl.arb

* Update append_translation.sh
2023-09-25 15:20:11 +03:00
Adegoke David
04f5391be1
feat: Add otp url link to qa screen (#1098) 2023-09-23 03:30:06 +03:00
Serhii
572d928848
CW-442-Update-exchange-selector-checkboxes-with-checkboxes-from-transactions-filter-screen (#1074)
* Update checkboxes

* fix exchange provider selector

* checkbox picker refactoring

* Revert "checkbox picker refactoring"

This reverts commit 66eea9d690.

* Update check_box_picker.dart
2023-09-22 18:09:30 +03:00
Omar Hatem
95ea825728
Add Brightness Util to check for platform before increasing brightness (#1096) 2023-09-22 17:53:30 +03:00
fosse
b5852509f3 fix 2023-09-22 10:24:16 -04:00
fosse
14d3401137 translation fixes 2023-09-22 09:56:50 -04:00
fosse
f8cb8657f6 remove bad translations 2023-09-22 09:50:09 -04:00
fosse
147abc6203 small fix 2023-09-21 10:16:57 -04:00
fosse
a52c7b053e ens working 2023-09-21 10:16:27 -04:00
fosse
d8d2335a5f version fix 2023-09-19 12:21:51 -04:00
fosse
6b1c7e832d ens changes 2023-09-19 12:09:13 -04:00
fosse
ed5a139490 save 2023-09-18 14:57:57 -04:00
Omar Hatem
b6de1be6c4
Update app version and release notes (#1093) 2023-09-17 13:23:14 +03:00
Konstantin Ullrich
0eecf0bee5
Cw 483 add tagalog and filipino localizations (#1086)
* CW-483 Add "Add new language Script"

* CW-483 Add Filipino Language
2023-09-15 00:41:54 +03:00
Konstantin Ullrich
d972363417
Add additional Buy Provider (#1071)
* CW-466 Add Buy Options Page

* CW-466 Add Buy Options

* CW-466 Add Default Buy Provider to Other Settings

* CW-466 Onramper is working from Buy Options

* CW-466 Onramper is working from Buy Options

* CW-466 Translation improvements

* CW-466 Add Onramper & Robinhood Logos

* CW-466 Implement Robinhood Flow

* CW-466 Fix Robinhood Flow

* CW-466 Add RH-Secrets

* CW-466 Have RH Translation in English only

* Add missing URI details

* CW-466 Implement default Buy Provider

* CW-466 Fix Padding Buy Provider Options

* CW-466 Fix Bitcoin and Litecoin Signatures

* CW-466 Fix Error Message

* CW-466 Resolve requested changes

* Add exception handler to robinhood API calls

* CW-466 Fix Theming

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-09-14 22:14:49 +03:00
Omar Hatem
ce4d375abf
Generic fixes and enhancements (#1083)
* Add exception handler to fiat APIs
Increase send card size for coin control
Fix Monero.com unspent coins hive box issue
minor bug fix

* Remove EIP-1559 parameters from Eth transaction
Enhance error reporting

* Throw error if not enough monero utx outputs are selected

* Fix Search text color

* Fix Ethereum sending EIP-1559 transactions

* Add transaction data to ERC20 transactions

* Add input check in single output transactions as well

* Fix Node deletion issue
Handle user input error in anonpay

* Remove exception handler from fiat conversion since it's not working with isolates

* Require enough utxo for amount and fees; More insightful Error messages

* Add cakewallet to applinks [skip ci]

* Add cakewallet app link for iOS [skip ci]

* Add applink depending on app scheme variable

* Add applink in iOS custom to the app getting built [skip ci]

* Handle normal app links without considering them as Payment URIs

* Minor fix [skip ci]

* Fixate encrypt package version as the recent update they made has some issues [skip ci]

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2023-09-14 22:14:16 +03:00
Omar Hatem
4c9c6a1eae
CW- 463 Fix transaction receive address not showing for Eth/Erc20 (#1076)
* Fix transaction receive address not showing for Eth/Erc20 [skip ci]

* Fix transaction receive address for Eth/Erc20
2023-09-14 22:12:41 +03:00
Konstantin Ullrich
4bcf6162f1
CW-476 Only get Transactions of one Account on tx-history refresh (#1077) 2023-09-08 20:12:54 +03:00
Omar Hatem
94f256997f
New versions (#1073) 2023-09-08 17:15:28 +03:00
Omar Hatem
68a821cc0e
Fiat api fix (#1070)
* Cw 474 linux swapping wallets btc then xmr still shows btc receive qr code (#1068)

* feat: improve address page txt field

* fix: switching wallets from the desktop dropdown updates dashboard pages

* Revert "feat: improve address page txt field"

This reverts commit 0a30e6d9e1.

* refactor: rename to WalletChangeListener

* fix: _init also behaves on wallet change

* Fix Fiat conversion API parsing
Cherry pick fix for Desktop switching wallets not updating dashboard screens

* Minor indentations fix [skip ci]

---------

Co-authored-by: Rafael Saes <76502841+saltrafael@users.noreply.github.com>
2023-09-01 18:06:18 +03:00
Adegoke David
710fe82d7a
CW-471-Changing-nodes-bug (#1062)
* chore: Cleanup

* fix: Node selection not updating

* fix: Node selection not updating

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-09-01 17:05:45 +03:00
Adegoke David
e634562cf4
Cw-465-Remove CakePay Button on Mobile/Desktop (#1057)
* feat: Remove CakePayButton Mobile

* feat: Remove CakePayButton Desktop

* feat: Remove CakePay Mobile Button

* feat: Remove CakePay Mobile Button

* feat: Remove CakePay Mobile Button

* fix: Action breaking
2023-09-01 16:59:18 +03:00
Konstantin Ullrich
8757390c8f
CW-481 Fix empty Address (#1072) 2023-09-01 14:04:35 +03:00
Adegoke David
d51b9bd684
feat: Replace transfer.sh (#1066)
* feat: Replace transfer.sh

* Update build_haven.sh

* Update pr_test_build.yml

* Update pr_test_build.yml

* Update pr_test_build.yml

* feat: Change apk name in PR workflow

* feat: Change apk name in PR workflow

* feat: Change apk name in PR workflow

* fix: Remove test-apk prefix in app name

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-08-31 20:09:10 +03:00
Matthew Fosse
feca2410b8
Merge pull request #1067 from cake-tech/generic_fixes
Generic fixes
2023-08-30 12:30:45 -04:00
OmarHatem
6b9c47563e Allow triggering cache workflow manually
Fix haven build script
2023-08-30 19:15:07 +03:00
Omar Hatem
1cc2c645fa
Fix Wallet Loading issues (basic_string & input_stream) (#1059)
* Recover from wallet loading exceptions (basic_string & input_stream)
Recover from removed cached wallets

* Fix restoring as Monero wallets
Fix restoring wallets with invalid files

* Add coin control missing changes for macos monero files

* Add same key for cached dependencies [skip ci]
2023-08-30 18:11:56 +03:00
Godwin Asuquo
fff5a1c419
CW-228 Auto generate monero subaddress (#902)
* Add UI and setting logic for subaddresses

* Enable auto generate subaddresses

* Rename variable

* Add comment to unused code

* Fix issue with initial state change

* Fix observable for isAppSecure

* Filter sub account contacts

* Fix select account use unused address

* Use add address if last address is unused

* Fix auto generate wallet issues

* Fix button color

* Add translation and refactored naming

* Fix PR review

* Remove unused code

* Remove unused overrides in electrum

* Fix address info null check

* CW-228 Fix ContactListViewModel condition

* CW-228 Fix Account Tile; Rework updateAddressesInBox; Fix _getAllUnusedAddresses

* CW-228 Fix unintentional address_page.dart regression

* CW-228 Fix Merge Conflicts

* CW-228 Add more translation Tools

* CW-228 More merge conflict fixes

* CW-228 Fix Merge Conflicts

* CW-228 Auto Translation improvements

* CW-228 Resolve requested Changes

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2023-08-29 19:11:51 +03:00
Justin Ehrenhofer
9999816850
Improve ChangeNOW and Trocador network mapping (#1058)
* Improve ChangeNOW network mapping

Follows Trocador code to use the title instead of the const name, and to allow normalizing across the tag level instead of needing to map the `legacyTicker`

I will test

* Missing `}`

* Remove `:`

* Add normalizeTitle for zec

* Missing `;`

* Make functions private and fix zec for Trocador

* Add supported assets [skip ci]

* Change name [skip ci]
2023-08-25 00:30:53 +03:00
Godwin Asuquo
f6670c0236
CW-415 add coin control for xmr (#985)
* Added CoinsInfo to monero_api_cpp

* Add struct on dart

* Add struct on dart

* Set coins value

* CW-415 Use add-coin-to-monero branch

* CW-415 Add get Coin and build Monero Deps using Docker

* CW-415 Fix Typo

* CW-415 add debug log info

* CW-415 Add preferred key Images for coin control to Monero

* CW-415 Fix generation

* CW-415 Skip GA Cache Externals

* CW-415 Skip GA Cache Externals

* CW-415 Coin Control: remove Block Explorer for Monero, Add Tx hash, save note on field exit

* CW-415 Coin Control: Throw Exception when all outputs are deselected

* CW-415 Coin Control: Show Frozen Balance on Dashboard

* CW-415 Coin Control: Show Frozen Balance on Dashboard

* CW-415 Ignore cached Monero deps in Workflow

* CW-415 Fix displaying frozen Balance

* Use own Translator with http 1.1.0

* CW-415 Resolve requested Changes

* CW-415 Resolve requested Changes

* CW-415 Resolve requested Changes

* CW-415 Apply requested Changes

* CW-415 Apply requested Changes

* CW-415 Ensure opening of UnspentCoinsInfo Box, even for Monero.com

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2023-08-24 16:54:05 +03:00
Omar Hatem
3577730de8
Add restore from private key to Ethereum (#1055)
* Add restore from private key to Ethereum
Add restore from QR code for Ethereum in both seeds/keys

* Add node network issue to ignored errors [skip ci]
2023-08-23 15:33:20 +03:00