CakeWallet/cw_monero/lib
cyan 5082dc20f3
CW-519 Enable built-in Tor (#1950)
* tor wip

* Enable tor on iOS

* Prevent app lag when node is exceptionally slow (usually over tor)

* fix: logic in daemonBlockchainHeight refresh
fix: storing tor state

* Pin ledger_flutter_plus dependency to fix builds

* bump arti version

* wip

* add single httpclient

* route everything I was able to catch trough the built-in tor node

* Enable proxy for http.Client [run tests]

* add tor proxy support to cw_evm, cw_tron and cw_polygon [run tests]

* remove log pollution, cleanup [skip slack]

* fix tests not working in latest main [skip slack] [run tests]

* remove cw_wownero import

* fix build issues

* migrate all remaining calls to use ProxyWrapper
add a CI action to enforce using ProxyWrapper instead of http/http.dart to prevent leaks

* fix tor background sync (will work on test builds after #2142 is merged and this PR is rebased on top)

* wip [skip ci]

* relicense to GPLv3 add socks5 license, build fixes

* use ProxyWrapper instead of http in robinhood

* Revert "relicense to GPLv3"

* feat(cw_bitcoin): support socks proxy and CakeTor

* fix(tor): migrate OCP and EVM over to ProxyWrapper()

* chore: cleanup
fix: show tor loading screen when app is starting

* fix: tor switch properly dismisses fullscreen loading dialog
fix: connectToNode after tor startup on app start

* fix(tor): status check for xmr/wow/zano

* fix(tor): onramper request fix

* fix(api): ServicesResponse is now being cached and doesn't fetch data everytime DashboardViewModel is being rebuilt
fix(tor): do not fallback to clearnet when tor failed.
fix(tor): do not leak connections during app startup
chore: refactor bootstrap() function to be separated into bootstrapOffline and bootstrapOnline
fix(cw_bitcoin): migrate payjoin to use ProxyWrapper

* [skip ci] remove print

* address comments from review

* fix: derusting tor implementation

Instead of rust-based Arti I've moved back to the
OG C++ tor implementation.
This fixed all issues we had with Tor.
- onion services now work
- all requests are going through without random errors
- we don't have to navigate a maze of multiple forks of multiple packages
- fully working `torrc` config file (probably will be needed for Tari).
- logging for Tor client
- and so on.

feat: network logging tab
feat: use built-in proxy on Tails - this should resolve all issues for Tails users (needs testing though)

* fix conflicts with main
bump https to fix build issue
relax store() call

* fix(cw_wownero): tor connection
fix(tor): connection issues

* fix(cw_evm): add missing chainId
fix(cw_core): solana rpc fix

* feat: mark tor as experimental
fix: drop anonpay onion authority
fix: drop fiatapi onion authority
fix: drop trocador onion authority
fix: disable networkimage when tor is enabled
fix: handle cakepay errors gracefully

* fix re-formatting [skip ci]

* changes from review

* Delete android/.kotlin/sessions/kotlin-compiler-2468481326039681181.salive

* fix missing imports

* Update pubspec_base.yaml

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2025-06-20 22:56:18 +03:00
..
api CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
exceptions Generic fixes and enhancements (#1083) 2023-09-14 22:14:16 +03:00
mnemonics Fixes for validation of monero seed. Add French and Italian seeds validation. 2022-01-19 16:25:58 +02:00
bip39_seed.dart CW-723-Add-Monero-support-to-the-Shared-Seed-feature-in-Cake (#2131) 2025-04-10 03:31:26 +02:00
ledger.dart CW-1045-Ledger-Bugs-Enhancements (#2278) 2025-05-26 18:38:51 +03:00
monero_account_list.dart fix(cw_monero): prevent monero wallet from breaking during rename (#2214) 2025-05-02 15:30:39 +03:00
monero_subaddress_list.dart CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
monero_transaction_creation_credentials.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
monero_transaction_history.dart CW-214-Monero-wallet-rescan-bug (#945) 2023-07-11 20:56:01 +03:00
monero_transaction_info.dart unfocus fields when tapping button 2025-01-17 16:31:57 +02:00
monero_unspent.dart fix(cw_monero): prevent monero wallet from breaking during rename (#2214) 2025-05-02 15:30:39 +03:00
monero_wallet.dart CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
monero_wallet_addresses.dart Cw 925 improve automatic subaddress generation behavior (#2217) 2025-04-30 19:11:36 +03:00
monero_wallet_service.dart CW-1045-Ledger-Bugs-Enhancements (#2278) 2025-05-26 18:38:51 +03:00
pending_monero_transaction.dart CW 1080: fix(cw_monero): call store() directly after commiting tx (#2312) 2025-06-16 17:49:43 +03:00