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
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
.github Cw 1038 filter transaction popup not scrollable (#2207) 2025-04-18 14:53:22 +02:00
android CW-1000 Background sync improvements (#2142) 2025-04-24 19:06:43 +02:00
assets implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
cw_bitcoin implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
cw_bitcoin_cash CW-843: Enhance Wallet Groups Implementation (#2045) 2025-03-06 02:25:38 +02:00
cw_core implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
cw_decred implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
cw_ethereum Label existing scam tokens (#2164) 2025-04-07 18:12:39 +02:00
cw_evm CW-969-Add-DFX-s-Open-CryptoPay (#2122) 2025-04-10 04:03:06 +02:00
cw_monero implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
cw_mweb CW-875 BackupServiceV3 (#2064) 2025-03-22 03:16:54 +02:00
cw_nano implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
cw_polygon Label existing scam tokens (#2164) 2025-04-07 18:12:39 +02:00
cw_shared_external CW-1000 Background sync improvements (#2142) 2025-04-24 19:06:43 +02:00
cw_solana Explore-Reown-For-WalletConnect (#2156) 2025-04-24 18:39:58 +02:00
cw_tron chore: fix some typos in comment (#2258) 2025-05-11 18:38:00 +03:00
cw_wownero implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
cw_zano implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
docs CW-1020 arm64 linux support (#2110) 2025-03-31 07:19:01 +02:00
integration_test Remove haven (#2085) 2025-03-21 04:52:05 +02:00
ios fix(cw_monero): prevent monero wallet from breaking during rename (#2214) 2025-05-02 15:30:39 +03:00
lib implement-payjoin (#1949) 2025-05-12 20:33:14 +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 implement-payjoin (#1949) 2025-05-12 20:33:14 +03:00
scripts fix(cw_monero): prevent monero wallet from breaking during rename (#2214) 2025-05-02 15:30:39 +03:00
test Fixes 2020-09-28 18:47:43 +03:00
test_driver CW-727/728-Automated-Integrated-Tests (#1514) 2024-09-22 05:46:51 +03:00
tool implement-payjoin (#1949) 2025-05-12 20:33:14 +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 CW-1020 arm64 linux support (#2110) 2025-03-31 07:19:01 +02: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-1000 Background sync improvements (#2142) 2025-04-24 19:06:43 +02: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