CakeWallet/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
..
anonpay CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
anypay CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
bitcoin update-payjoin (#2281) 2025-06-11 19:44:06 +03:00
bitcoin_cash CW-843: Enhance Wallet Groups Implementation (#2045) 2025-03-06 02:25:38 +02:00
buy CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cake_pay CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
core CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
decred Add decred (#1938) 2025-03-21 04:18:47 +02:00
entities CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
ethereum CW-1069-implement-deuro-dapp-support (#2304) 2025-06-19 05:37:41 +03:00
exchange CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
haven Add the code to enable removing Haven wallets (#2222) 2025-04-23 12:19:59 +02:00
locales CW-875 BackupServiceV3 (#2064) 2025-03-22 03:16:54 +02:00
mastodon CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
monero CW 1080: fix(cw_monero): call store() directly after commiting tx (#2312) 2025-06-16 17:49:43 +03:00
nano CW-843: Enhance Wallet Groups Implementation (#2045) 2025-03-06 02:25:38 +02:00
nostr CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
polygon CW-1069-implement-deuro-dapp-support (#2304) 2025-06-19 05:37:41 +03:00
reactions CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
solana Fix Scam tokens handling and make it persistent (#2138) 2025-04-03 03:32:00 +02:00
src CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
store CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
themes Update Theme Setup (#2300) 2025-05-29 16:46:43 +03:00
tron Fix Scam tokens handling and make it persistent (#2138) 2025-04-03 03:32:00 +02:00
twitter CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
utils CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
view_model CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
wownero CW-1024 Improve performance of xmr wallet (#2128) 2025-04-03 03:31:25 +02:00
zano CW-1024 Improve performance of xmr wallet (#2128) 2025-04-03 03:31:25 +02:00
app_scroll_behavior.dart Cw 567 cant swipe through menus on desktop builds (#1563) 2024-08-10 01:21:26 +03:00
di.dart CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
main.dart CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
palette.dart Replace purple with "Cake Dark Blue" theme and make it default (#1314) 2024-02-28 04:15:18 +02:00
router.dart CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
routes.dart CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
typography.dart Cw 657 new buy sell flow (#1553) 2024-11-09 21:00:56 +02:00
wallet_type_utils.dart Remove haven (#2085) 2025-03-21 04:52:05 +02:00