* inital migration changes
* feat: rest of changes
* minor fix [skip ci]
* fix: P2wshAddress & wallet address index
* fix: address review comments
* fix: address type restore
* feat: add testnet
* Fix review comments
Remove bitcoin_base from cw_core
* Fix address not matching selected type on start
* remove un-necessary parameter [skip ci]
* Remove bitcoin specific code from main lib
Fix possible runtime exception from list wrong access
* Minor fix
* fix: fixes for Testnet
* fix: bitcoin receive option dependency breaks monerocom
* Fix issues when building Monero.com
* feat: Transaction Builder changes
* fix: discover addresses, testnet restoring, duplicate unspent coins, and taproot address vs schnorr sig tweak
* fix: remove print
* feat: improve error when failed broadcast response
* feat: create fish shell env script
* fix: unmodifiable maps
* fix: build
* fix: build
* fix: computed observable side effect bug
* feat: add nix script for android build_all
* fix: wrong keypairs used for signing
* fix: wrong addresses when using fromScriptPubKey scripts
* fix(actual commit): testnet tx expanded + wrong addresses when using fromScriptPubKey scripts (update bitcoin_base deps)
* fix: self-send [skip ci]
* fix: p2wsh
* fix: testnet fees
* New versions
* Update macos build number
Minor UI fix
* fix: use new bitcoin_base ref, fix tx list wrong hex value & refactor hidden vs hd use
- if always use sideHd for isHidden, it is easier to simplify the functions instead of passing both which can be error prone
- (ps: now this could probably be changed, for example from isHidden to isChange since with address list we now see "hidden" addresses)
* Fix if condition to handle litecoin case
* fix: self-send, change address was always making direction incoming
* refactor: improve estimation function, add more inputs if balance missing
* fix: new bitcoin_base update, fixes script issues
* Update evm chain wallet service arguments
* Fix translation [skip ci]
* Fix translation [skip ci]
* Update strings_fr.arb [skip ci]
* fix: async isChange function not being awaited, refactor to reduce looping into a single place
* fix: _address vs address, missing p2sh
* fix: minor mistake in storing p2sh page type [skip ci]
* refactor: use already matched addresses property
* feat: improved perfomance for fetching transaction histories
* feat: continue perfomance change, improve address discovery only to last address by type with history
* fix: make sure transaction list is sorted by date
* refactor: isTestnet only for bitcoin
* fix: walletInfo type null case
* fix: deprecated p2pk
* refactor: make condition more readable
* refactor: remove unnecessary Str variant
* refactor: make condition more readable
* fix: infinite loop possible
* Revert removing isTestnet from other wallets [skip ci]
* refactor: rename addresses when matched by receive type
* Make the beta build [skip ci]
Remove app_env.fish
---------
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
* 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
---------
Signed-off-by: Blazebrain <davidadegoke16@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
* feat: Disable battery optimization on android
* fix: Add permission to androidmanifestbase file
* Increase the frequency of app running in background on aggressive mode
* Revert the sync mode frequency [skip ci]
* Fix translation
* increase frequency to 1 hour
---------
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
* monero wallet backup changes
* [skipci] updates
* monero fixes
* start work for bitcoin/eth
* cleanup
* [skipci] more cleanup
* add all other coins
* merge fixes
* add corrupted test
* build for testing
* actually be able to test monero
* review fixes
* more review fixes
* fix: Erc20 tokens configs list overriding each other in different ethereum wallets
* feat: Add backward compatibility for wallets that already use the previous erc20tokens box
* V4.11.0 and v1.8.0
* Add polygon to iOS and macOS
Minor import fix for monero.com
* Remove Polygon temporarily
* Remove tor temorarily [skip ci]
* Remove tor temorarily [skip ci]
* Move file.dart
* Add seedFallback for missing polyseeds
* Remove unused dependency of cw_bitcoin
* Minor fix MacOS
* Add more blockheight-date matching
* Scan only last 2 days for new Polyseed wallets
* CW-462 Mark Places to integrate Polyseed
* CW-462 Add Restore from Polyseed
* CW-462 Add Restore from Polyseed
* CW-462 Add new Monero date-height pairs
* CW-462 Little Cleanup
* CW-462 Ups I missed that Debug line :/
* CW-462 Fix Polyseed not showing in Wallet-Seed/Keys Page
* CW-462 Prepare for Wallet creation
* CW-462 Fix merge conflict
* CW-462 Fix generating monero.dart
* CW-462 Add Polyseed generation
* CW-462 Add Polyseed Languages to SeedLanguagePicker
* CW-462 Apply requested changes
* CW-462 Minor bug fixes in restore screen
* Update wallet_restore_from_seed_form.dart
* CW-462 Minor Bugfix
* CW-462 Fix Restore from QR for Polyseeds
* CW-462 Fix null-check-operator exception for Polyseeds and minor inconveniences
* CW-462 Fix minor inconveniences
* Fix conflicts and review comments and wrap unspent issue with try and catch with reporting failure
---------
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
* update wallet restore page to be less confusing for nano users
* update translations
* only include private key if seed phrase is null
* restore fixes
* fix default derivation being wrong on restore
* fix default nano derivationType & qr code parameters
* update language on nano restore (hex form)
* support hex seed from qr restore
* initial draft for tor feature
* Configure nodes to use Tor proxy if enabled
* Add socks proxy upon connecting to tor
fix disconnect button
* Try tor with github actions
* accept defaults for rust installation
* Merge main
Change Tor tile name
* Fix White screen issue
Bypass node certificate issue
* check on Fiat currency only with fiat templates
* Add possible missing cache file android error
* Dispose exchange state reaction when page is closed
* Fix minor chinese translation
* Temp remove BCH from robinhood
* Minor fixes
* CW-498 Call updateTransactions on account change
* CW-498 Code Cleanup
* CW-498 Add Wallet Address to trade to match transactions to trades
* CW-498 Fix containsAddress to include only addresses of account
* Handle nullability for fromWalletAddress
---------
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
* Add restore from private key to Ethereum
Add restore from QR code for Ethereum in both seeds/keys
* Add node network issue to ignored errors [skip ci]
* 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>
* 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]
* 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>
* feat: Replace trash and swipe with edit icons on node list item
- replaces yellow Test button with red Delete node button with confirmation on the edit node page
* feat: make node indicator icons bigger (figma comment)
* feat: Replace trash and swipe with edit icons on wallet list page and create wallet_edit_page.dart
* fix: make delete buttons red
* fix: make wallet name wrap when it is too long
* refactor: improve logic & fix observer not refreshing
* fix: add string
* feat: remove the confirmation pop-up for switching between wallets
- which was another item on the jira issue
* fix: remove slideable widgets from node list
* feat: add edit button to currently selected node & disable deleting if selected
* fix: rename wallet also renames to new wallet files
* feat: make sure edits can't overlap existing names
* fix: improve rename flow, fix electrum transactions refresh & add delete old logic
* fix: also fix rename for monero & haven
* refactor: fix identations
* refactor: dont declare the current wallet twice
* refactor: missing newWalletInfo.id
* fix: dont unnecessarily load the current wallet
* fix: remove unnecessary reaction
* feat: make save button disabled until the text is changed
* feat: make walletEditViewModel and make state useful for pending actions
* fix: add back reaction for desktop flow
* - Remove un-necessary code
- Format Edit page
---------
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
* Show amount received for each account
* Enable litcoin send all
* disable litcoin send all
* Indent code
* Fix large font resolution for account title
* Add user network connection issue to ignored errors
* Check current nodes on each app start
* Add user network connection error to ignored errors
* Fix sharing files issue on iOS
* wallet QR code on Wallet/Seed screen
* fix restore height for new wallet
* fix height parameter
* fix currenHeight and HeightByDate for haven
* update configure.dart
* fix coments
* minor fix
bttc mapped to trx, so changed the label instead of changing the mapping
maticpoly was mislabeled on changenow
maticpoly and matic were mislabeled on simpleswap
* Fix SimpleSwap create exchange (#522)
* Check for status code 201 instead of 200 to follow SimpleSwap API documentation
* allow 200 and 201 success status code
* Changed app version to 4.4.7 (1.1.1 for monero.com)
* Add new currencies
Separate a list for unsupported currencies for SideShift
Fix currencies normalization symbols
* Add new currencies
* Add Currencies validation and possible length
Co-authored-by: M <m@cakewallet.com>
* create introducing card
* add ability to close the card
* update walletInfo class
* update localization
* fix intro text
* fix card size
* show card for existing and new wallet types
* disable card for haven wallets
* fixes to PR
* fixes to PR
* fix PR
* Initial ionia service
* Ionia manage card UI (#374)
* design ui for cakepay
* Add manage cards page ui
* create auth ui for ionia
* add authentication logic
* implement user create card
* Add ionia merchant sevic
* Add anypay. Add purschase gift card.
* display virtual card (#385)
* display virtual card
* fix formatting
* Remove IoniaMerchantService from IoniaViewModel
* Add hex and txKey for monero pending transaction.
* Changed monero version and monero repo to cake tech.
* Add anypay payment. Add filter by search for ionia, add get purchased items for ionia.
* Fix for get transactions for hidden addresses for electrum wallet
* Add ionia categories.
* Add anypay commited info for payments.
* Update UI with new fixes (#400)
* Change ionia base url. Add exception throwing for error messaging for some of ionia calls.
* CW-102 fix logic for ionia issues (#403)
* refactor tips (#406)
* refactor tips
* refactor ionia tips implementation
* Cw 115 implement gift cards list for ionia (#405)
* Implement show purchased cards
* fix padding
* Fixes for getting of purchased gift cards.
* Implement gift card details screen (#408)
* Implement gift card details screen
* Add redeem for ionia gift cards
* Fix navigation after ionia opt redirection.
* Fix update gift cards list.
* Add payment status update for ionia.
* Add usage instruction to gift card.
* Add copy for ionia gift card info.
* Change version for Cake Wallet ios.
* Add localisation (#414)
* Fixes for fiat amounts for ionia.
* CW-128 marketplace screen text changes (#416)
* Change text on marketplace
* fix build issues
* fix build
* UI fixes for ionia.
* UI fixes for ionia. (#421)
* CW-129 ionia welcome screen text changes (#418)
* update welcome text
* Update localization
* Cw 133 (#422)
* UI fixes for ionia.
* Fixes for display card item on gift cards screen.
* Fix signup page (#419)
* Changed tips for ionia.
* Cw 132 (#425)
* UI fixes for ionia.
* Changed tips for ionia.
* Cw 131 (#426)
* UI fixes for ionia.
* Changed tips for ionia.
* Fixes for IoniaBuyGiftCardDetailPage screen. Renamed 'Manage Cards' to 'Gift Cards'. Hide discount badge label for 0 discount.
* Change ionia heading font style (#427)
* Fix for AddressResolver in di
* Changed build number for Cake Wallet ios.
* fix currency format for card details and routing for mark as redeemed (#431)
* fix terms and condition overflow in ionia (#430)
* fix terms and condition scroll
* fix color issues
* reuse
* refactor widget
* Remove IoniaTokenService
* Change api for ionia to staging
* Update versions for Cake Wallet for android and ios.
* Fixes for instructions. Remove diplay error on payment status screen.
* Change build versions for Cake Wallet
* Add ionia sign in.
* Update for discounts and statuses for ionia merch.
* Fixes for qr/barcode on ionia gift card screen.
* Fixed formatting for display ionia discounts.
* Fix merchant.discount.toStringAsFixed issue
* Add savingsPercentage to ionia merch discount.
* Change build number for Cake Wallet ios and android.
* Disable ionia for haven (#440)
Co-authored-by: Godwin Asuquo <41484542+godilite@users.noreply.github.com>