CakeWallet/cw_bitcoin/lib
Konstantin Ullrich 82e3ebf4fa
implement-payjoin (#1949)
* Initial Payjoin

* Initial Payjoin

* More payjoin stuff

* Minor fixes

* Minor fixes

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Fix minor bug causes by data inconsistency in the btc utxos

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Initial Payjoin

* Initial Payjoin

* More payjoin stuff

* Minor fixes

* Minor fixes

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Fix minor bug causes by data inconsistency in the btc utxos

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Minor cleanup

* Fix Rebase issues

* Move PJ Receiver to isolate

* Add Payjoin Setting

* Payjoin Sender are now isolated

* Added Payjoin sessions to tx overview. Fix Fee issue with payjoin

* Clean up code

* Fix taproot for payjoin

* Fix CI Errors

* Add Payjoin UI elements and details page

* Add Payjoin UI elements and details page

* Fix Translations

* feat: Detect Payjoin URIs in pasted text and show to the User sending Payjoin

* feat: rename pjUri to payjoinURI for more code clarity

* Update res/values/strings_pl.arb

Co-authored-by: cyan <cyjan@mrcyjanek.net>

* Update cw_bitcoin/lib/payjoin/manager.dart

Co-authored-by: cyan <cyjan@mrcyjanek.net>

* Update cw_bitcoin/lib/payjoin/manager.dart

Co-authored-by: cyan <cyjan@mrcyjanek.net>

* feat: Disable Payjoin per default

* feat: Disable Payjoin fully if disabled or no Inputs available

* feat: Resume Payjoin if app comes back to foreground

* chore: Revert overly aggressive code formats

* feat: show correct Payjoin amount for receivers

* feat: Improved payjoin status

* feat: Show payjoin errors on payjoin details screen

* deps: update flutter to 3.27.4

* feat: Revert localisations

* bug: Remove duplicate transaction id on payjoin details

* style: remove double await in payjoin sender

* refactor(cw_bitcoin): Refactor method signatures and convert constructor to factory

* refactor(cw_bitcoin): Refactor wallet service and PSBT signer for cleaner code

Removed unnecessary `CakeHive` dependency and refactored `BitcoinWallet` initialization to use `payjoinSessionSource`. Improved code readability in `PsbtSigner` by reformatting lines and simplifying constructor methods for `UtxoWithPrivateKey`.

* fix: Resume Payjoin Sessions and load PJUri after sleep

* feat: Add "Copy Payjoin URL button" to receive screen

* fix: Add "Payjoin enabled"-Box below QR Code on the receive screen

* fix: Set payjoin_enabled color to black independent of the theme

* refactor: Payjoin session management and cleanup unused code.

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Co-authored-by: cyan <cyjan@mrcyjanek.net>
2025-05-12 20:33:14 +03:00
..
payjoin implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
psbt implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
address_from_output.dart implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
bitcoin_address_record.dart Cw 925 improve automatic subaddress generation behavior (#2217) 2025-04-30 19:11:36 +03:00
bitcoin_amount_format.dart Fix incorrect amount parsing due to bytes approximation 2023-02-15 23:16:21 +02:00
bitcoin_commit_transaction_exception.dart Cw 598 fixes for electrum based wallets (#1344) 2024-03-29 20:51:34 +02:00
bitcoin_hardware_wallet_service.dart CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
bitcoin_mnemonic.dart litecoin mweb support (#1455) 2024-09-28 05:22:25 +03:00
bitcoin_mnemonics_bip39.dart Cw 488 seed offset (#1631) 2024-08-26 20:06:54 +03:00
bitcoin_receive_page_option.dart V4.20.0 rc2 (#1727) 2024-10-13 02:13:52 +03:00
bitcoin_transaction_credentials.dart implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
bitcoin_transaction_priority.dart litecoin mweb support (#1455) 2024-09-28 05:22:25 +03:00
bitcoin_unspent.dart Cw 453 (#1306) 2024-05-29 17:43:48 +03:00
bitcoin_wallet.dart implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
bitcoin_wallet_addresses.dart implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
bitcoin_wallet_creation_credentials.dart CW-843: Enhance Wallet Groups Implementation (#2045) 2025-03-06 02:25:38 +02:00
bitcoin_wallet_keys.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
bitcoin_wallet_service.dart implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
cw_bitcoin.dart Move bitcoin and monero parts into self modules. 2021-12-24 14:52:08 +02:00
electrum.dart Cw 868 fix false synchronised status when the socket connection fails due to network issues (#1892) 2024-12-25 21:27:28 +02:00
electrum_balance.dart CW-997 coin control enhancements / send ALL fixes (#2114) 2025-03-30 16:52:46 +02:00
electrum_derivations.dart Cw 488 seed offset (#1631) 2024-08-26 20:06:54 +03:00
electrum_transaction_history.dart fix: Tentative fix for transaction history items overlap across wallet types (#1864) 2024-12-11 21:26:13 +02:00
electrum_transaction_info.dart Mweb enhancements 4 (#1768) 2024-11-07 04:57:36 +02:00
electrum_wallet.dart implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
electrum_wallet_addresses.dart Cw 925 improve automatic subaddress generation behavior (#2217) 2025-04-30 19:11:36 +03:00
electrum_wallet_snapshot.dart V4.20.0 rc2 (#1727) 2024-10-13 02:13:52 +03:00
exceptions.dart fix min fee not met exception (#1726) 2024-10-04 19:38:07 +03:00
litecoin_hardware_wallet_service.dart Cw 679 add ledger litecoin support (#1565) 2024-10-23 18:38:31 +03:00
litecoin_wallet.dart chore: fix some typos (#2187) 2025-04-11 14:37:02 +02:00
litecoin_wallet_addresses.dart Mweb fixes (#1972) 2025-01-24 20:09:48 +02:00
litecoin_wallet_service.dart Cw 830 coin control getting cleared (#1825) 2024-11-28 17:53:03 +02:00
mnemonic_is_incorrect_exception.dart Generic fixes (#1304) 2024-02-23 19:09:24 +02:00
pending_bitcoin_transaction.dart implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
utils.dart fix: p2sh addr (#1607) 2024-08-15 02:40:40 +03:00