Commit graph

3095 commits

Author SHA1 Message Date
Adegoke David
a9b8c03e55
CW-596-Solana-Bug-Fixes (#1340)
* fix: Generic bug fixes across solana

* fix: Remove back and forth parsing

* fix: Add check to cut flow when estimated fee is higher than wallet balance

* Update error message for fees exception

* Remove logs

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-03-29 20:55:29 +02:00
Omar Hatem
698c222291
Generic fixes (#1348)
* Change order of currencies in currency picker

* Disable Background sync until implemented properly

* remove ability to use device pin in bio auth

* Fix condition

* Minor fix [skip ci]

* make notifications red dot go when opened

* Update Frozen coin text color

* Update Frozen coin text color

* Fetch internal transactions for eth and polygon

* Remove debug prints [skip ci]

* Fix Camera permission on iOS [skip ci]

---------

Co-authored-by: tuxsudo <tuxsudo@tux.pizza>
2024-03-29 20:54:59 +02:00
Rafael
fd9018bcc4
Cw 598 fixes for electrum based wallets (#1344)
* fix: address book addresses, bch builder, exchange all fee estimation, bch coin control

* feat: new error framework for Electrum messages

* build: cw_bitcoin.dart

* feat: error improvements, localization, fix exchange amount mismatch

* chore: misc comment & print [skip ci]

* feat: refactor & simplify sendAll vs regular tx estimation and creation

- Since there were so many conditions inside a single function to alter its behavior if sendAll or not, it is easier and more readable to have separate sendAll and estimateTx functions that behave separately

* fix: wrong LTC dust

* feat: fee rate confirmation

* fix: wrong createTrade value when isSendAll is enabled

* fix bitcoin cash address parsing [skip ci]

* fix: form no amount validator, address book with multiple entries, exchange all below min error

* fix: improve string, fix sending with dust inputs at the top

* fix: two change outputs when re-estimating

* fix: sendAll with a little dust adds fees

* chore: sanity check [skip ci]

* fix: if the fee is higher than estimated

* Minor enhancement [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-03-29 20:51:34 +02:00
Matthew Fosse
a1ee4d88c1 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into breez 2024-03-29 09:07:41 -07:00
Matthew Fosse
b584cb7f7c update deps 2024-03-29 09:07:19 -07:00
Matthew Fosse
522747030f update breez 2024-03-29 09:06:36 -07:00
Matthew Fosse
78685b74f0
Cw 521 moonpay buy (#1335)
* save

* save

* moonpay fixes

* fix for debug mode

* code cleanup

* another fix for debug mode

* [skip ci] fixes

* test build

* code cleanup

* fix buy page
2024-03-28 15:30:41 +02:00
Serhii
cdf081edfd
Cw 537 integrate thor chain swaps (#1280)
* thorChain btc to eth swap

* eth to btc swap

* update the UI

* update localization

* Update thorchain_exchange.provider.dart

* minor fixes

* minor fix

* fix min amount bug

* revert amount_converter changes

* fetching thorChain traid info

* resolve evm related merge conflicts

* minor fix

* Fix eth transaction hash for Thorchain Integration

* add new status endpoint and refund address for eth

* Adjust affiliate fee

* Fix conflicts with main

* review comments + transaction filter item

* taproot addresses check

* added 10 outputs check

* Update thorchain_exchange.provider.dart

* minor fixes

* update thorchain title

* fix fetching rate for thorchain

* Revert "fix fetching rate for thorchain"

This reverts commit 3aa1386ecf.

* fix thorchain exchange rate

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-03-28 14:41:11 +02:00
Matthew Fosse
26a3ebdde0 bump breez version and update code to match 2024-03-26 09:20:05 -07:00
Konstantin Ullrich
b9e803f3bd
Fix pubspec generation on windows (#1351) 2024-03-26 18:08:39 +02:00
Adegoke David
6ae0f37b9c
CW-597-AuthService-Bug (#1346)
* fix: AuthService keychain bug fix

* fix: Fetch read implementation

* fix: Simplify logic for retries

* Minor enhancement

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-03-26 12:37:52 +02:00
Matthew Fosse
9b5aa9154c add lightning warning 2024-03-25 13:15:19 -07:00
Matthew Fosse
ef2e56467a fix lightning dep 2024-03-25 12:15:19 -07:00
Matthew Fosse
15131c848a Merge branch 'main' of https://github.com/cake-tech/cake_wallet into breez 2024-03-25 12:14:07 -07:00
Matthew Fosse
c43ccdd177 [skipci] save 2024-03-25 12:13:54 -07:00
tuxsudo
4520f583a6
Add toggle for disabling service bulletin (#1347)
* Add toggle for disabling service bulletin

* Make the toggle functional

* Fix + add toggle to Advanced Settings

* Remove unused variable

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-03-25 20:28:45 +02:00
Konstantin Ullrich
bca59ad5e4
Remove moonpay secret use exchange-helper instead (#1343)
* Remove moonpay secret use exchange-helper instead

* Update lib/buy/moonpay/moonpay_provider.dart

* remove web3dart dep from cw_solana

* Apply new api for moonpay exchange helper

* Add Robinhood as Polygon buy-provider
2024-03-25 20:16:57 +02:00
Matthew Fosse
2cd9ba42d2 Merge branch 'breez' of https://github.com/cake-tech/cake_wallet into breez 2024-03-25 09:15:59 -07:00
Matthew Fosse
dd9e01ae82 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into breez 2024-03-25 09:14:29 -07:00
Omar Hatem
8e9558199a
Update pr_test_build.yml 2024-03-24 05:13:45 +02:00
Omar Hatem
a067293b64
Update pr_test_build.yml 2024-03-24 04:02:28 +02:00
Matthew Fosse
8fac4e68a4 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into breez 2024-03-21 09:25:02 -07:00
Matthew Fosse
9f782956ca just set hard cap on invoice max 2024-03-21 09:18:48 -07:00
Matthew Fosse
d0c2c2802b revert and fix 2024-03-21 08:38:39 -07:00
Matthew Fosse
381363c3cc update error message to be more clear 2024-03-21 08:36:14 -07:00
Omar Hatem
af7fe05099
Generic fixes (#1342)
* handle balance exceptions in estimating All exchange

* Fix trades not showing
2024-03-21 16:31:05 +02:00
Omar Hatem
ecb4f32cda
Fix Exchange field not taking numbers (#1341) 2024-03-21 15:42:16 +02:00
Omar Hatem
5a7a0e01a7
Litcoin bitcoin cash fix (#1339)
* Make address to output script a single entry point
Fix network type for bitcoin cash

* Add MoonPay to sell polygon

* Normalize currency for moonpay widget

* Minor fix

* fix: litecoin & bch address types

* fix: remove print

* fix: network decode location

* fix: missing place additional network type

* fix: wrong initial address page type

* fix: initial address generation

* fix: btc exchange sending all, bch without change addresses

* Minor fixes

* Update app versions [skip ci]

---------

Co-authored-by: Rafael Saes <git@rafael.saes.dev>
2024-03-21 04:51:57 +02:00
Serhii
a0c0ede099
Cw 588 show popup for adding to address book (#1326)
* popup for adding to address book

* update localization files
2024-03-20 00:44:00 +02:00
Serhii
58b2dfb26c
Fix deep link handling issue (#1297)
* Update root.dart

* Revert "Update root.dart"

This reverts commit 5808903aaf.

* Update root.dart

* increase delay

* fix with mobx reaction

* lunchUri fix
2024-03-19 21:55:34 +02:00
Omar Hatem
27347779fa
New versions (#1334)
* Enable Exolix
Improve service updates indicator
New versions

* Add exolix Api token to limits api

* Ignore reporting network issues

* Change default bitcoin node
2024-03-18 17:45:11 +02:00
Matthew Fosse
d1ab9e3827 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into breez 2024-03-18 08:40:27 -07:00
Omar Hatem
50b5ebc622
Monero update (#1325)
* New price API

* Fix test app package id

* Fix workflow

* change environment variable to use pr number [skip ci]

* Fix un-needed padding

* Fix raw value for usdtSol

* Remove duplicate fetching for balance and transactions at start [skip ci]

* Fix address validation of spl tokens

* Add Service Status

* Update lib/src/widgets/service_status_tile.dart

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

* Update lib/src/widgets/services_updates_widget.dart

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

* Update monero version

* update sodium script

* Change automatic priority fee rate

* New versions [skip ci]

* Update monero version

* Temp remove split per abi

* Specifically build monero.com

* Revert monero dependencies trial fix

* Update Monero
Fix Monero Automatic Priority

* Fix android script

* Fix build_monero.sh android
Add svg notification icon

* trial 1

* trial 2

* trial 3

* trial 4

* Trial 5

* Trial

* revert

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2024-03-14 20:26:00 +02:00
Matthew Fosse
06bdf3f97c Merge branch 'main' of https://github.com/cake-tech/cake_wallet into breez 2024-03-13 08:51:20 -07:00
Matthew Fosse
6f097c51ef make warning text easier to read 2024-03-13 08:51:13 -07:00
Rafael Saes
ce864d17e7 Merge remote-tracking branch 'origin/main' into CW-453-silent-payments 2024-03-11 11:29:37 -03:00
Rafael Saes
dd532b4fe0 feat: new electrs API & changes, fixes for last block scanning 2024-03-11 09:46:20 -03:00
Omar Hatem
6414364602
Generic fixes (#1320)
* New price API

* Fix test app package id

* Fix workflow

* change environment variable to use pr number [skip ci]

* Fix un-needed padding

* Fix raw value for usdtSol

* Remove duplicate fetching for balance and transactions at start [skip ci]

* Fix address validation of spl tokens

* Add Service Status

* Update lib/src/widgets/service_status_tile.dart

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

* Update lib/src/widgets/services_updates_widget.dart

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

* Update monero version

* update sodium script

* Change automatic priority fee rate

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2024-03-10 04:02:30 +02:00
Matthew Fosse
eb1654c8f0 remove manage nodes from lightning wallets 2024-03-08 10:42:14 -08:00
Matthew Fosse
e78f17c3d9 finish translations 2024-03-07 10:32:55 -08:00
Matthew Fosse
7aa9b5e2d0 2nd translation done 2024-03-07 10:27:01 -08:00
Matthew Fosse
b987d83fe2 first translation done 2024-03-07 10:24:19 -08:00
Matthew Fosse
21da36f268 [skipci] save 2024-03-07 10:17:56 -08:00
Matthew Fosse
f6dfe935d6 update translation script with force option 2024-03-07 09:36:14 -08:00
Matthew Fosse
32350b8ab2 disable exchange for lightning + save before translation updates 2024-03-07 09:26:23 -08:00
Matthew Fosse
29fc88d841 fix 2024-03-07 07:40:08 -08:00
Matthew Fosse
3feac41c61 fix 2024-03-07 07:38:27 -08:00
Matthew Fosse
c7dd20fa41 fixes 2024-03-06 22:47:24 -08:00
Matthew Fosse
3fd8430e83 fixes 2024-03-06 22:10:40 -08:00
Matthew Fosse
8828262ee0 fixes 2024-03-06 21:26:43 -08:00