Omar Hatem and GitHub
16ddc0837a
Reformat the whole codebase with 100 line width ( #3403 )
2026-07-15 01:20:33 +03:00
e4672c75b7
CW-1135-add-support-for-bitbox-hww ( #2476 )
...
* chore: add ffi and ffigen dependencies to pubspec.yaml
* refactor: replace method channel with FFI implementation for MWeb module
* fix: correct `cd` command in build_mwebd.sh script
* chore: add go.sum file with dependency checksums
* fix: ensure ANDROID_NDK_VERSION is set before building and dynamically update NDK_BIN path
* fix: update NDK_BIN path to dynamically detect platform in build_mwebd.sh script
* refactor: remove unused mwebd dependencies and clean up CwMwebPlugin code
* Update scripts/android/build_mwebd.sh
Co-authored-by: cyan <cyjan@mrcyjanek.net >
* refactor: replace iOS MoneroWallet framework with Mwebd.xcframework and clean up plugin implementation [skip-ci]
* refactor: extract hardware wallet service abstraction
* refactor: extend BitcoinHardwareWalletService from HardwareWalletService and override account retrieval method
* feat: add BitBox hardware wallet support and implement manufacturer selection page with custom UI components
* refactor: update manufacturer selection UI and integrate custom gradient styles for ManufacturerOptionTile widget
* fix: mwebd ffi ios
* feat: add BitBox hardware wallet support, update derivation paths, and refactor hardware wallet credential implementations
* feat: add bitbox support and refactor the old ledger implementation
* feat: add BitBox hardware wallet support and refactor hardware wallet service implementations
* feat: refactor hardware wallet support to introduce abstraction for BitBox and Ledger; update device scanning, initialization, and UI integration
* fix: BitBox hardware wallet ethereum transaction signing
* chore: update BitBox Flutter path references and include build steps in CI workflows
* chore: update CI workflows to include `--dont-install` flag for BitBox Flutter builds
* refactor: replace if-else logic with switch-case for HardwareWalletViewModel factory
* feat: refactor hardware wallet services to introduce shared interface, improve ledger and bitbox implementations, and support additional transaction signing operations
* feat: add SVG assets for hardware wallet manufacturers (Foundation, Keystone, SeedSigner)
* feat: redesign hardware wallet restoration flow with improved routing, UI updates, and manufacturer-specific device selection handling
* fix: validate required BIP353 fields in transaction builder to prevent potential null value errors
* feat: improve BitBox transaction signing logs with detailed PSBT information
* refactor: update MWebFfi class to use non-nullable `lib` and improve address debug logging
* feat: add BitBox coin type constant and improve hardware wallet service extensibility
* chore: remove unused iOS/Android build scripts for mwebd
* feat: add BitBox SVG asset and update localization for hardware wallet connection instructions
* feat: update manufacturer tags and add Toast Easter egg for device selection interactions
* refactor: replace LedgerViewModel with HardwareWalletViewModel across providers and improve hardware wallet handling
* refactor: replace mweb.so with libmweb.so, use sync methods in MWebFfi, and update iOS/Android frameworks/scripts accordingly
* feat: add Ledger Nano X SVG asset to hardware wallet resources
* chore: unify mwebd build process in workflows, remove unused gomobile init command
* refactor: remove redundant print statement and unnecessary whitespace
* chore: add `gomobile init` to Android PR test build workflow
* chore: update Android PR test build workflow and add file existence check in `build_bitbox_flutter.sh`
* chore: override `ledger_usb_plus` dependency in pubspec_base.yaml
* feat: add verbose logging for BitBox connection and initialization process
* Update lib/view_model/hardware_wallet/bitbox_view_model.dart [skip ci]
* CW-1206-refactor-hardware-wallets-code (#2507 )
* feat: add support for new hardware wallet types (Cupcake, Coldcard, SeedSigner) and improve QR Code handling
- Introduced new hardware wallet types (Cupcake, Coldcard, SeedSigner) with corresponding assets and localization updates.
- Updated QR Code format selection for hardware wallets with new formats (BCUR, BBQR) specific to devices.
- Improved hardware wallet restoration flow to include airgapped wallet handling via QR Code scanning.
- Refactored routing, view models, and dependency injection to accommodate new hardware wallet types.
- Enhanced UI for device manufacturer selection and QR Code format dialogs.
* feat: update hardware wallet assets and restoration flow
* feat: add changing airgapped wallet type
* feat: add Cupcake Man SVG asset to hardware wallet resources
* refactor: update Litecoin receive options to require wallet parameter and handle hardware wallets
* fix: debugging keystone integration
feat: support for zpub view only restore
* fix: seed signer restore
* fix: disable bitbox restoring (for now) [skip-ci]
* refactor: rename `isCupcake` to `isBitcoinViewOnly` for clarity [skip ci]
---------
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net >
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com >
* refactor: standardize hardware wallet connection handling across wallet types
---------
Co-authored-by: cyan <cyjan@mrcyjanek.net >
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com >
2025-10-01 18:20:40 +03:00
Rafael and GitHub
d96bab43c9
fix: p2sh addr ( #1607 )
2024-08-15 02:40:40 +03:00
bbba41396d
Fixes node connection, and sp, and electrum ( #1577 )
...
* refactor: remove bitcoin_flutter, update deps, electrs node improvements
* feat: connecting/disconnecting improvements, fix rescan by date, scanning message
* chore: print
* Update pubspec.yaml
* Update pubspec.yaml
* handle null sockets, retry connection on connect failure
* fix imports
* fix transaction history
* fix RBF
* minor fixes/readability enhancements [skip ci]
---------
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com >
Co-authored-by: Matthew Fosse <matt@fosse.co >
2024-08-12 02:49:45 +03:00
Matthew Fosse and GitHub
591342ec6a
electrum updates ( #1449 )
...
* hotfixes
* copy over the rest of the fixes
* use hardened derivation path everywhere
* correct balance path for electrum
* revert index nullability and correct balance path for all cases
* only save wallet info if we changed it
2024-06-18 08:08:03 +03:00
509b92e97f
Bitcoin derivations ( #1089 )
...
* - 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
* derivation fixes
* deterministic fix
* fix pt.2
* derivation class fixes
* review fixes from nano that also apply here
* formatting
* stuff that should've stayed deleted
* post merge fixes
* remove problematic imports and duplicate changes
* Delete lib/nano/nano.dart
* move wallet restore page proxy code to the view model
* fix dashboard page indicators being the same color
* debatably better refactoring of derivationInfo, migration needed
* additional refactor improvements
* blanket comment some stuff out to narrow down this issue
* refactor fixes
* fix nano exchange
* fix , bug, i.e. replace , with . when making a nano transaction
* fix nano sending, update restore page wording, and other minor fixes
* write migration for existing bitcoin and nano wallets
* merge fixes
* minor fixes
* use default derivation type when restoring from qr code
* fixes for restoring
* fixes
* fixes
* merge fix
* Fix issues with Creating Electrum and Restoring Bip39
* updates & fixes
* Add missing case for no transactions BIP39 wallet restore
* Make the default BIP39 the 84 derivation path
* Add Samourai Deposit
* litecoin mnemonic error fix
* 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 >
* change error state seed conditions into throwables [skip ci]
* litecoin fixes
* Bip39 minor enhancements (#1416 )
* minor enhancements
* rename bitcoin_derivations -> electrum_derivations
* Remove duplicate derivations
handle default case
* minor fix
* Enable passphrase for Litecoin
* obscure text of passphrase
---------
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com >
Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com >
Co-authored-by: fossephate <fosse@book.local >
2024-04-30 03:49:56 +03:00
a3a35f05e1
Btc address types ( #1263 )
...
* 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 >
2024-02-23 18:13:30 +02:00
M
1beb18b045
Flutter upgrade
2022-10-12 13:09:57 -04:00
M
4535a1aaa8
Move bitcoin and monero parts into self modules.
2021-12-24 14:52:08 +02:00