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://guides.cakewallet.com
Find a file
Matthew Fosse 83ef61e928
Cw 565 sign messages (#1378)
* version bump to 3.13.9, auth working on mac

* bump flutter version in workflow file

* workflow fix

* test fix

* downgrade flutter version

* test fix

* test fix

* update gradle version

* start working on ui for message signing

* updates

* sign working for a few wallet types

* updates & verification for electrum currencies

* nano support

* sign/verify working on eth, bitcoin broken

* update translations

* Implement Verify Message for Monero

* save [skip ci]

* pub key extraction working

* fixes for electrum signing

* verify working for solana!

* electrum still not working :( [skip ci]

* electrum messages working!

* fixes for updated dart version, localization file updates

* remove accidental inclusion

* missed some unimplemented throws

* Update res/values/strings_de.arb

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>

* Apply suggestions from code review

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>

* review suggestions and updates [skip ci]

* [skip ci] add polygon

* [skip ci] merge mac-auth/update version

* fix litecoin

* bio auth mac fix

* remove comment and change duration from 2 to 0

* cherry pick previous changes

* litecoin fixes, sign form fixes, use new walletAddressPicker

* support accounts

* verify messages working for monero

* working sign and verify messages for nano

* electrum signing working [skip ci]

* additional nano fixes

* update translations

* attempt to decode signatures with base64

* workaround for secure storage bug on mac

* bump version to 3.19.5 (because breez will need this version anyways)

* some code cleanup

* some changess didn't get saved

* just documenting the issue [skip ci]

* undo accidental removal + minor code cleanup

* merge conflicts

* merge fixes [skip ci]

* add tron support

* [wip] fixing

* remove duplicate references to electrum path for maintainability

* fixes

* minor fix

* fixes

* undo debug comment

* update migration for all electrum based wallets

* hotfixes

* copy over the rest of the fixes

* minor code cleanup [skip ci]

* updates

* electrum signing workinggit statusgit statusgit statusgit status!

* copy same fixes for litecoin

* litecoin fixes

* add v to litecoin signatures

* fix dependencies

* fix bitcoin_base version

* merge fix

* dep override

* fix conflicts with main

* trial fix for android build

* fixes

* fix

* dep fix, should build

* fix signing for bitcoin cash

* [skip ci] minor code cleanup

* [skip ci] minor code cleanup 2

* forgot wonero, various other fixes

* more fixes

* fix solana (untested)

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-08-18 02:10:27 +03:00
.github Update pr_test_build_linux.yml 2024-08-14 17:49:56 +03:00
android unstoppable domains fix (#1600) 2024-08-13 15:15:31 +03:00
assets Update support links (#1595) 2024-08-13 14:15:47 +03:00
cw_bitcoin Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
cw_bitcoin_cash Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
cw_core Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
cw_ethereum CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
cw_evm Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
cw_haven Update support links (#1595) 2024-08-13 14:15:47 +03:00
cw_monero Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
cw_nano Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
cw_polygon CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
cw_shared_external Update support links (#1595) 2024-08-13 14:15:47 +03:00
cw_solana Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
cw_tron Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
cw_wownero Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
ios Fix: Remove resolution scope from unstoppable domains plugin (#1604) 2024-08-13 21:25:18 +03:00
lib Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
linux CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
macos CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
res/values Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
scripts fix rosseta builds (#1593) 2024-08-17 05:25:10 +03:00
test Fixes 2020-09-28 18:47:43 +03:00
tool CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
windows Generic fixes (#1583) 2024-08-09 22:18:32 +03:00
.gitignore CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03: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 - Add Linter rules for return types and final fields 2023-02-08 20:16:12 +02:00
build-guide-linux.md CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
cakewallet.bat Wownero (#1485) 2024-07-04 22:43:17 +03:00
com.cakewallet.CakeWallet.yml CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
configure_cake_wallet.sh CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
devtools_options.yaml CW-653-Migrate-Tron-And-Solana-To-NowNodes (#1492) 2024-06-29 00:36:12 +03:00
env.json Wownero (#1485) 2024-07-04 22:43:17 +03:00
how_to_add_new_wallet_type.md Wownero (#1485) 2024-07-04 22:43:17 +03:00
howto-build-android.md Guides update (#1542) 2024-07-19 05:37:20 +03:00
howto-build-ios.md Guides update (#1542) 2024-07-19 05:37:20 +03:00
howto-build-macos.md Guides update (#1542) 2024-07-19 05:37:20 +03:00
howto-build-windows.md Guides update (#1542) 2024-07-19 05:37:20 +03:00
LICENSE.md Minor: license change 2023-01-09 10:47:14 -06:00
model_generator.sh CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
PRIVACY.md Generic fixes (#1274) 2024-01-27 00:51:21 +02:00
pubspec_base.yaml Cw 565 sign messages (#1378) 2024-08-18 02:10:27 +03:00
pubspec_description.yaml bio auth on mac + package updates for 3.19.3/5 (#1398) 2024-05-06 22:55:05 +03:00
README.md Fix logo sizing (#1592) 2024-08-12 22:17:01 +03:00
run-android.sh Wownero (#1485) 2024-07-04 22:43:17 +03:00
SECURITY.md Create SECURITY.md (#1375) 2024-04-10 03:32:43 +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 (MATIC)
  • Solana (SOL)
  • Nano (XNO)
  • Haven (XHV)

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 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

Haven Specific Features

  • Send, receive, and store XHV and all xAssets like xUSD, xEUR, xAG, etc.

Monero.com by Cake Wallet for Android and iOS

Open Source Monero-Only Wallet

Exchanging to/from other assets is also supported.

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 digit localeCountryCode. The image must be 42x26 pixels with a 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 transparent. Or you can use another program like Photoshop.

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