Commit graph

2462 commits

Author SHA1 Message Date
Omar Hatem
f4fad4d94d
Fix Erc20 send all feature (#1030)
* Fix Erc20 send all feature

* Remove debug prints

* Add user connection issues and certificate issues to ignored errors [skip ci]
2023-08-11 16:58:11 +03:00
fosse
7d156820ca small fix 2023-08-11 09:32:11 -04:00
fosse
db23b28ddd disable account generation 2023-08-11 09:30:40 -04:00
Justin Ehrenhofer
07844a6ef4
Readme: update to include desktop (#1032)
Fix my major omission 😬

skip ci
2023-08-11 14:33:36 +03:00
Justin Ehrenhofer
8d8bfb350d
Remove old screenshots [skip ci] (#1033)
[skip ci]
2023-08-11 14:32:14 +03:00
fosse
0217c2db8b save 2023-08-10 19:29:51 -04:00
fosse
181ca98688 account changing barely working 2023-08-10 18:34:20 -04:00
Justin Ehrenhofer
f6d76a6bb6
Add Ethereum and f-droid to readme (#1031)
* Add Ethereum and f-droid to readme

skip-ci

* minor fixes [skip ci]

fix wrong indentation for adding new localization text

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-08-10 19:07:12 +03:00
Konstantin Ullrich
af9b5ff10c
Cw 397 chatwoot live support (#1011)
* initial button refactor and gradient background

* CW-397 Use a separate Hive instance to avoid Issues with plugins using Hive

* CW-397 Add Support Page Strings

* CW-397 Add new Support Page

* CW-397 Add Support Live Chat Page

* CW-397 Add Hive Type Ids Doc

* CW-397 Use Newer Chatwoot SDK Version and add new Images

* CW-397 Update pubspec_base.yaml

* CW-397 Add own Chatwoot Widget

* Lowercase `s` skip-ci

* CW-397 Fix WebMessageListener

* CW-397 Fix Merge conflicts

* CW-397 Add Erc20 Hive Type ID

* CW-397 Fix Ethereum Hive Error

* CW-397 Revert to Restore Button

* CW-397 Only use In App chat on mobile

* CW-397 Move Chatwoot Website Token to secrets

* CW-397 Add Chatwoot Website Token to workflow

* CW-397 Move Chatwoot fetchUrl to Support View Model

---------

Co-authored-by: Rafael Saes <git@saes.io>
Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
2023-08-10 16:42:53 +03:00
fosse
c0a8ddbf73 fix 2023-08-10 09:05:34 -04:00
Justin Ehrenhofer
e348f12491
Update UD domains (#1017)
* Try adding `.eth` to UD service

* Remove eth and coin, add other supported

https://api.unstoppabledomains.com/resolve/supported_tlds

https://unstoppabledomains.com/blog/categories/announcements/article/coin
2023-08-10 15:38:53 +03:00
Justin Ehrenhofer
21c656fdc3
Add PYUSD to token list [skip ci] (#1027)
PayPal USD (PYUSD) is disabled by default, to appear only in the token search list.

https://github.com/paxosglobal/pyusd-contract
2023-08-10 15:37:38 +03:00
Justin Ehrenhofer
edd31954b0
Minor changes: Update privacy policy (#1029)
Minor changes, including:

* Better reference Fiat API service and the ability to turn it off
* Better reference optional Error logs sending
* Minor other clarifications
2023-08-10 15:36:18 +03:00
fosse
4cabac8ddc update translations 2023-08-09 21:10:41 -04:00
fosse
bdbf360b73 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-438-add-nano 2023-08-09 21:07:04 -04:00
fosse
d3c76b6d55 pow node changes 2023-08-09 21:05:24 -04:00
fosse
32554b4cc8 fixes, start adding ui for PoW 2023-08-09 09:37:38 -04:00
Adegoke David
fb5a1112e2
feat: Replace buy action to use onramper (#1026) 2023-08-08 18:09:51 +03:00
fosse
ca03c846c2 banano changes 2023-08-08 09:49:13 -04:00
fosse
27777d4918 save 2023-08-08 08:58:08 -04:00
Omar Hatem
8185b88b4a
Enable Eth/Erc20 auto send in exchange (#1024)
* Generate missing secrets file for ethereum

* Enable Sending ERC-20 and Ethereum automatically from an Exchange
2023-08-08 04:02:09 +03:00
fosse
5875051ace change rep screen functional 2023-08-07 13:25:55 -04:00
fosse
35deea5e17 save 2023-08-07 12:47:08 -04:00
fosse
82c7648897 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-438-add-nano 2023-08-07 11:47:35 -04:00
Omar Hatem
d1684f5be8
v4.8.0 and v1.5.0 (#1021)
* Update versions
Add Ethereum to MacOS
Fix Ethereum config when building Monero.com

* Fix Restore from backup issue

* Update app build versions
Fix minor UI issue
2023-08-07 14:43:04 +03:00
fosse
dd0b498c0f fixes 2023-08-04 14:11:09 -04:00
Omar Hatem
aedf310c9d
Cw 155 monero synchronization (#1014)
* Run Monero Synchronization task in background on Android

* Add monero sync task in the load function to be registered/cancelled when user changes wallets

* Revert unused file changes

* Register Sync task on all monero wallets if any

* Add Sync Modes and change task frequency based on user's choice

* Register background task after current wallet is set

* Add Sync All toggle and change task wallets to sync accordingly

* Enable background notifications in release mode temporarily

* Disable constraints and increase the frequency of tasks

* Decrease frequency of background tasks

* Delay the background task thread till the syncing thread finish (Dummy Trial-1)

* Start Sync process and wait for it to finish

* Wait for synchronization to finish before ending the background thread
Add 10 minutes timeout duration for sync process

* Connect to node before syncing wallet

* replace testing configuration with the configurations agreed on

* Fix Conflicts with main

* Update and Migrate Background tasks to null safety

* Update workmanager version in pubspec_base also

* Move Sync options to Connection and sync page
Show Sync options only for Monero and Haven
Minor Enhancements

* Remove debugging notifications
Revert aggressive mode frequency to 6 hours [skip ci]

* Add iOS configs

* Revert debugging changes
Fix conflicts with main

* Add/Extract Sync configurations to/from backup file [skip ci]
2023-08-04 20:55:56 +03:00
fosse
607d767523 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-438-add-nano 2023-08-04 13:45:42 -04:00
Omar Hatem
68a057b91b
CW-450 Add version code & version name to android configs (#1020)
* Add version code and version name to android configuration

* Update inject_app_details.sh

configure script to run on Linux
2023-08-04 20:02:05 +03:00
Omar Hatem
3ce4000dcf
Cw 78 ethereum (#862)
* Add initial flow for ethereum

* Add initial create Eth wallet flow

* Complete Ethereum wallet creation flow

* Fix web3dart versioning issue

* Add primary receive address extracted from private key

* Implement open wallet functionality

* Implement restore wallet from seed functionality

* Fixate web3dart version as higher versions cause some issues

* Add Initial Transaction priorities for eth
Add estimated gas price

* Rename priority value to tip

* Re-order wallet types

* Change ethereum node
Fix connection issues

* Fix estimating gas for priority

* Add case for ethereum to fetch it's seeds

* Add case for ethereum to request node

* Fix Exchange screen initial pairs

* Add initial send transaction flow

* Add missing configure for ethereum class

* Add Eth address initial setup

* Fix Private key for Ethereum wallets

* Change sign/send transaction flow

* - Fix Conflicts with main
- Remove unused function from Haven configure.dart

* Add build command for ethereum package

* Add missing Node list file to pubspec

* - Fix balance display
- Fix parsing of Ethereum amount
- Add more Ethereum Nodes 

* - Fix extracting Ethereum Private key from seeds
- Integrate signing/sending transaction with the send view model

* - Update and Fix Conflicts with main

* Add Balances for ERC20 tokens

* Fix conflicts with main

* Add erc20 abi json

* Add send erc20 tokens initial function

* add missing getHeightByDate in Haven

* Allow contacts and wallets from the same tag

* Add Shiba Inu icon

* Add send ERC-20 tokens initial flow

* Add missing import in generated file

* Add initial approach for transaction sending for ERC-20 tokens

* Refactor signing/sending transactions

* Add initial flow for transactions subscription

* Refactor signing/sending transactions

* Add home settings icon

* Fix conflicts with main

* Initial flow for home settings

* Add logic flow for adding erc20 tokens

* Fix initial UI

* Finalize UI for Tokens

* Integrate UI with Ethereum flow

* Add "Enable/Disable" feature for ERC20 tokens

* Add initial Erc20 tokens

* Add Sorting and Pin Native Token features

* Fix price sorting

* Sort tokens list as well when Sort criteria changes

* - Improve sorting balances flow
- Add initial add token from search bar flow

* Fix Accounts Popup UI

* Fix Pin native token

* Fix Enabling/Disabling tokens
Fix sorting by fiat once app is opened
Improve token availability mechanism

* Fix deleting token
Fix renaming tokens

* Fix issue with search

* Add more tokens

* - Fix scroll issue
- Add ERC20 tokens placeholder image in picker

* - Separate and organize default erc20 tokens
- Fix scrolling
- Add token placeholder images in picker
- Sort disabled tokens alphabetically

* Change BNB token initial availability

* Fix Conflicts with main

* Fix Conflicts with main

* Add Verse ERC20 token to the initial tokens list

* Add rename wallet to Ethereum

* Integrate EtherScan API for fetching address transactions
Generate Ethereum specific secrets in Ethereum package

* Adjust transactions fiat price for ERC20 tokens

* Free Up GitHub Actions Ubuntu Runner Disk Space

* Free Up GitHub Actions Ubuntu Runner Disk space (trial 2)

* Fix Transaction Fee display

* Save transaction history

* Enhance loading time for erc20 tokens transactions

* Minor Fixes and Enhancements

* Fix sending erc20
fix block explorer issue

* Fix int overflow

* Fix transaction amount conversions

* Minor: `slow` -> `Slow` 

* Update build guide

* Fix fetching fiat rate taking a lot of time by only fetching enabled tokens only and making the API calls in parallel not sequential

* Update transactions on a periodic basis

* For fee, use ETH spot price, not ERC-20 spot price

* Add Etherscan History privacy option to enable/disable Etherscan API

* Show estimated fee amounts in the send screen

* fix send fiat fields parsing issue

* Fix transactions estimated fee less than actual fee

* handle balance sorting when balance is disabled
Handle empty transactions list

* Fix Delete Ethereum wallet
Fix balance < 0.01

* Fix Decimal place for Ethereum amount
Fix sending amount issue

* Change words count

* Remove balance hint and Full balance row from Ethereum wallets

* support changing the asset type in send templates

* Fix Templates for ERC tokens issues

* Fix conflicts in send templates

* Disable batch sending in Ethereum

* Fix Fee calculation with different priorities

* Fix Conflicts with main

* Add offline error to ignored exceptions

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
2023-08-04 20:01:49 +03:00
fosse
32dd14a53e seed generation fixes 2023-08-04 10:54:20 -04:00
Adegoke David
4120394121
CW-266 verbose access controls for TOTP 2FA (#967)
* chore: Setup

* feat: Verbose controls for TOTP 2FA WIP [skip-ci]

* feat: Implement verbose controls for sends to contact, non contacts and internal wallets

* feat: Implement verbose 2FA control for exchanges to internal wallets [skip-ci]

* Implement verbose controls

* chore: PR cleanup

* fix: Implement fixes and recommendations on verbose controls

* feat: Localization for verbose controls settings

* fix: disable pin when 2fa is not activated

* fix: Naming error

* chore: Reformat code with linelength of 100

* fix: Wallet type page and type bug when creating wallet

* fix: add new values to be stored in local storage to both reload function and import/export functions in back_service.dart

* fix: White spaces with localization files

* fix: Switch observers in modify_2fa page to individual observer

* chore: Switch custom tab widget to reusable SettingsChoicesCell widget

* chore: Remove unneeded argument in create wallet entrypoint

* fix: Switch type for selectedCakePreference when importing preferences from backup file

* fix: Await all values being saved to local storage

---------

Co-authored-by: David Adegoke <blazebrain@Davids-MacBook-Pro.local>
2023-08-04 16:49:26 +03:00
fosse
6688682096 change rep working 2023-08-04 09:33:48 -04:00
Adegoke David
e9df03b49b
feat: Introduce QR Scanning to add new node (#1007)
* feat: Introduce QR Scanning to add new node

* fix: Exception handing for scan qr and invalid qr value

* fix: Exception handing for scan qr and invalid qr value
2023-08-04 14:27:19 +03:00
Konstantin Ullrich
76322a1777
CW-392 Allow Users to rename Monero and Haven accounts (#1008) 2023-08-04 14:18:27 +03:00
fosse
18e8142258 ci/cd fix 2023-08-03 07:24:15 -04:00
fosse
26f57a4db2 potential fix 2023-08-03 07:10:05 -04:00
fosse
5f76f31d0e potential fix 2023-08-03 06:57:47 -04:00
fosse
a4f4d2f58b fix github actions workflow 2023-08-03 06:43:48 -04:00
fosse
c0cb7ab429 small fix 2023-08-02 13:31:04 -04:00
fosse
0eb538b2cb more strings 2023-08-02 13:28:26 -04:00
fosse
94db74160a more fixes 2023-08-02 13:16:43 -04:00
fosse
9c3322b2b6 fixes 2023-08-02 12:43:08 -04:00
fosse
8e43decab6 update translations 2023-08-02 12:38:13 -04:00
fosse
c8d9fcbaf4 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-438-add-nano 2023-08-02 12:34:36 -04:00
fosse
5563bea04e save 2023-08-02 11:47:00 -04:00
Serhii
d5c0012964
CW-224-Allow-Monero-proxy-in-node-settings (#966)
* update setupNodeSync func

* minor fixes

* localization

* add request node with proxy

* formatting
2023-08-02 14:48:52 +03:00
Rafael Saes
fcf4fbdc14
Cw 433 support send templates with multiple recipients (#995)
* feat: Support Send templates with multiple recipients

* feat: use only first name for template display, and sum total amount

* fix: amounts being wiped

* feat: make send template card buttons function like send card

* feat: replace amount -> name for template name

* fix: template name
2023-08-02 01:19:04 +03:00
fosse
ca3bf2f3f5 fix for scanning QR codes 2023-08-01 15:56:34 -04:00
fosse
f8a2e4dd7c fixes + auto receive incoming txs 2023-08-01 13:48:22 -04:00