Commit graph

2589 commits

Author SHA1 Message Date
fosse
9fad4e114f fix nano exchange 2023-10-10 13:07:19 -04:00
fosse
95e7ee1cbb refactor fixes 2023-10-10 11:27:11 -04:00
fosse
8e130166ac blanket comment some stuff out to narrow down this issue 2023-10-10 10:08:22 -04:00
fosse
bb422ed224 additional refactor improvements 2023-10-09 17:19:58 -04:00
fosse
d1f421a760 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into bitcoin-derivations 2023-10-09 14:34:48 -04:00
Matthew Fosse
dd81db74e8
fix in strings_fr.arb (#1119) 2023-10-09 21:34:15 +03:00
fosse
ae97e50bf4 debatably better refactoring of derivationInfo, migration needed 2023-10-09 14:08:14 -04:00
fosse
d4c8a1d8f6 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into bitcoin-derivations 2023-10-09 11:39:54 -04:00
Omar Hatem
e5408a388e
v4.10.0 & v1.7.0 (#1113)
* New versions

* update the new version text after macos [skip ci]

* add cake-wallet headers

* add nano/banano to getAddressFromStringPattern

* Revert "Exolix integration (#1080)"

This reverts commit 9eb6867ab9.

* fix: Bug in conditions check and clean up of repeated code in switch cases (#1117)

* update build numbers [skip ci]

---------

Co-authored-by: fosse <matt.cfosse@gmail.com>
Co-authored-by: Adegoke David <64401859+Blazebrain@users.noreply.github.com>
2023-10-09 18:18:59 +03:00
Mathias Herberts
5a20d342ad
Fr.fixes.v4.9.2 (#1116)
* Fixed typo

* Fixes of French localization
2023-10-08 14:23:46 +03:00
fosse
b3b40914d0 fix dashboard page indicators being the same color 2023-10-06 09:21:21 -04:00
fosse
db83cb625f move wallet restore page proxy code to the view model 2023-10-05 10:39:07 -04:00
Matthew Fosse
54e8c0c192
Delete lib/nano/nano.dart 2023-10-05 10:31:54 -04:00
fosse
2e0234ab28 remove problematic imports and duplicate changes 2023-10-05 10:31:04 -04:00
fosse
e33b3d5266 post merge fixes 2023-10-05 10:15:57 -04:00
fosse
1c210274d3 stuff that should've stayed deleted 2023-10-05 10:09:47 -04:00
fosse
25ef8cbe67 formatting 2023-10-05 10:02:00 -04:00
fosse
e9cd76f534 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into bitcoin-derivations 2023-10-05 10:01:44 -04:00
Matthew Fosse
cb21a28b22
hotfix nodes page loading in the wrong nodes (#1112) 2023-10-05 16:42:35 +03:00
Serhii
b414893211
CW-491-Send-to-Mastodon-username-addresses (#1107)
* Send to Mastodon username addresses

* Update mastodon_user.dart

* Enhance Eth out of gas error condition
Remove some code warnings [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-10-05 15:18:35 +03:00
Adegoke David
bad9b4c608
fix: Wallet type check when registering key service (#1111)
* fix: Wallet type check when registering key service

* fix: WalletConnect dependency registration
2023-10-05 15:04:08 +03:00
Matthew Fosse
4c60b178be
CW-438 add nano (#1015)
* 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 [skip ci]

* - 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 [skip ci]

* 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 [skip ci]

* 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` [skip-ci]

* initial changes

* more base config stuff

* config changes

* successfully builds!

* save

* successfully add nano wallet

* save

* seed generation

* receive screen + node screen working

* tx history working and fiat fixes

* balance working

* derivation updates

* nano-unfinished

* sends working

* remove fees from send screen, send and receive transactions working

* fixes + auto receive incoming txs

* fix for scanning QR codes

* save

* update translations

* fixes

* more fixes

* more strings

* small fix

* fix github actions workflow

* potential fix

* potential fix

* ci/cd fix

* change rep working

* seed generation fixes

* fixes

* save

* change rep screen functional

* save

* banano changes

* fixes, start adding ui for PoW

* pow node changes

* update translations

* fix

* account changing barely working

* save

* disable account generation

* small fix

* save

* UI work

* save

* fixes after merge main

* fixes

* remove monero stuff, work on derivation ui

* lots of fixes + finish up seed derivation

* last minute fixes

* node related fixes

* more fixes

* small fix

* more fixes

* fixes

* pretty big refactor for pow, still some bugs

* finally works!

* get transactions after send

* fix

* merge conflict fixes

* save

* fix pow node showing up twice

* done

* initial changes

* small fix

* more merge fixes

* fixes

* more fixes

* fix

* save

* fix manage pow nodes setting appearing on other wallets

* fix contact bug

* fixes

* fiat fixes

* save

* save

* save

* save

* updates

* cleanup

* restore fix

* fixes

* remove deprecated alert

* fix

* small fix

* remove outdated warning

* electrum restore fixes

* fixes

* fixes

* fix

* derivation fixes

* nano fixes pt.1

* nano fixes pt.2

* bip39 fixes

* pownode refactor

* nodes pages fixes

* observer fix

* ssl fix

* remove old references

* remove unused imports

* code cleanup

* small fix

* small potential fix

* save

* undo all bitcoin related changes

* remove dead code

* review fixes

* more fixes

* fix

* fix

* review fix

* small fix

* nano derivation and nanoutil fixes

* exchange nano fix

* nano review fixes pt.1

* nano fixes pt.2

* nano fixes pt.3

* remove old imports + stop using dynamic in di

* nanoutil fixes

* add nano.dart to gitignore, configure fixes

* review fixes, getnanowalletservice removed

* fix settings screen, add changeRep to configure.dart, other minor fixes

* remove manage_pow_nodes_page, key derivation edge case handled

* remove old refs

* more small fixes

* Generic Enhancements/Minor fixes

* review fixes

* hopefully final fixes

* review fixes

* node connection fixes

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: fossephate <fosse@book.local>
2023-10-05 04:09:07 +03:00
Serhii
6233422643
CW-478-Startup-splash-screen-is-white-in-all-themes.-Change-to-black-in-dark-themes (#1105)
* fix splash screen color

* Update AndroidManifestBase.xml
2023-10-03 22:05:59 +03:00
Matthew Fosse
24fa84d6cc
Merge pull request #1100 from cake-tech/CW-477-add-ens
Cw 477 add ens
2023-10-03 14:57:38 -04:00
OmarHatem
9cb77550b4 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-477-add-ens
 Conflicts:
	pubspec_base.yaml
	res/values/strings_ar.arb
2023-10-03 20:10:08 +03:00
OmarHatem
a515076696 Code Enhancements 2023-10-03 20:07:05 +03:00
Adegoke David
32643823e5
Cw 451 wallet connect for ethereum (#1049)
* Update Flutter
Update packages

* Feat: Wallet connect for ethereum

* Fix localization issues
Fix UI issues
Update old packages
Update workflow
Update how to build guide

* feat: Wallet connect

* feat: Add wallet connect for ethereum

* chore: Add eth dependencies in configure file

* Minor: `WalletConnect` settings name, not `Wallet connect`

* fix: Merge conflicts

* fix: Issues with test cases on various dApps, introduce Arbitrum rinkerby as suported chain

* ui: Design fixes for WalletConnect flow

* chore: Update repo and comment out send apk to channel in workflow

* fix: Core implementation

* feat: WalletConnect WIP

* feat: WalletConnect WIP

* feat: WalletConnect WIP

* chore: Unused parameters WIP [skip ci]

* fix: Code review fixes

* Feat: WalletConnect feat WIP

* feat: WalletConnect

* feat: WalletConnect

* feat: WalletConnect

* Feat: WalletConnect

* Feat: WalletConnect

* feat: Remove queue support for the bottomsheet

* feat: WalletConnect feature, bug fixes, folder restructuring, localization

* Feat: Add positive feedback prompt on successful transaction

* fix: Delete session bug

* fix: dependencies registration WIP

* feat: Registering dependencies for walletconnect

* chore: Move key data to secrets

* chore: ensure appropriate null checks

* chore: localization

* chore: Remove unused code

* localization

* chore: Remove unused code

* chore: Remove unused code

* chore: Add walletconnect project id key entry

* fix: Revert bash command for linnux support

* fix: Issues with translation in some languages and making unneeded external variable private

* fix: Add bottomsheet listener to desktop dashboard page

* Generalize ethereum not enough gas error check

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
2023-10-03 17:56:10 +03:00
fosse
431a17ab08 should've been nullable 2023-10-03 10:55:38 -04:00
fosse
cb48d73ae0 review fixes 2023-10-03 10:29:56 -04:00
Justin Ehrenhofer
e83063535e clean-up: remove address_from_ens 2023-09-29 12:32:48 -05:00
Omar Hatem
ae71f2045b
New versions v4.9.2 and v1.6.2 (#1108) 2023-09-29 20:28:26 +03:00
fosse
2e9b937a6d updated ens message to be consistent with others 2023-09-29 13:08:02 -04:00
fosse
183d0be20b limit ens to just .eth domains 2023-09-29 11:58:19 -04:00
fosse
c71e4b4689 prevent fillint empty addresses 2023-09-29 11:28:23 -04:00
fosse
2775e1d9f8 remove print statement 2023-09-29 11:25:10 -04:00
fosse
dff1ee2148 fix default eth node for ens 2023-09-29 11:24:07 -04:00
fosse
953cae3e48 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-477-add-ens 2023-09-29 11:14:02 -04:00
fosse
5ad89f252b review fixes from nano that also apply here 2023-09-29 11:02:45 -04:00
fosse
7f017a3444 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into bitcoin-derivations 2023-09-29 10:49:41 -04:00
Omar Hatem
b1859b9e63
Generic Fixes (#1103)
* Update trade_details_page.dart

* let web3dart calculate gas price and max gas while just providing the priority fee per gas needed
2023-09-29 01:53:53 +03:00
Adegoke David
f07062d987
fix: Cake-2FA-setup-issue (#1097)
* fix: Cake 2FA setup issue

* fix: 2FA Setup issue

* fix: 2FA setup bug
2023-09-28 21:40:15 +03:00
Konstantin Ullrich
dc36c31197
CW-489 Skip Warning if all monero utxo are selected (#1106) 2023-09-28 20:49:46 +03:00
Procyon Lotor
9eb6867ab9
Exolix integration (#1080)
* Add Exolix exchange integration

* update tx payload

* remove import

* Improve mapping

* Additional fixes

* fix apiBaseUrl

* Update trade_details_view_model.dart

* Update exolix_exchange_provider.dart

* Fix status URL

* Fix fetch rates API error handling update limits API to use a valid amount and validate on success status code

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-09-28 19:20:08 +03:00
fosse
46a50e526f derivation class fixes 2023-09-26 14:22:03 -04:00
fosse
fc4e9ac978 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-477-add-ens 2023-09-25 10:14:48 -04:00
fosse
51bbaf02a5 fixes 2023-09-25 10:01:45 -04:00
fosse
1521a67c03 fixes for other coin types 2023-09-25 09:56:34 -04:00
fosse
8b2b3bda16 ens review fixes 2023-09-25 09:47:39 -04:00
Serhii
d6c641242f
CW-475-Better-error-message-if-there-isnt-enough-network-fee-asset-available (#1092)
* Better error message

* minor fixes

* localization

* Update strings_tl.arb

* Update append_translation.sh
2023-09-25 15:20:11 +03:00
Adegoke David
04f5391be1
feat: Add otp url link to qa screen (#1098) 2023-09-23 03:30:06 +03:00