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
David Adegoke 3ad04227a4
test: Attempting automation for testing (#1734)
* feat: Integration tests setup and tests for Disclaimer, Welcome and Setup Pin Code pages

* feat: Integration test flow from start to restoring a wallet successfully done

* test: Dashboard view test and linking to flow

* feat: Testing the Exchange flow section, selecting sending and receiving currencies

* test: Successfully create an exchange section

* feat: Implement flow up to sending section

* test: Complete Exchange flow

* fix dependency issue

* test: Final cleanups

* feat: Add CI to run automated integration tests withan android emulator

* feat: Adjust Automated integration test CI to run on ubuntu 20.04-a

* fix: Move integration test CI into PR test build CI

* ci: Add automated test ci which is a streamlined replica of pr test build ci

* ci: Re-add step to access branch name

* ci: Add KVM

* ci: Add filepath to trigger the test run from

* ci: Add required key

* ci: Add required key

* ci: Add missing secret key

* ci: Add missing secret key

* ci: Add nano secrets to workflow

* ci: Switch step to free space on runner

* ci: Remove timeout from workflow

* ci: Confirm impact that removing copy_monero_deps would have on entire workflow time

* ci: Update CI and temporarily remove cache related to emulator

* ci: Remove dynamic java version

* ci: Temporarily switch CI

* ci: Switch to 11.x jdk

* ci: Temporarily switch CI

* ci: Revert ubuntu version

* ci: Add more api levels

* ci: Add more target options

* ci: Settled on stable emulator matrix options

* ci: Add more target options

* ci: Modify flow

* ci: Streamline api levels to 28 and 29

* ci: One more trial

* ci: Switch to flutter drive

* ci: Reduce options

* ci: Remove haven from test

* ci: Check for solana in list

* ci: Adjust amounts and currencies for exchange flow

* ci: Set write response on failure to true

* ci: Split ci to funds and non funds related tests

* test: Test for Send flow scenario and minor restructuring for test folders and files

* chore: cleanup

* ci: Pause CI for now

* ci: Pause CI for now

* ci: Pause CI for now

* test: Restore wallets integration automated tests

* Fix: Add keys back to currency amount textfield widget

* fix: Switch variable name

* fix: remove automation for now

* tests: Automated tests for Create wallets flow

* tests: Further optimize common flows

* tests: Add missing await for call

* tests: Confirm Seeds Display Properly WIP

* tests: Confirm Seeds Display Correctly Automated Tests

* fix: Add missing pubspec params for bitcoin and bitcoin_cash

* feat: Automated Tests for Transaction History Flow

* fix: Add missing pubspec parameter

* feat: Automated Integration Tests for Transaction History flow

* test: Updating send page robot and also syncing branch with main

* test: Modifying tests to flow with wallet grouping implementation

* fix: Issue with transaction history test

* fix: Modifications to the PR and add automated confirmation for checking that all wallet types are restored or created correctly

* test: Attempting automation for testing

* test: Attempting automation for testing

* test: Print out working directory

* test: See if I can cut down time by removing the build step

* test: More logs

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Pubspec was not generated, checking if this fixes it

* test: Another trial

* test: Another trial

* test: Another trial

* test: Another trial

* test: Another trial

* test: Another trial

* fix: Adjust config file

* test: Add commands to generate files and set codebase up as new

* test: try another route

* test: try another route - 2

* test: try another route

* test: try another route - 2

* test: Uncomment KVM and optimizations-a

* test: Try with sudo permissions-a

* test: Try again

* test: Pause build and rename steps, see how faster it resolves

* test: Try using working directory

* test: Check details of current working directory

* test: Switch test run command from flutter drive to flutter test

* test: Adding secrets to CI workflow

* fix: add working directory to emulator and reactivate build step

* test: Add verbosity

* test: Check tat emulator is present and ready to connect

* test: Try a direct test to see if it'll trigger properly

* test: Try the flutter drive command

* test: Try uninstalling before running

* test: Create an aggregator test file as the entry point for all tests

* test: Try without awaiting each test

* test: Another trial at getting combined tests running

* test: Use a test runner script that'll be responsible for running all available integration tests

* test: Add command to make integration test runner file an executable

* test: Fix failing exchange flow test

* test: fix failing exchange flow test

* test: Fix issue with send flow test

* test: Fix issue with confirm seeds flow test

* test: Modify create and restore flows to reflect modified onboarding flow

* chore: Remove package declaration in AndroidManifestBase file to fix issue of it being deprecated

* test: Bump up flutter version

* fix: Add meld keys

* chore: Remove package name declarations from AndroidManifests

* better write close function definition
comment integration tests workflow for now

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-12-13 21:45:41 +02:00
.github test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
android CW-846: Correctly display balance (#1848) 2024-12-04 15:01:49 +03:00
assets CW-802: Ethereum enhancements (#1826) 2024-12-11 16:45:15 +02:00
cw_bitcoin test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
cw_bitcoin_cash Cw 830 coin control getting cleared (#1825) 2024-11-28 17:53:03 +02:00
cw_core test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
cw_ethereum Add passphrase support for Eth, Polygon, and Tron (#1719) 2024-10-04 20:01:46 +03:00
cw_evm test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
cw_haven test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
cw_monero test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
cw_mweb CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
cw_nano test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
cw_polygon CW-802: Ethereum enhancements (#1826) 2024-12-11 16:45:15 +02:00
cw_shared_external fix building with haven 2024-11-25 21:05:36 +02:00
cw_solana test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
cw_tron test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
cw_wownero test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
integration_test test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
ios CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
lib test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
linux test (#1838) 2024-11-29 14:16:59 +03:00
macos test (#1838) 2024-11-29 14:16:59 +03:00
res/values Update seed page strings and colors (#1871) 2024-12-12 09:49:17 +02:00
scripts CW-848-amount-0-fee-error-fix-in-monero (#1866) 2024-12-12 23:32:05 +02: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 CW-673: Save Haven seeds to show it to the user after Haven removal (#1518) 2024-12-11 22:31:01 +02:00
windows test (#1838) 2024-11-29 14:16:59 +03:00
.gitignore CW-727/728-Automated-Integrated-Tests (#1514) 2024-09-22 05:46:51 +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 Generic enhancements (#1668) 2024-09-23 17:10:40 +03:00
build-guide-linux.md CW-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02:00
build-guide-win.md Cw 660 add ledger monero (#1747) 2024-11-12 05:26:09 +02: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-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02: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 CW-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02:00
howto-build-android.md CW-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02:00
howto-build-ios.md CW-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02:00
howto-build-macos.md CW-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02:00
howto-build-windows.md CW-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02:00
integration_test_runner.sh test: Attempting automation for testing (#1734) 2024-12-13 21:45:41 +02:00
LICENSE.md Minor: license change 2023-01-09 10:47:14 -06:00
model_generator.sh CW-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02:00
PRIVACY.md Docs spelling issues (#1789) 2024-11-04 04:51:19 +02:00
pubspec_base.yaml fix building with haven 2024-11-25 21:05:36 +02:00
pubspec_description.yaml CW-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02:00
README.md Add APK verification to readme 2024-11-30 15:49:48 -05:00
run-android.sh CW-798 Fix macos 15 issues (#1775) 2024-11-25 16:08:30 +02:00
SECURITY.md Docs spelling issues (#1789) 2024-11-04 04:51:19 +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)
  • 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 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

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.

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