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
Adegoke David d1870ba8b8
CW-525-Add-Tron-Wallet (#1327)
* chore: Initial setup for Tron Wallet

* feat: Create Tron Wallet base flow implemented, keys, address, receive, restore and proxy classes all setup

* feat: Display seed and key within the app

* feat: Activate restore from key and seed for Tron wallet

* feat: Add icon for tron wallet in wallet listing page

* feat: Activate display of receive address for tron

* feat: Fetch and display tron balance, sending transaction flow setup, fee limit calculation setup

* feat: Implement sending of native tron, setup sending of trc20 tokens

* chore: Rename function

* Delete lib/tron/tron.dart

* feat: Activate exchange for tron and its tokens, implement balance display for trc20 tokens and setup secrets configuration for tron

* feat: Implement tron token management, add, remove, delete, and get tokens in home settings view, also minor cleanup

* feat: Activate buy and sell for tron

* feat: Implement restore from QR, transactions history listing for both native transactions and trc20 transactions

* feat: Activate send all and do some minor cleanups

* chore: Fix some lint infos and warnings

* chore: Adjust configurations

* ci: Modify CI to create and add secrets for node

* fix: Fixes made while self reviewing the PR for this feature

* feat: Add guide for adding new wallet types, and add fixes to requested changes

* fix: Handle exceptions gracefully

* fix: Alternative for trc20 estimated fee

* fix: Fixes to display of amount and fee, removing clashes

* fix: Fee calculation WIP

* fix: Fix issue with handling of send all flow and display of amount and fee values before broadcasting transaction

* fix: PR review fixes and fix merge conflicts

* fix: Modify fetching assetOfTransaction [skip ci]

* fix: Move tron settings migration to 33
2024-05-03 21:00:05 +03:00
.github CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
android CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
assets CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
cw_bitcoin fix backward compatibility issue with existing electrum wallets (#1424) 2024-05-01 19:21:04 +03:00
cw_bitcoin_cash Enhance bitcoin error message (#1399) 2024-04-26 22:29:31 +03:00
cw_core CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
cw_ethereum Revert "version bump to 3.13.9, auth working on mac (#1367)" (#1397) 2024-04-18 20:10:58 +02:00
cw_evm Generic Fixes: Support Errors and others (#1394) 2024-04-25 03:14:53 +02:00
cw_haven fix empty string case (#1401) 2024-04-25 02:00:53 +02:00
cw_monero fix empty string case (#1401) 2024-04-25 02:00:53 +02:00
cw_nano fix backward compatibility issue with existing electrum wallets (#1424) 2024-05-01 19:21:04 +03:00
cw_polygon Revert "version bump to 3.13.9, auth working on mac (#1367)" (#1397) 2024-04-18 20:10:58 +02:00
cw_shared_external Generic fixes (#1173) 2023-11-18 00:15:15 +02:00
cw_solana Generic Fixes: Support Errors and others (#1394) 2024-04-25 03:14:53 +02:00
cw_tron CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
ios CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
lib CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
macos Litcoin bitcoin cash fix (#1339) 2024-03-21 04:51:57 +02:00
res/values Bitcoin derivations (#1089) 2024-04-30 03:49:56 +03:00
scripts CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
test Fixes 2020-09-28 18:47:43 +03:00
tool CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
.gitignore CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
.gitmodules TMP 4 2020-06-20 10:10:00 +03:00
.metadata Dashboard desktop view (#737) 2023-04-14 06:39:08 +02:00
analysis_options.yaml - Add Linter rules for return types and final fields 2023-02-08 20:16:12 +02:00
configure_cake_wallet.sh script updates and new run-android script (#1396) 2024-04-18 20:10:32 +02:00
how_to_add_new_wallet_type.md CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
howto-build-android.md Flutter update (#1048) 2023-08-18 18:37:17 +03:00
LICENSE.md Minor: license change 2023-01-09 10:47:14 -06:00
model_generator.sh CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
PRIVACY.md Generic fixes (#1274) 2024-01-27 00:51:21 +02:00
pubspec_base.yaml CW-525-Add-Tron-Wallet (#1327) 2024-05-03 21:00:05 +03:00
pubspec_description.yaml Revert "version bump to 3.13.9, auth working on mac (#1367)" (#1397) 2024-04-18 20:10:58 +02:00
README.md Update README.md 2024-04-05 19:33:42 -04:00
run-android.sh minor script fix (#1423) 2024-05-01 19:44:22 +03:00
SECURITY.md Create SECURITY.md (#1375) 2024-04-10 03:32:43 +02:00

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