The open source repository for Cake Wallet, a noncustodial multi-currency wallet, and Monero.com, a noncustodial Monero-only wallet. Need help? Check out https://docs.cakewallet.com https://cakewallet.com
Find a file
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
.github CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
android v4.28.0 Release Candidate (#2260) 2025-05-16 13:51:36 +03:00
assets CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_bitcoin CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_bitcoin_cash update-payjoin (#2281) 2025-06-11 19:44:06 +03:00
cw_core CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_decred CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_ethereum CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_evm CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_monero CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_mweb CW-875 BackupServiceV3 (#2064) 2025-03-22 03:16:54 +02:00
cw_nano CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_polygon CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_shared_external CW-1000 Background sync improvements (#2142) 2025-04-24 19:06:43 +02:00
cw_solana CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_tron CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_wownero CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
cw_zano CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
docs update-payjoin (#2281) 2025-06-11 19:44:06 +03:00
integration_test CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
ios v4.28.0 Release Candidate (#2260) 2025-05-16 13:51:36 +03:00
lib CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
linux CW-1020 arm64 linux support (#2110) 2025-03-31 07:19:01 +02:00
macos Gracefully handle toast messages error on desktop platforms 2025-04-28 15:12:42 +03:00
res/values CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
scripts dcr: Always fetch the current dir path. (#2242) 2025-06-17 01:37:49 +03:00
test CW-1073 Implement Monero wallet definition URI scheme (#2323) 2025-06-18 17:20:03 +03:00
test_driver CW-727/728-Automated-Integrated-Tests (#1514) 2024-09-22 05:46:51 +03:00
tool CW-1069-implement-deuro-dapp-support (#2304) 2025-06-19 05:37:41 +03:00
windows remove autogenerated files and add them to gitignore (#2108) 2025-03-26 15:08:57 +02:00
.dockerignore Improve build docs and optimize Dockerfile for Android and Linux builds (#2016) 2025-03-09 23:10:12 +02:00
.gitignore Remove old cake wallet logo (#2161) 2025-04-07 18:14:35 +02:00
.gitmodules TMP 4 2020-06-20 10:10:00 +03:00
.metadata CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
analysis_options.yaml Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00
cakewallet.bat Wownero (#1485) 2024-07-04 22:43:17 +03:00
com.cakewallet.CakeWallet.yml revert flatpack path [skip ci] 2025-04-04 01:59:55 +02:00
configure_cake_wallet.sh CW-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02:00
Dockerfile update-payjoin (#2281) 2025-06-11 19:44:06 +03:00
env.json Wownero (#1485) 2024-07-04 22:43:17 +03:00
integration_test_runner.sh CW-827 CI/CD update (#1948) 2025-01-15 13:09:59 +02:00
LICENSE.md Update LICENSE.md (#1984) 2025-01-28 14:57:53 +02:00
model_generator.sh Remove haven (#2085) 2025-03-21 04:52:05 +02:00
PRIVACY.md Docs spelling issues (#1789) 2024-11-04 04:51:19 +02:00
pubspec_base.yaml CW-519 Enable built-in Tor (#1950) 2025-06-20 22:56:18 +03:00
pubspec_description.yaml CW-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02:00
README.md add/remove coins from readme & matic -> pol on add wallet page (#2165) 2025-04-07 19:08:07 +02:00
run-android.sh Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00

logo

devices

Cake Wallet

Cake Wallet is an open-source, non-custodial, and private multi-currency crypto wallet for Android, iOS, macOS, and Linux.

Cake Wallet includes support for several cryptocurrencies, including:

  • Monero (XMR)
  • Bitcoin (BTC)
  • Ethereum (ETH)
  • Litecoin (LTC)
  • Bitcoin Cash (BCH)
  • Polygon (POL)
  • Solana (SOL)
  • Tron (TRX)
  • Nano (XNO)
  • Zano (ZANO)
  • Decred (DCR)
  • Wownero (WOW)

Features

App-Wide Features

  • Completely noncustodial. Your keys, your coins.
  • Built-in exchange for dozens of pairs
  • Easily pay cryptocurrency invoices with fixed rate exchanges
  • Buy cryptocurrency (BTC/LTC/XMR/ETH) with credit/debit/bank
  • Sell cryptocurrency by bank transfer
  • Scan QR codes for easy cryptocurrency transfers
  • Create several wallets
  • Select your own custom nodes/servers
  • Address book
  • Backup to an external location or iCloud
  • Send to OpenAlias, Unstoppable Domains, Yats, and FIO Crypto Handles
  • Set desired network fee level
  • Store local transaction notes
  • Extremely simple user experience
  • Convenient exchange and sending templates for recurring payments
  • Create donation links and invoices in the receive screen
  • Robust privacy settings (eg: Tor-only connections)
  • Robust security settings (eg: Cake 2FA)

Monero Specific Features

  • The Monero view key is retained on the device for maximum privacy
  • Full support for Monero subaddresses and accounts
  • Specify restore height for faster syncing
  • Specify multiple recipients for batch sending
  • Optionally set Monero nodes as trusted for faster syncing
  • Specify a proxy for Monero nodes, compatible with Tor and i2p

Bitcoin Specific Features

  • Bitcoin coin control (specify specific outputs to spend)
  • Automatically generate new addresses
  • Specify multiple recipients for batch sending

Ethereum Specific Features

  • Store ETH and all ERc-20 tokens
  • Add custom tokens by contract address
  • Enable or disable Etherscan for transaction history

Litecoin Specific Features

  • Litecoin coin control (specify specific outputs to spend)
  • Automatically generate new addresses
  • Specify multiple recipients for batch sending

Monero.com by Cake Wallet for Android and iOS

Open Source Monero-Only Wallet

Exchanging to/from other assets is also supported.

APK Verification

APK releases on GitHub, Accrescent, and F-Droid use the same key. They can easily be verified using apksigner or AppVerifier.

See below for Cake Wallet's SHA-256 signing certificate hash:

com.cakewallet.cake_wallet
C5:40:53:AB:0F:10:D9:54:17:62:A3:DA:76:65:AE:3D:BA:5E:7C:74:3A:B4:F1:08:A5:34:9D:62:AC:10:6E:F5

Support

We have 24/7 free support. Please contact support@cakewallet.com

We have excellent user guides, which are also open-source and open for contributions: https://guides.cakewallet.com

Build Instructions

More instructions to follow

For instructions on how to build for Android: please view file howto-build-android.md

Contributing

Improving translations

Edit the applicable strings_XX.arb file in res/values/ and open a pull request with the changes.

Current list of language files:

  • English
  • Spanish
  • French
  • German
  • Italian
  • Portuguese
  • Dutch
  • Polish
  • Croatian
  • Russian
  • Ukrainian
  • Hindi
  • Japanese
  • Chinese
  • Korean
  • Thai
  • Arabic
  • Turkish
  • Burmese
  • Urdu
  • Bulgarian
  • Czech
  • Indonesian
  • Hausa
  • Yoruba

Add a new language

  1. Create a new strings_XX.arb file in res/values/, replacing XX with the language's ISO 639-1 code.

  2. Edit the strings in this file, replacing XXX below with the translation for each string.

"welcome": "Welcome to", -> "welcome": "XXX",

  1. For strings where there is a variable, denoted by a $ symbol and braces, such as ${status}, the string in braces should not be translated. For example, when editing line 106:

"time" : "${minutes}m ${seconds}s"

The only parts to be translated, if needed, are the values m and s after the variables.

  1. Add the language to lib/entities/language_service.dart under both supportedLocales and localeCountryCode. Use the name of the language in the local language and in English in parentheses after for supportedLocales. Use the ISO 3166-1 alpha-3 code for localeCountryCode. You must choose one country, so choose the country with the most native speakers of this language or is otherwise best associated with this language.

  2. Add a relevant flag to assets/images/flags/XXXX.png, replacing XXXX with the 3 letters localeCountryCode. The image must be 42x26 pixels with 3 pixels of transparent margin on all 4 sides. You can resize the flag with paint.net to 36x20 pixels, expand the canvas to 42x26 pixels with the flag anchored in the middle, and then manually delete the 3 pixels on each side to make it transparent. Or you can use another program like Photoshop.

  3. Add the new language code to tool/utils/translation/translation_constants.dart

Add a new fiat currency

  1. Check with Cake Wallet support to see if the desired new fiat currency is available through our fiat API. Not all fiat currencies are.

  2. If the currency is associated strongly with a specific issuing country, map the ISO 4217 currency code with the applicable ISO 3166-1 alpha-3 code in lib/entities/fiat_currency.dart. If the currency is used in a whole region or organization, then map with a reasonable interpretation of this (eg: eur countryCode for EUR symbol).

  3. Add the raw mapping underneath in lib/entities/fiat_currency.dart following the same format as the others.

  4. Add a flag of the issuing country or organization to assets/images/flags/XXXX.png, replacing XXXX with the ISO 3166-1 alpha-3 code used above (eg: usa.png, eur.png). Do not add this if the flag with the same name already exists. The image must be 42x26 pixels with a 3 pixels of transparent margin on all 4 sides.


Copyright (C) 2018-2023 Cake Labs LLC