Commit graph

2831 commits

Author SHA1 Message Date
Matthew Fosse
cf653cbe97 Merge branch 'bitcoin-derivations' of https://github.com/cake-tech/cake_wallet into bip39-less-confusing [skip ci] 2024-04-29 14:42:04 -07:00
Matthew Fosse
a008c1f2dd litecoin fixes 2024-04-29 14:39:14 -07:00
Matthew Fosse
4052d7edd5 change error state seed conditions into throwables [skip ci] 2024-04-29 14:16:14 -07:00
Matthew Fosse
49d6a29065 Merge branch 'bitcoin-derivations' of https://github.com/cake-tech/cake_wallet into bip39-less-confusing 2024-04-29 14:03:55 -07:00
Matthew Fosse
5ecc1a1db6
Bip39 passphrase support (#1412)
* save

* passphrase working

* fix for when loading wallets + translation update

* minor fix

* Fix Nano

* minor fix [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-04-29 19:57:46 +03:00
Matthew Fosse
d38ef8a9a8 litecoin mnemonic error fix 2024-04-29 09:52:53 -07:00
Matthew Fosse
34f7ed4eae split default derivation in to defaultCreation and mostCommon 2024-04-26 16:05:03 -07:00
Matthew Fosse
7b49b2ad87 minor fix 2024-04-26 15:47:10 -07:00
Matthew Fosse
38e34ec648 refactor + updates 2024-04-26 15:39:57 -07:00
Matthew Fosse
cb3289c99b fix to be much less confusing 2024-04-26 14:29:38 -07:00
Omar Hatem
68f75c61a1
Merge branch 'main' into bitcoin-derivations 2024-04-26 23:22:55 +03:00
Matthew Fosse
653f3974e4 minor fix 2024-04-26 13:20:44 -07:00
Omar Hatem
9e4a7f4331
Enhance bitcoin error message (#1399)
* Enhance bitcoin error message

* fix: unconfirmed spends, spend confirmed first, wrong balance exception

* Minor fixes

---------

Co-authored-by: Rafael Saes <git@rafael.saes.dev>
2024-04-26 22:29:31 +03:00
Omar Hatem
f3160860b1
Better handle corrupted wallets (#1384)
* Fix exchanges not showing

* Fix button text on Monero receive screen

* Temp fix for ERC20 and SPL tokens not having raw value

* fallback to other wallets if the current wallet is corrupted so we give user access to the app

---------

Co-authored-by: tuxsudo <tuxsudo@tux.pizza>
2024-04-26 22:13:44 +03:00
Matthew Fosse
6de618c22a fix for when loading wallets + translation update 2024-04-26 12:02:43 -07:00
Matthew Fosse
acd9fb329f passphrase working 2024-04-26 10:18:34 -07:00
Matthew Fosse
b6cb22b4fa save 2024-04-26 09:26:36 -07:00
Serhii
a6dc9bf9d6
Update electrum_wallet.dart (#1411) 2024-04-26 19:18:35 +03:00
Serhii
7fcf48f91d
Fix estimated fee calculation for customs fee rate (#1406)
* Update output.dart

* fix estimated fee calculation

* Update bitcoin_transaction_priority.dart
2024-04-26 19:18:26 +03:00
OmarHatem
d5bb3d39c6 Add Samourai Deposit 2024-04-26 17:20:56 +03:00
OmarHatem
c39c21cb64 Make the default BIP39 the 84 derivation path 2024-04-26 14:28:19 +03:00
OmarHatem
4b73df5d91 Add missing case for no transactions BIP39 wallet restore 2024-04-26 05:49:56 +03:00
OmarHatem
d5dfa46c86 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into bitcoin-derivations 2024-04-26 05:33:29 +03:00
Omar Hatem
a5a3b4ac0e
Update crypto_currency.dart 2024-04-26 05:32:13 +03:00
Matthew Fosse
3d8266922c Merge branch 'bitcoin-derivations' of https://github.com/cake-tech/cake_wallet into bitcoin-derivations 2024-04-25 18:36:40 -07:00
Matthew Fosse
d39ffe5ce1 updates & fixes 2024-04-25 18:36:28 -07:00
Omar Hatem
2456c2d7ef
Merge branch 'main' into bitcoin-derivations 2024-04-26 03:40:50 +03:00
OmarHatem
2cc115e557 Fix issues with Creating Electrum and Restoring Bip39 2024-04-26 01:30:59 +03:00
Serhii
9ff6da3d5d
dynamic max fee rate value (#1395) 2024-04-25 18:28:18 +02:00
Konstantin Ullrich
190c8e06b9
Use the latest version of the DFX Auth Api to minimize the number of API calls (#1410) 2024-04-25 13:06:11 +02:00
Konstantin Ullrich
3732a4c646
Language Fixes for DE (#1409) 2024-04-25 12:52:24 +02:00
Adegoke David
fff77519d9
Generic Fixes: Support Errors and others (#1394)
* fix: Crypto amout formatting when calculating fiat amount

* fix: Issue with some token symbols coming up with a dollar sign

* feat: Split transactions to display on history screen token byh token

* fix: Remove restriction on balance length

* fix: error when a particular token is not available

* fix: Remove token transactions when a token is deleted

* fix: Revert previous change

* make added spl tokens enabled by default
fix issue when entering invalid contract address

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-04-25 03:14:53 +02:00
Adegoke David
2ac81250c2
CW-615-Add-Check-For-Contract-Address (#1387)
* feat: Check if address is a valid Externally Owned Address

* feat: Check if the EVM address received when exchanging tokens is a valid EOA address

* move the contract address check to be only in the case of ThorChain [skip ci]

* some enhancements

* feat: Implement check for contract address for inputAddress when exchanging to ETH

* fix: Remove previous implementation and clean up current implementation for the check for contract address

* chore: Remove unneed space

* chore: Remove unneed space

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-04-25 03:14:11 +02:00
Matthew Fosse
dcfb2b2b73
fix empty string case (#1401)
* bio auth mac fix

* remove comment and change duration from 2 to 0

* cherry pick previous changes

* fix empty string case

* add support for path for all currency types

* disable paths on electrum and monero nodes

* undo mac auth changes

* stuff I missed

* 1 last thing

* another thing I missed
2024-04-25 02:00:53 +02:00
Adegoke David
65799a8764
fix: Issue with the privateKey of Solana wallets being different accross various apps (#1400) 2024-04-24 04:04:16 +02:00
Omar Hatem
4ed4659f9e
Revert "version bump to 3.13.9, auth working on mac (#1367)" (#1397)
This reverts commit e6b4b08c24.
2024-04-18 20:10:58 +02:00
Matthew Fosse
e48962361a
script updates and new run-android script (#1396) 2024-04-18 20:10:32 +02:00
Matthew Fosse
e6b4b08c24
version bump to 3.13.9, auth working on mac (#1367)
* 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

* fixes for updated dart version, localization file updates

* remove accidental inclusion

* missed some unimplemented throws
2024-04-18 19:00:24 +02:00
Matthew Fosse
02d719431a merge fix 2024-04-16 09:57:14 -07:00
Matthew Fosse
27ab2011eb Merge branch 'main' of https://github.com/cake-tech/cake_wallet into bitcoin-derivations 2024-04-16 09:20:01 -07:00
Omar Hatem
59d44e8c57
Generic enhancements (#1386)
* Update versions

* Show private key for electrum based wallets

* update polyseed

* fix webview page on desktop
remove private keys temporarily from electrum

* update versions
2024-04-16 01:49:49 +02:00
Serhii
a0820e8a73
pull to refresh (#1389) 2024-04-16 01:04:49 +02:00
Matthew Fosse
fb9534a0e9
service status button updates (#1388)
* service status button updates

* small fix

* update wording
2024-04-16 00:45:40 +02:00
Omar Hatem
953c278f8c
Update versions (#1380) 2024-04-15 23:49:11 +02:00
Omar Hatem
1769db1641
Generic Fixes (#1373)
* Fix exchanges not showing

* Fix button text on Monero receive screen

* Temp fix for ERC20 and SPL tokens not having raw value

* Manually Add Trocador new providers temporarily until API integration

* properly handle nullability of n2 node [skip ci]

---------

Co-authored-by: tuxsudo <tuxsudo@tux.pizza>
2024-04-12 16:01:21 +02:00
Matthew Fosse
fce6394bca
Cw 602 nano bad rep (#1356)
* add support for paths in node settings

* update translations and fixes

* fix node path

* add rep warning flag

* update translations

* code cleanup [skip ci]

* add additional node options

* add migration

* update transaction history rpc to be under the limit

* review fixes [skip ci]

* [skip ci] updates

* move n2_node.dart

* minor code improvements

* more minor code cleanup
2024-04-12 14:36:42 +02:00
Adegoke David
7abe5735c0
CW-589-WalletConnect-Connections-Independent (#1361)
* 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

* fix: Still trying to figure out what's wrong

* feat: Make walletconnect connections independent to wallet

* fix: Add proper return type to method

* fix: Alphabetizing translation files

---------

Signed-off-by: Blazebrain <davidadegoke16@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-04-12 02:33:43 +02:00
tuxsudo
dcf8ef0d71
Create SECURITY.md (#1375)
* Create SECURITY.md

* Update SECURITY.md
2024-04-10 03:32:43 +02:00
Omar Hatem
8a61ab7780
enhance UI for used addresses (#1337)
* enhance UI for used addresses

* Update electrum_wallet_addresses.dart

* fix tablet UI

---------

Co-authored-by: Serhii <borodenko.sv@gmail.com>
2024-04-10 03:28:31 +02:00
Adegoke David
f9679fecbe
CW-584-WalletConnect-For-Solana (#1362)
* 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

* fix: Still trying to figure out what's wrong

* Sync with remote

* feat: First run for walletconnect for solana

* chore: Add ankr api key to secrets

* remove duplicate transaction [skip ci]

---------

Signed-off-by: Blazebrain <davidadegoke16@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-04-09 02:26:11 +02:00