Commit graph

681 commits

Author SHA1 Message Date
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
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
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
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
21da36f268 [skipci] save 2024-03-07 10:17:56 -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
Matthew Fosse
7dc999bdb1 send updates 2024-03-06 10:38:11 -08:00
Matthew Fosse
c65d8c43bc monero.com fixes 2024-03-05 09:51:20 -08:00
Matthew Fosse
b763328354 review fixes 2024-03-05 09:21:08 -08:00
Matthew Fosse
fb913eb65d more fixes 2024-03-04 23:13:19 -08:00
Matthew Fosse
7f7a941f45 fiat api fix, attempt icon fix, other review fixes 2024-03-04 23:07:10 -08:00
Matthew Fosse
e32203945a fix min sats being stuck at 2500 2024-03-04 15:37:22 -08:00
Matthew Fosse
9bae7aa880 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into breez 2024-03-04 10:37:04 -08:00
Matthew Fosse
0977711b7a fiat api fixes 2024-03-04 10:34:46 -08:00
Matthew Fosse
5ad0aa42fb extend electrum 2024-03-04 09:47:39 -08:00
Omar Hatem
c7deeaea9b
New versions (#1312)
* New versions
Fix issues with Monero.com

* Add sending for Solana tokens exchanges

* Add default keyword for P2WPKH [skip ci]

* chore: Switch solana commitment to confirmed to reduced blockhash expiration (#1313)

* Modify test workflow to send arm64-v8a build only

* Fix workflow build path

* Remove unnecessary reverse of txId

* Show case sensitive evm wallet address

* Revert default Cake Theme
add custom package id for test builds

* Fix workflow script

* Fix workflow

* hash branch name

* hash branch name

* Update versions

* Add user image to Nostr
Add fetching address from text for tokens

* Fix test app package id

* fix: Solana message improvement (#1316)

---------

Co-authored-by: Adegoke David <64401859+Blazebrain@users.noreply.github.com>
2024-03-04 19:32:10 +02:00
Matthew Fosse
12b8d54426 fiat fixes 2024-03-01 14:14:58 -08:00
Matthew Fosse
7b051206bb fixes 2024-03-01 14:00:07 -08:00
Matthew Fosse
f80e3bdcc9 fix fiat api issues 2024-03-01 09:55:44 -08:00
Matthew Fosse
b97e2860ff fixes and new translations 2024-03-01 09:08:32 -08:00
Matthew Fosse
8633eb6a70 save before adding translations 2024-03-01 08:49:24 -08:00
Matthew Fosse
bc6073692a currency updates 2024-02-29 12:39:49 -08:00
Matthew Fosse
0d3d8ba18d minor fixes 2024-02-29 10:29:01 -08:00
fosse
cd8ad676f5 sats 2024-02-27 16:50:26 -05:00
fosse
d9c5629180 more code cleanup 2024-02-27 14:49:23 -05:00
fosse
10c6ae7d5b save 2024-02-27 14:40:41 -05:00
fosse
d3e830ee2d save 2024-02-27 14:24:02 -05:00
fosse
617555b633 use sats in more places 2024-02-26 14:46:05 -05:00
fosse
dd5b918d65 fix 2024-02-26 13:23:51 -05:00
fosse
88a882e7f4 invoice fixes 2024-02-26 13:01:39 -05:00
fosse
90e66ab4bf small fix 2024-02-26 12:51:37 -05:00
fosse
b474d90243 small cleanup 2024-02-26 12:41:36 -05:00
fosse
c2664d2658 hopefully builds 2024-02-23 12:46:17 -05:00
fosse
729ef79246 Merge branch 'breez' of https://github.com/cake-tech/cake_wallet into breez 2024-02-23 12:29:59 -05:00
fosse
7b68c036d5 lots of merge conflict fixes :( 2024-02-23 12:29:11 -05:00
Omar Hatem
c99c3408f4
Merge branch 'main' into breez 2024-02-23 19:09:42 +02:00
Omar Hatem
cbc0c3afd6
Generic fixes (#1304)
* fix mobx no element error

* fix mobx issue

* Remove unused code

* Enhance error handling for monero sync failure case

* Separate litecoin mnemonic exception from bitcoin

* - Enable onramper for polygon
- Add Kaspa validation

* Set null as the default length of address validation

* Modify EVM fee text [skip ci]

* Add seed length option to polygon

* Add digibyte

* Update configure_cake_wallet.sh and fix conflicts

* Pin bottom section

* Fix Solana missing isTestnet param
2024-02-23 19:09:24 +02:00
fosse
c4614725c3 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into breez 2024-02-23 11:24:21 -05:00
fosse
04093010d9 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-519-tor 2024-02-23 11:20:07 -05:00
Rafael
a3a35f05e1
Btc address types (#1263)
* inital migration changes

* feat: rest of changes

* minor fix [skip ci]

* fix: P2wshAddress & wallet address index

* fix: address review comments

* fix: address type restore

* feat: add testnet

* Fix review comments
Remove bitcoin_base from cw_core

* Fix address not matching selected type on start

* remove un-necessary parameter [skip ci]

* Remove bitcoin specific code from main lib
Fix possible runtime exception from list wrong access

* Minor fix

* fix: fixes for Testnet

* fix: bitcoin receive option dependency breaks monerocom

* Fix issues when building Monero.com

* feat: Transaction Builder changes

* fix: discover addresses, testnet restoring, duplicate unspent coins, and taproot address vs schnorr sig tweak

* fix: remove print

* feat: improve error when failed broadcast response

* feat: create fish shell env script

* fix: unmodifiable maps

* fix: build

* fix: build

* fix: computed observable side effect bug

* feat: add nix script for android build_all

* fix: wrong keypairs used for signing

* fix: wrong addresses when using fromScriptPubKey scripts

* fix(actual commit): testnet tx expanded + wrong addresses when using fromScriptPubKey scripts (update bitcoin_base deps)

* fix: self-send [skip ci]

* fix: p2wsh

* fix: testnet fees

* New versions

* Update macos build number
Minor UI fix

* fix: use new bitcoin_base ref, fix tx list wrong hex value & refactor hidden vs hd use

- if always use sideHd for isHidden, it is easier to simplify the functions instead of passing both which can be error prone
- (ps: now this could probably be changed, for example from isHidden to isChange since with address list we now see "hidden" addresses)

* Fix if condition to handle litecoin case

* fix: self-send, change address was always making direction incoming

* refactor: improve estimation function, add more inputs if balance missing

* fix: new bitcoin_base update, fixes script issues

* Update evm chain wallet service arguments

* Fix translation [skip ci]

* Fix translation [skip ci]

* Update strings_fr.arb [skip ci]

* fix: async isChange function not being awaited, refactor to reduce looping into a single place

* fix: _address vs address, missing p2sh

* fix: minor mistake in storing p2sh page type [skip ci]

* refactor: use already matched addresses property

* feat: improved perfomance for fetching transaction histories

* feat: continue perfomance change, improve address discovery only to last address by type with history

* fix: make sure transaction list is sorted by date

* refactor: isTestnet only for bitcoin

* fix: walletInfo type null case

* fix: deprecated p2pk

* refactor: make condition more readable

* refactor: remove unnecessary Str variant

* refactor: make condition more readable

* fix: infinite loop possible

* Revert removing isTestnet from other wallets [skip ci]

* refactor: rename addresses when matched by receive type

* Make the beta build [skip ci]
Remove app_env.fish

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-02-23 18:13:30 +02:00
Adegoke David
109bba4301
CW-555-Add-Solana-Wallet (#1272)
* chore: Create cw_solana package and clean up files

* feat: Add Solana Wallet - Create, Restore form seed, restore from Key, Restore from QR, Send, Receive, transaction history, spl tokens

* fix: Make transactions file specific to solana only for solana transactions

* chore: Revert inject app details script

* fix: Fix issue with node and switch current node to main beta instead of testnet

* fix: Fix merge conflicts and adjust migration version

* fix: Fetch spl token error

Signed-off-by: Blazebrain <davidadegoke16@gmail.com>

* fix: Diplay and activate spl tokens bug

* fix: Review and fixes

* fix: reverted formatting for cryptocurrency class

* fix: Review comments, split sending flow into signing and sending separately, fix issues

* fix: Revert throwing unimplenented error

* chore: Fix comment

* chore: Fix comment

* fix: Errors in flow

* Update provider_types.dart [skip ci]

* fix: Issues with solana wallet

* Update solana_wallet.dart [skip ci]

* fix: Review comments

* fix: Date time config

* fix: Revert bash script for app details

* fix: Error with balance, displaying fees, fixing sent or received identifier bug, displaying token symbol with token transaction item in transactions list

* fix: Issues with address validation when sending spl tokens and walletconnect initial setup

* fix: Issues with sending, fetching transactions history, almost wrapping up walletconnect

* fix: Adjust imports that would affect monerocom building successfully

* fix: Refine transaction direction and continue work on walletconnect

* feat: Display SPL token transfers in the transaction history and finally settle the transaction direction

* fix: Delay in transactions history dispaly, show native token transactions first, then process spl token transactions

* feat: Switch node and revert solana chain id to previous id

* fix: Remove print statement

* fix: Remove await for transactions, fetch all transaction histories instantly and adjust solana send success message

* chore: Code refactoring and streamlined wallet type check for solana send success message

* fix: Make timeout error for node silent and add spl token images

---------

Signed-off-by: Blazebrain <davidadegoke16@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-02-23 15:39:19 +02:00