Commit graph

2882 commits

Author SHA1 Message Date
Adegoke David
341e06196d
CW-674: Improve Exchange Flow With Timeout For Rates (#1536)
* fix: Improve exchange flow by adding a timeout to the call to fetch rate from providers

* fix: Adjust time limit for fetching rate to 7 seconds and add timelimit to fetching limits

* Improve loadlimits function [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-07-21 02:26:05 +03:00
Adegoke David
415d2a3573
CW-672: Enhance ETH Transaction Fee Calculation (#1545)
* fix: Eth transaction fees WIP

* Revert "fix: Eth transaction fees WIP"

This reverts commit b9a469bc7e.

* fix: Modifying fee WIP

* fix: Enhance ETH Wallet fee calculation WIP

* feat: Enhance Transaction fees for ETH Transactions, Native transactions done, left with ERC20 transactions

* fix: Pre PR cleanups

* minor things [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-07-21 02:04:22 +03:00
Serhii
4410101672
add popup for cake pay transaction sent alert (#1533)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* add popup for cake pay transaction sent alert

* Revert "add popup for cake pay transaction sent alert"

This reverts commit 1df1bf0f00.

* fix localisation
2024-07-19 23:55:01 +03:00
cyan
c0cd68a823
update monero_c to fix unreachable wownero git hosting (#1534)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* update monero_c commit

* fix: no element in getAllUnusedSubAddresses

* fix: Wallet created with empty seed and 0 as private key

The error that was there is caused when
wallet is being created, but it errors out, so better handling of errors should be all that's needed, as it is not an error on it's
own, but rather lack of handling.

* fix: create transaction multi dest function is missing

* update monero_c hash

* fix: receiving on 2 different addresses shows as 1
2024-07-19 22:26:15 +03:00
Konstantin Ullrich
d6c5b84188
Fix Bitcoin not sending on Ledger (#1539) 2024-07-19 20:31:11 +03:00
Matthew Fosse
3103f3c893 update translations 2024-07-19 09:22:12 -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
tuxsudo
01d40c4dc3
Guides update (#1542)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* Rename build-guide-win.md to howto-build-windows.md

* Update howto-build-windows.md

* Update howto-build-windows.md

* Update howto-build-windows.md

* Update howto-build-windows.md

* Update howto-build-android.md

* Update howto-build-android.md

* Update howto-build-macos.md

* Update howto-build-macos.md

* Update howto-build-ios.md

* Update howto-build-android.md

* Update howto-build-windows.md
2024-07-19 05:37:20 +03: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
b77afee7ec workflow minor cleanup [skip ci] 2024-07-17 09:52:56 -07:00
Matthew Fosse
8ef96789d4 workflow and script fixes 2024-07-17 09:51:30 -07:00
Matthew Fosse
7c5cd1959c [skip ci] minor enhancements 2024-07-17 09:41:26 -07:00
Matthew Fosse
92669a6539 expirimental optimization 2024-07-17 09:38:51 -07:00
Matthew Fosse
ef458d1dae updates 2024-07-17 09:27:31 -07:00
Matthew Fosse
80d56bc400 workflow and script updates 2024-07-17 09:13:41 -07:00
Matthew Fosse
5a2a207aec sync status fixes, potential fix for background state issue 2024-07-16 12:41:13 -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
c831b18360 [skip ci] Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-07-11 11:59:14 -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
Konstantin Ullrich
ba44949244
support ledger stax (#1524)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-07-10 22:19:00 +03:00
Matthew Fosse
eaed450739 [skip ci] Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-07-10 11:08:46 -07:00
tuxsudo
080f4ce53f
Repo changes (#1526)
* Update config.yml

* Remove feature template
2024-07-10 20:21:21 +03:00
Matthew Fosse
bee6ad5cc4 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-07-09 16:19:39 -07:00
Matthew Fosse
4008add46e save [skip ci] 2024-07-09 16:14:53 -07:00
Omar Hatem
9e9534a4e5
V4.19.0 v1.16.0 (#1520)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* remove server entitlement

* remove server entitlement

* minor adjustment
2024-07-08 18:32:44 +03:00
OmarHatem
c28ee4b1e7 potential fix
Some checks are pending
Cache Dependencies / test (push) Waiting to run
2024-07-08 16:16:31 +03:00
OmarHatem
ff400e85e0 potential fix 2024-07-08 16:07:49 +03:00
Omar Hatem
a001088b01
Update cache_dependencies.yml 2024-07-08 14:02:59 +03:00
Omar Hatem
f902a644db
Node Auto-reconnect and connectivity enhancements (#1513)
* Add auto-reconnect
Enhance connectivity issues

* minor enhancement [skip ci]

* minor: remove core secrets since it's empty

* pending transactions fix

* temporary fix for RBF

* remove unused hashes from cache key

* fix minimum limits check

* Add authentication to services api

* update polyseed

* override hashlib package
2024-07-06 17:42:17 +03:00
cyan
0335702aa9
fix: fiat amount when sending all (#1516)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* fix: fiat amount when sending all

* possible fix for pending txs
workaroudn update

* also for wow
2024-07-06 16:01:42 +03:00
tuxsudo
c5d3cbf66c
Merge pull request #1462 from cake-tech/CW-621-Open-external-sites-in-default-browser
Some checks are pending
Cache Dependencies / test (push) Waiting to run
CW-621 Open external sites in default browser
2024-07-06 00:23:13 +02:00
Serhii
87d266a7b2 Merge branch 'main' into CW-621-Open-external-sites-in-default-browser 2024-07-05 12:23:56 +03:00
Matthew Fosse
73492ad865
update nano default node (#1408)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* update nano default node

* fix node indicator

* Update pr_test_build.yml

* Update pr_test_build.yml

* update default nano node for new wallets

* support extra args on tool script

* remove nano secrets from node.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-07-04 22:44:08 +03:00
Omar Hatem
36eacd8698
Wownero (#1485)
* fix: scanning issues

* fix: sync, storing silent unspents

* chore: deps

* fix: label issues, clear spent utxo

* chore: deps

* fix: build

* fix: missing types

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

* 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

* 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

* fix: send all with multiple outs

* add missing monero_c command

* add android build script

* 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

* Add tron to windows application configuration.

* Add macOS option for description message in configure_cake_wallet.sh

* Include missed monero dll for windows.

* 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.

* 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++

* 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

* 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

* 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

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

* fix conflicts and update macos build guide

* remove build cache when on gh actions

* update secure storage

* free up even more storage

* free up more storage

* Add initial wownero

* fix conflicts

* fix workflow issue

* build wownero

* ios and windows changes

* macos

* complete wownero flow (app side)

* add keychain group entitlement and update script for RunnerBase on macos

* update secure_storage version to 8.1.0 in configure.dart

* add wownero framework

* update ios builds

* proper path for wownero and monero

* finalizing wownero

* finalizing wownero

* free up even more storage

* revert commenting of build gradle configs

* revert commenting of secrets [skip ci]

* free more storage

* minor fixes

* link android wownero libraries

* bump monero_c commit

* wownero fixes

* rename target

* build_single.sh using clean env

* bump monero_c commit

* minor fix

* Add wownero polyseed

* fix conflicts with main

* fix: wallet seed display
fix: wownero not refreshing

* fix: wallet seed display
fix: wownero not refreshing

* bump monero_c commit

* minor fixes

* fix: incorrectly displaying XMR instead of WOW

* fix: incorrect restore height in wownero

* bump monero_c commit

* Add Inno Setup Script for windows exe installer

* drop libc++_shared.so

* fixes from comments

* Fix CMake for windows

* Merge latest monero dart changes [skip ci]

* bump monero_c commit

* add wownero to build scripts for macos [skip ci]

* add 14 word seed support to wownero

* UI fixes for wownero seed restore

* minor fixes

* reformat code to pass lints

* wownero: fixes
haven: removal popup

* minor iOS fix [skip ci]

* fix: wownero confirmation count (it is spendable after 3 confirms)
fix: transaction history not displaying in WOW and XMR
when tx has 0 confirms,
This is more of a workaround, because I have no idea
why would the cpp code not return pending transaction.

* Update preferences_key.dart [skip ci]

* minor fixes

---------

Co-authored-by: Rafael Saes <git@rafael.saes.dev>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
Co-authored-by: M <m@cakewallet.com>
Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
Co-authored-by: Matthew Fosse <matt@fosse.co>
2024-07-04 22:43:17 +03:00
Matthew Fosse
14210d266d [skip ci] Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-07-02 15:32:36 -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