Commit graph

92 commits

Author SHA1 Message Date
Matthew Fosse
dadae35c95 fix regression 2024-08-27 11:44:18 -04:00
Matthew Fosse
2552fb9552 ensure we don't initialize mweb until we really have to 2024-08-23 18:04:26 -04:00
Matthew Fosse
a0c315c4cf more fixes 2024-08-23 17:52:40 -04:00
Matthew Fosse
10c2353288 more fixes 2024-08-23 17:25:33 -04:00
Matthew Fosse
527983af4f updates 2024-08-23 15:17:28 -04:00
Matthew Fosse
ef077c8647 change address fixes 2024-08-19 15:11:08 -04:00
Matthew Fosse
c620d6d5a8 dart:convert != package:convert 2024-08-19 14:33:05 -04:00
Matthew Fosse
501e4998c7 fix 2024-08-19 13:14:00 -04:00
Matthew Fosse
d315617efa small fix 2024-08-19 12:31:50 -04:00
Matthew Fosse
7d36da91fa small fix 2024-08-19 12:30:25 -04:00
Matthew Fosse
dac4a121d8 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-08-19 12:02:15 -04:00
Matthew Fosse
83ef61e928
Cw 565 sign messages (#1378)
* version bump to 3.13.9, auth working on mac

* bump flutter version in workflow file

* workflow fix

* test fix

* downgrade flutter version

* test fix

* test fix

* update gradle version

* start working on ui for message signing

* updates

* sign working for a few wallet types

* updates & verification for electrum currencies

* nano support

* sign/verify working on eth, bitcoin broken

* update translations

* Implement Verify Message for Monero

* save [skip ci]

* pub key extraction working

* fixes for electrum signing

* verify working for solana!

* electrum still not working :( [skip ci]

* electrum messages working!

* fixes for updated dart version, localization file updates

* remove accidental inclusion

* missed some unimplemented throws

* Update res/values/strings_de.arb

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

* Apply suggestions from code review

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

* review suggestions and updates [skip ci]

* [skip ci] add polygon

* [skip ci] merge mac-auth/update version

* fix litecoin

* bio auth mac fix

* remove comment and change duration from 2 to 0

* cherry pick previous changes

* litecoin fixes, sign form fixes, use new walletAddressPicker

* support accounts

* verify messages working for monero

* working sign and verify messages for nano

* electrum signing working [skip ci]

* additional nano fixes

* update translations

* attempt to decode signatures with base64

* workaround for secure storage bug on mac

* bump version to 3.19.5 (because breez will need this version anyways)

* some code cleanup

* some changess didn't get saved

* just documenting the issue [skip ci]

* undo accidental removal + minor code cleanup

* merge conflicts

* merge fixes [skip ci]

* add tron support

* [wip] fixing

* remove duplicate references to electrum path for maintainability

* fixes

* minor fix

* fixes

* undo debug comment

* update migration for all electrum based wallets

* hotfixes

* copy over the rest of the fixes

* minor code cleanup [skip ci]

* updates

* electrum signing workinggit statusgit statusgit statusgit status!

* copy same fixes for litecoin

* litecoin fixes

* add v to litecoin signatures

* fix dependencies

* fix bitcoin_base version

* merge fix

* dep override

* fix conflicts with main

* trial fix for android build

* fixes

* fix

* dep fix, should build

* fix signing for bitcoin cash

* [skip ci] minor code cleanup

* [skip ci] minor code cleanup 2

* forgot wonero, various other fixes

* more fixes

* fix solana (untested)

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-08-18 02:10:27 +03:00
Matthew Fosse
192045310c fixes 2024-08-14 13:16:52 -07:00
Matthew Fosse
c4499869e5 updates 2024-08-14 12:31:27 -07:00
Matthew Fosse
d8accfb38b [skip ci] fix always scan setting, swift updates 2024-08-14 11:31:28 -07:00
Matthew Fosse
cfd1cf30ec Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-08-12 21:25:04 -07:00
cyan
1ce60d62b3
CW-676 Add Linux scripts to build monero_c for linux platform (#1527)
* Revert "Revert btc address types"

This reverts commit a49e57e3

* Re-add Bitcoin Address types
Fix conflicts with main

* fix: label issues, clear spent utxo

* chore: deps

* fix: build

* fix: missing types

* feat: new electrs API & changes, fixes for last block scanning

* Update Monero

* not sure why it's failing

* Enable Exolix
Improve service updates indicator
New versions

* Add exolix Api token to limits api

* Ignore reporting network issues

* Change default bitcoin node

* Merge main and update linux version

* Update app version [skip ci]

* New versions

* Fix conflicts and update linux version

* minor fix

* feat: Scan Silent Payments homepage toggle

* chore: build configure

* feat: generic fixes, testnet UI improvements, useSSL on bitcoin nodes

* fix: invalid Object in sendData

* feat: improve addresses page & address book displays

* feat: silent payments labeled addresses disclaimer

* fix: missing i18n

* chore: print

* feat: single block scan, rescan by date working for btc mainnet

* feat: new cake features page replace market page, move sp scan toggle, auto switch node pop up alert

* feat: delete silent addresses

* fix: red dot in non ssl nodes

* fix: inconsistent connection states, fix tx history

* fix: tx & balance displays, cpfp sending

* feat: new rust lib

* chore: node path

* fix: check node based on network

* fix: missing txcount from addresses

* style: padding in feature page cards

* fix: restore not getting all wallet addresses by type

* fix: auto switch node broken

* fix: silent payment txs not being restored

* update linux version

* feat: change scanning to subscription model, sync improvements

* fix: scan re-subscription

* fix: default nodes

* fix: improve scanning by date, fix single block scan

* refactor: common function for input tx selection

* various fixes for build issues

* initial monero.dart implementation

* ...

* multiple wallets
new lib
minor fixes

* other fixes from monero.dart and monero_c

* fix: nodes & build

* update build scripts
fix polyseed

* remove unnecessary code

* Add windows app, build scripts and build guide for it.

* Minor fix in generated monero configs

* Merge and fix main

* fix: send all with multiple outs

* add missing monero_c command

* add android build script

* update version

* Merge and fix main

* undo android ndk removal

* Fix modified exception_handler.dart

* Temporarily remove haven

* fix build issues

* fix pr script

* Fixes for build monero.dart (monero_c) for windows.

* monero build script

* wip: ios build script

* refactor: unchanged file

* Added build guides for iOS and macOS. Replaced nproc call on macOS. Added macOS configuration for configure_cake_wallet.sh script.

* Update monero.dart and monero_c versions.

* Add missed windows build scripts

* Update the application configuration for windows build script.

* Update cw_monero pubspec lock file for monero.dart

* Update pr_test_build.yml

* chore: upgrade

* chore: merge changes

* refactor: unchanged files [skip ci]

* Fix conflicts with main

* fix for multiple wallets

* update app version [skip ci]

* Add tron to windows application configuration.

* Add macOS option for description message in configure_cake_wallet.sh

* fix missing encryption utils in hardware wallet functions [skip ci]

* fix conflicts

* Include missed monero dll for windows.

* reformatting [skip ci]

* fix conflicts with main

* Disable haven configuration for iOS as default. Add ability to configure cakewallet for iOS with  for configuration script. Remove cw_shared configuration for cw_monero.

* fix: scan fixes, add date, allow sending while scanning

* add missing nano secrets file [skip ci]

* ios library

* don't pull prebuilds android

* Add auto generation of manifest file for android project even for iOS, macOS, Windows.

* remove tron

* feat: sync fixes, sp settings

* feat: fix resyncing

* store crash fix

* make init async so it won't lag
disable print starts

* fix monero_c build issues

* libstdc++

* merge main and update version

* Fix MacOS saving wallet file issue
Fix Secure Storage issue (somehow)

* update pubspec.lock

* fix build script

* Use dylib as iOS framework. Use custom path for loading of iOS framework for monero.dart. Add script for generate iOS framework for monero wallet.

* fix: date from height logic, status disconnected & chain tip get

* fix: params

* feat: electrum migration if using cake electrum

* fix nodes
update versions

* re-enable tron

* update sp_scanner to work on iOS [skip ci]

* bump monero_c hash

* bump monero_c commit

* bump moneroc version

* bump monero_c commit

* Add ability to build monero wallet lib as universal lib. Update macOS build guide. Change default arch for macOS project to .

* fix: wrong socket for old electrum nodes

* update version

* Fix unchecked wallet type call

* get App Dir correctly in default_settings_migration.dart

* handle previous issue with fetching linux documents directory [skip ci]

* backup fix

* fix NTFS issues

* Add Tron
Update Linux version

* Close the wallet when the wallet gets changed

* fix: double balance

* feat: node domain

* fix: menu name

* bump monero_c commit

* fix: update tip on set scanning

* fix: connection switching back and forth

* feat: check if node is electrs, and supports sp

* chore: fix build

* minor enhancements

* fixes and enhancements

* solve conflicts with main

* Only stop wallet on rename and delete

* fix: status toggle

* minor enhancement

* Monero.com fixes

* bump monero_c commit

* update sp_scanner to include windows and linux

* merge main

* Update macOS build guide. Change brew dependencies for build unbound locally.

* fix: Tron file write, build scripts

* - merge linux with Monero Dart
- Temporarily disable Monero

* fix other issues with linux

* linux ci
fix build script

* Update pr_test_build_linux.yml

install required packages

* add linux desktop dependencies

* don't use apk in linux build releases

* don't copy the file to test-apk

* fix linux runtime issues

* remove libc++_shared.so

* fix issues with linux

* prepare both android and linux (because otherwise it will fail)

* ci script updates

* run apt update

* bump image to ubuntu 22.04
note: remember to put it down later

* bump python version

* remove some dependencies

* remove unused import

* add missing dependencies

* fix dependencies

* some fixes

* remove print [skip ci]

* Add back RunnerBase.entitlements
minor fixes [skip ci]

* fix memory leak / infinite recurrsion when opening xmr wallet

* url_launcher_linux: 3.1.1 # https://github.com/flutter/flutter/issues/153083

* fix conflicts with main

* handle walletKeysFile with encryptionUtils

* update app version [skip ci]

* add wownero [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
Co-authored-by: Rafael Saes <git@rafael.saes.dev>
Co-authored-by: M <m@cakewallet.com>
Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2024-08-13 01:18:14 +03:00
Matthew Fosse
8949db3b93 bitcoin_flutter removal fixes 2024-08-12 14:55:55 -07:00
Matthew Fosse
b686c82a44 minor fix 2024-08-12 12:15:32 -07:00
Matthew Fosse
8f579b1175 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb [untested!] 2024-08-12 10:54:24 -07:00
Rafael
bbba41396d
Fixes node connection, and sp, and electrum (#1577)
* refactor: remove bitcoin_flutter, update deps, electrs node improvements

* feat: connecting/disconnecting improvements, fix rescan by date, scanning message

* chore: print

* Update pubspec.yaml

* Update pubspec.yaml

* handle null sockets, retry connection on connect failure

* fix imports

* fix transaction history

* fix RBF

* minor fixes/readability enhancements [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Co-authored-by: Matthew Fosse <matt@fosse.co>
2024-08-12 02:49:45 +03:00
Omar Hatem
fb33a6f23d
Cw 688 avoid wallet file corruption (#1582)
* CW-688 Store Seed and keys in .keys file

* CW-688 Open wallet from keys in .keys file and migrate wallets using the old file

* CW-688 Open wallet from keys in .keys file and migrate wallets using the old file

* CW-688 Restore .keys file from .keys.backup

* CW-688 Restore .keys file from .keys.backup

* CW-688 Move saving .keys files into the save function instead of the service

* CW-688 Handle corrupt wallets

* CW-688 Handle corrupt wallets

* CW-688 Remove code duplication

* CW-688 Reduce cache dependency

* wrap any file reading/writing function with try/catch [skip ci]

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2024-08-09 23:15:30 +03:00
Matthew Fosse
6946db6344 state fixes 2024-07-22 12:32:57 -07:00
Matthew Fosse
c127743a2d [skip ci] update translations + minor fixes 2024-07-22 11:21:04 -07:00
Matthew Fosse
8e6901118a updates 2024-07-22 10:08:19 -07:00
Matthew Fosse
ea28698b2d remove neutrino.db if no litecoin wallets left after deleting 2024-07-19 09:15:28 -07:00
Matthew Fosse
399d0cab8b coin control edge cases 2024-07-19 00:06:23 -07:00
Matthew Fosse
964f66c74a updates 2024-07-18 23:37:29 -07:00
Matthew Fosse
a2121ef73e save 2024-07-17 14:59:25 -07:00
Matthew Fosse
adee6ffe53 more experiments 2024-07-17 14:58:35 -07:00
Matthew Fosse
65509c00b4 experimental 2024-07-17 14:32:07 -07:00
Matthew Fosse
ba4893f46b balance when sending fix 2024-07-17 14:03:47 -07:00
Matthew Fosse
b38deb4e7e minor code cleanup & friendlier error message on failed tx's 2024-07-17 13:45:47 -07:00
Matthew Fosse
7c5cd1959c [skip ci] minor enhancements 2024-07-17 09:41:26 -07:00
Matthew Fosse
ef458d1dae updates 2024-07-17 09:27:31 -07:00
Matthew Fosse
ac6dc67356 minor fix - 2 2024-07-15 21:58:11 -07:00
Matthew Fosse
45f229123f minor fix 2024-07-15 21:56:20 -07:00
Matthew Fosse
a883780653 potential fixes 2024-07-15 12:59:20 -07:00
Matthew Fosse
8efe70fb24 save [skip ci] 2024-07-12 13:40:37 -07:00
Matthew Fosse
720914727e fix txCount for addresses 2024-07-11 17:22:35 -07:00
Matthew Fosse
d81eb0cdfc address balance and txCount fixes, try/catch electrum call 2024-07-11 15:55:37 -07:00
Matthew Fosse
e5e2a8706b coin control fixes 2024-07-11 11:49:14 -07:00
Matthew Fosse
4ec9d7b2e1 unspent coins / coin control fixes 2024-07-11 10:54:44 -07:00
Matthew Fosse
dfdf16a6c2 fix unconfirmed balance not updating when receiving 2024-07-10 12:45:30 -07:00
Matthew Fosse
4008add46e save [skip ci] 2024-07-09 16:14:53 -07:00
Matthew Fosse
a1dbe3bf2b fix some rescan and address gen issues 2024-07-01 10:05:07 -07:00
Matthew Fosse
dee77a6752 updates 2024-07-01 09:00:41 -07:00
Matthew Fosse
7869334d46 fix tx history not persisting + update build_mwebd script 2024-06-28 12:37:12 -07:00
Matthew Fosse
29f77aae22 add rescan from height feature and test workflow build 2024-06-28 09:16:54 -07:00
Matthew Fosse
e595d2d6cd [skip ci] lots of fixes, still testing 2024-06-24 12:48:42 -07:00