mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-02 07:14:07 +01:00
* 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>
5 lines
7.3 KiB
XML
5 lines
7.3 KiB
XML
<svg width="90" height="25" viewBox="0 0 90 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M51.504 11.0566C52.2326 11.0566 52.8799 11.2416 53.4454 11.6113C54.0109 11.9811 54.4628 12.492 54.7999 13.1445C55.1369 13.7969 55.3048 14.5418 55.3048 15.3789C55.3048 16.2163 55.1313 16.9618 54.7833 17.6143C54.4462 18.2558 53.9838 18.7611 53.3966 19.1309C52.8203 19.5005 52.1681 19.6855 51.4396 19.6855C50.7654 19.6855 50.1781 19.5387 49.6779 19.2451C49.2817 18.9986 48.9615 18.6836 48.715 18.3018V22.5889H47.0841V11.3174H48.6984V12.6855C48.7529 12.5849 48.8123 12.4871 48.8781 12.3936C49.1716 11.9804 49.5416 11.6542 49.9874 11.415C50.444 11.1759 50.9496 11.0567 51.504 11.0566ZM33.0304 7.5C33.933 7.5 34.7548 7.69067 35.4943 8.07129C36.2444 8.45187 36.8749 8.99549 37.3859 9.70215L36.2443 10.8438C35.8637 10.2458 35.3963 9.78896 34.8419 9.47363C34.2982 9.1583 33.6889 9.00102 33.0148 9.00098C32.2536 9.00098 31.5738 9.20217 30.9757 9.60449C30.3885 9.99599 29.9261 10.5346 29.589 11.2197C29.252 11.9047 29.0832 12.6982 29.0831 13.6006C29.0831 14.4814 29.2519 15.2699 29.589 15.9658C29.9261 16.6509 30.3885 17.1953 30.9757 17.5977C31.5738 17.989 32.2537 18.1846 33.0148 18.1846C33.6888 18.1845 34.3031 18.0271 34.8575 17.7119C35.4121 17.3857 35.8745 16.9289 36.2443 16.3418L37.3859 17.4834C36.8965 18.1684 36.2548 18.7072 35.4611 19.0986C34.6782 19.49 33.8571 19.6855 32.9982 19.6855C32.1825 19.6855 31.4266 19.533 30.7306 19.2285C30.0455 18.924 29.4477 18.4998 28.9366 17.9561C28.4255 17.4014 28.028 16.7541 27.7452 16.0146C27.4626 15.2753 27.3214 14.4704 27.3214 13.6006C27.3214 12.7198 27.4625 11.9093 27.7452 11.1699C28.0389 10.4305 28.4412 9.7888 28.9523 9.24512C29.4634 8.69049 30.0678 8.26153 30.7638 7.95703C31.4596 7.65266 32.215 7.50005 33.0304 7.5ZM39.9425 16.1621C39.9425 16.8581 40.095 17.391 40.3995 17.7607C40.7148 18.1195 41.1441 18.2988 41.6876 18.2988C42.0898 18.2988 42.4543 18.2014 42.7804 18.0059C43.1066 17.7993 43.3793 17.5218 43.5968 17.1738C43.7141 16.9951 43.8056 16.8012 43.8741 16.5938V11.3174H45.505V19.4248H43.8898V18.2393C43.647 18.6634 43.3209 19.0045 42.9113 19.2617C42.4437 19.5444 41.8945 19.6855 41.2638 19.6855C40.3721 19.6855 39.6542 19.3976 39.1105 18.8213C38.5776 18.2449 38.3116 17.4127 38.3116 16.3252V11.3174H39.9425V16.1621ZM60.1154 11.0566C61.5071 11.0568 62.6056 11.5839 63.4103 12.6387L62.3175 13.6826C62.0783 13.2911 61.7732 12.9918 61.4034 12.7852C61.0338 12.5678 60.6151 12.459 60.1476 12.459C59.419 12.459 58.8203 12.7259 58.3527 13.2588C57.8962 13.7807 57.6681 14.4875 57.6681 15.3789C57.6681 16.2489 57.9016 16.9563 58.3693 17.5C58.8368 18.0328 59.4405 18.2988 60.1798 18.2988C60.6365 18.2988 61.0446 18.1958 61.4034 17.9893C61.7622 17.7718 62.0722 17.4618 62.3331 17.0596L63.3937 18.1035C63.0131 18.6037 62.5402 18.9956 61.9747 19.2783C61.4093 19.5502 60.7838 19.6855 60.0988 19.6855C59.294 19.6855 58.5762 19.5006 57.9454 19.1309C57.3257 18.7612 56.8365 18.2557 56.4777 17.6143C56.1297 16.9618 55.9552 16.2163 55.9552 15.3789C55.9552 14.5309 56.1345 13.786 56.4933 13.1445C56.8522 12.492 57.3422 11.9811 57.962 11.6113C58.5927 11.2416 59.3107 11.0566 60.1154 11.0566ZM67.2765 11.0566C67.994 11.0567 68.614 11.192 69.1359 11.4639C69.6686 11.7357 70.0815 12.122 70.3751 12.6221C70.6687 13.1114 70.8156 13.6939 70.8156 14.3682V19.4248H69.3312V18.3633C69.0701 18.73 68.7391 19.0302 68.3361 19.2617C67.8359 19.5444 67.2542 19.6855 66.5909 19.6855C66.0146 19.6855 65.5036 19.5768 65.0577 19.3594C64.6227 19.131 64.2795 18.8212 64.0294 18.4297C63.7794 18.0382 63.6544 17.592 63.6544 17.0918C63.6545 16.2545 63.9757 15.6024 64.6173 15.1348C65.2698 14.6563 66.145 14.417 67.2433 14.417H69.2823C69.2823 13.7862 69.0917 13.2915 68.7111 12.9326C68.3305 12.5629 67.8089 12.3779 67.1456 12.3779C66.2756 12.3779 65.514 12.7364 64.8615 13.4541L63.9161 12.4434C64.8623 11.519 65.9824 11.0566 67.2765 11.0566ZM83.3322 11.0566C84.0716 11.0566 84.7237 11.2416 85.2892 11.6113C85.8545 11.9701 86.2951 12.4699 86.6105 13.1113C86.9367 13.7528 87.1007 14.4872 87.1007 15.3135V15.9014H81.0333C81.0785 16.2732 81.1698 16.6101 81.3097 16.9121C81.5271 17.347 81.8314 17.6951 82.2228 17.9561C82.6251 18.2062 83.1037 18.332 83.6583 18.332C84.1476 18.332 84.5882 18.2233 84.9796 18.0059C85.3711 17.7884 85.7191 17.4671 86.0236 17.043L86.9865 18.0703C86.5623 18.6141 86.0561 19.0221 85.4689 19.2939C84.8926 19.5549 84.2622 19.6855 83.5773 19.6855C82.729 19.6855 81.9835 19.5006 81.3419 19.1309C80.7112 18.7611 80.2164 18.2501 79.8575 17.5977C79.4987 16.9452 79.3195 16.2054 79.3195 15.3789C79.3195 14.5527 79.4932 13.8134 79.8409 13.1611C80.1998 12.5086 80.6784 11.9967 81.2765 11.627C81.8855 11.2463 82.5709 11.0566 83.3322 11.0566ZM73.9122 14.9502L77.5011 11.3174H79.5402L75.588 15.2207L79.9962 19.4248H77.8107L73.9122 15.6289V19.4248H72.2804V7.67969H73.9122V14.9502ZM67.3898 15.5752C66.7375 15.5753 66.2262 15.7059 65.8566 15.9668C65.498 16.2168 65.3186 16.57 65.3185 17.0264C65.3185 17.4395 65.4597 17.7771 65.7423 18.0381C66.0359 18.2882 66.4278 18.4131 66.9171 18.4131C67.3846 18.4131 67.8033 18.31 68.173 18.1035C68.5427 17.8969 68.8421 17.6138 69.0704 17.2549C69.1544 17.1229 69.2249 16.9836 69.2823 16.8369V15.5752H67.3898ZM51.1945 12.4434C50.716 12.4434 50.2917 12.573 49.922 12.834C49.5522 13.095 49.2586 13.4601 49.0411 13.9277C48.8238 14.3844 48.715 14.9175 48.715 15.5264V16.5576C48.7877 16.7788 48.8848 16.9847 49.0089 17.1738C49.2373 17.5217 49.531 17.7993 49.8898 18.0059C50.2594 18.2015 50.6619 18.2988 51.0968 18.2988C51.597 18.2988 52.0318 18.1739 52.4015 17.9238C52.782 17.6738 53.0757 17.3314 53.2823 16.8965C53.4998 16.4506 53.6085 15.9444 53.6085 15.3789C53.6085 14.8027 53.5055 14.2972 53.299 13.8623C53.1032 13.4165 52.8257 13.0685 52.4669 12.8184C52.108 12.5682 51.6838 12.4434 51.1945 12.4434ZM83.3156 12.4102C82.8589 12.4102 82.4565 12.5303 82.1085 12.7695C81.7607 13.0088 81.4888 13.3511 81.2931 13.7969C81.1694 14.0785 81.0857 14.3885 81.0402 14.7266H85.4572C85.3924 14.0979 85.2081 13.581 84.8986 13.1768C84.5179 12.6656 83.9898 12.4102 83.3156 12.4102Z" fill="#D7E2F7"/>
|
|
<path d="M5.61206 15.0771C5.97989 15.0772 6.29433 15.3419 6.35815 15.7041L7.83472 24.1113C7.91629 24.5752 7.5586 25 7.08765 25H5.02124C4.67819 24.9999 4.37729 24.7694 4.28882 24.4375L2.04663 16.0312C1.91824 15.5495 2.28065 15.0772 2.77905 15.0771H5.61206ZM13.2664 15.0771C13.7375 15.0771 14.0948 15.5028 14.0134 15.9668L12.5369 24.373C12.4731 24.7358 12.1586 24.9998 11.7908 25H9.52612C9.15817 25 8.84279 24.7354 8.77905 24.373L7.30347 15.9668C7.2216 15.5029 7.57862 15.0774 8.04956 15.0771H13.2664ZM18.5378 15.0771C19.0357 15.0771 19.3987 15.55 19.2703 16.0312L17.0271 24.4375C16.9386 24.769 16.6384 25 16.2947 25H14.2283C13.7574 24.9998 13.4009 24.5752 13.4822 24.1113L14.9578 15.7051C15.0215 15.3421 15.3368 15.0772 15.7048 15.0771H18.5378ZM20.3054 9.94629C20.8637 9.94629 21.316 10.3988 21.3162 10.957V12.9541C21.316 13.5123 20.8637 13.9648 20.3054 13.9648H1.0105C0.452352 13.9647 -0.000130405 13.5123 -0.000244141 12.9541V10.957C-0.000127057 10.3989 0.452354 9.94643 1.0105 9.94629H20.3054ZM18.5779 5.01855C18.7189 5.19495 18.8005 5.41639 18.8005 5.65039V8.02539C18.8005 8.58391 18.3483 9.03705 17.7898 9.03711H3.52612C2.96757 9.03711 2.51538 8.58395 2.51538 8.02539V6.0293C2.51538 5.47074 2.96757 5.01855 3.52612 5.01855H18.5779ZM18.2332 4.74121C18.3696 4.80793 18.4874 4.90286 18.5789 5.01758H9.63354L7.65894 4.05469C7.15716 3.80997 6.94851 3.20499 7.19312 2.70312L8.51147 0L18.2332 4.74121Z" fill="#D7E2F7"/>
|
|
</svg>
|