CakeWallet/cw_core/lib
Omar Hatem 0ba54fa602
Add decred (#1938)
* decred: Add decred. (#1322)

* multi: Add initial decred screens. (#1165)

Use a mock libwallet for now.

* cw_decred: add libdcrwallet dependency and link library for android, ios and macos (#1240)

* change cw_decred from package to plugin

* add libdcrwallet dependency and link library for android, ios and macos

* remove spvwallet, make some libdcrwallet fns async, light refactor

* libdcrwallet: use json payload returns

* use specific libwallet commit hash

* decred: fix Rename wallet.

---------

Co-authored-by: JoeGruff <joegruffins@gmail.com>

* decred: Add sync.

* decred: Add send transaction.

* decred: Fix fee estimation.

* decred: List transactions.

* decred: Add rescan.

* decred: Sign message.

* decred: Add new addr and addrs.

* decred: Add change wallet pass.

* decred: Add restore from seed.

* decred: Add watching only wallets.

* decred: Enable mainnet.

* decred: Allow using blank node address.

This allows a persistent peer to be unset, falling back to decred
seeders.

* decred: Rescan from wallet birthday.

* add and update macos build scripts, update build readme, gitignore macos project.pbxproj

Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>

* multi: hide decred rescan page if it's not ready

-  move hasRescan method to WalletBase and implement for decred

Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>

* cw_decred: fix bug where decred wallets are not loaded after app restart

Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>

* add buy and sell for decred via onramp

Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>

* bug-fix: account for other send outputs that are part of the same tx

Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>

* decred: Return address with no peers.

* decred: Update pubspec.

* decred: Add verify message.

* upgrade hive_generator dep in cw_decred

* decred: Clean up code.

---------

Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
Co-authored-by: Wisdom Arerosuoghene <wisdom.arerosuoghene@gmail.com>
Co-authored-by: Philemon Ukane <ukanephilemon@gmail.com>

* fix extracted addresses not used
fix conflicts with main

* remove print [skip ci]

* minor formatting

* fix initial migration version

* add build decred script to workflow

* install go before build decred
fix switch cases

* trial 2 to fix decred build

* re-install go

* revert build script change

* refactor/clean nodes functions

* Fix address book issue
Fix send ALL (to be continued with the fees point)

* Fix transactions display issues
Add missing file

* Fix unconfirmed balance not displayed
Change Wallet order
Minor cleanup

* Fix workflow

* Fix workflow

* Fix workflow

* test

* hardcode path for now

* fix + cleanup decred build script to work on mac and linux

* Update decred build script

* Run actions on pull requests, extract commit message

* run after checkout

* add safe directory

* Get commit message from base.sha instead of last commit

* base -> head

* Do not merge main branch into pr

* [skip slack] [run tests] clone by sha

* Proper name for decred library in the build script

* Throw an error when ANDROID_HOME or ANDROID_NDK_VERSION is missing

* Fix conflicts with main

* minor code enhancement

* decred: Add used address history.  (#1941)

* decred: Update pubspec.

* decred testnet

* decred: Add used address history.

* decred: Remove default node list.

* populate transaction history before sync begins

* decred: Add some awaits.

* decred: Fix send all.

* decred: Add clang export to build script.

* decred: Update logo colors.

* cleanup cw_decred.dart

* make decred wallet addresses selectable in receive page

* decred: Always set default addr when used.

* decred: Add back default node list.

* decred: Allow creating addresses manually.

---------

Co-authored-by: Wisdom Arerosuoghene <wisdom.arerosuoghene@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* minor fixes and cleanup

* minor fix, feel free to test now

* - Fix transaction details
- Fix Nodes
- Add processing sync status

* Add decred info card

* push missing file

* Add missing text for decred info card

* minor: change docs link [skip ci]

* decred: Update derivation info. (#2013)

* decred: Update derivation info.

* decred: Allow unsynced unused addresses.

* decred: Update dcrwallet dep to 4.3.0.

* Merge main and fix conflicts

* Merge main and fix conflicts

* decred: Fix background sync panic. (#2080)

* decred: Run libwallet in isolate. (#2077)

* decred: Fix contact save inquiry. (#2083)

Also fix tx time and the fee shown on pending transactions.

* Disable send button in view only decred wallets

* - Fix frozen coins
- Add URI support
- Fix fees in tx details
- Handle empty coins send
- Handle wallets in address book

* Merge main

* remove print [skip ci]

* Fix restore from QR

* minor improvement for QR restore

* minor fixes [skip ci]

* decred: Get slip44 addrs before sync completes. (#2092)

* - Fix loading wallet more than one time
- Fix minor UI issue

---------

Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
Co-authored-by: JoeGruffins <34998433+JoeGruffins@users.noreply.github.com>
Co-authored-by: Wisdom Arerosuoghene <wisdom.arerosuoghene@gmail.com>
Co-authored-by: Philemon Ukane <ukanephilemon@gmail.com>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
2025-03-21 04:18:47 +02:00
..
hardware Ledger monero fix (#1834) 2024-12-14 01:32:36 +02:00
utils CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
account.dart CW-260 show amount received for each account (#907) 2023-05-05 15:58:41 +03:00
account_list.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
address_info.dart CW-228 Auto generate monero subaddress (#902) 2023-08-29 19:11:51 +03:00
amount_converter.dart Add decred (#1938) 2025-03-21 04:18:47 +02:00
balance.dart litecoin mweb support (#1455) 2024-09-28 05:22:25 +03:00
battery_optimization_native.dart CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
cake_hive.dart Re add chatwoot (#1044) 2023-08-15 03:47:25 +03:00
crypto_amount_format.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
crypto_currency.dart Cw 939 whitelist known tokens (#2038) 2025-02-27 05:49:57 +02:00
currency.dart Cw 314 trocador receive screen update (#823) 2023-03-24 17:26:42 +02:00
currency_for_wallet_type.dart Add decred (#1938) 2025-03-21 04:18:47 +02:00
encryption_file_utils.dart CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
enumerable_item.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
enumerate.dart Btc address types (#1263) 2024-02-23 18:13:30 +02:00
erc20_token.dart CW-545-Overriding-Erc20-tokens-list (#1249) 2023-12-30 17:28:33 +02:00
exceptions.dart - Fix error popup showing multiple times (#1987) 2025-01-30 04:29:55 +02:00
format_amount.dart Move bitcoin and monero parts into self modules. 2021-12-24 14:52:08 +02:00
get_height_by_date.dart CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
hive_type_ids.dart Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00
key.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
keyable.dart Move bitcoin and monero parts into self modules. 2021-12-24 14:52:08 +02:00
monero_amount_format.dart Fix incorrect amount parsing due to bytes approximation 2023-02-15 23:16:21 +02:00
monero_balance.dart fix available balance for monero/wownero 2024-12-28 07:15:59 +02:00
monero_transaction_priority.dart Monero update (#1325) 2024-03-14 20:26:00 +02:00
monero_wallet_keys.dart Zano with passphrase (#1971) 2025-01-24 20:33:24 +02:00
monero_wallet_utils.dart Monero stability and cleanup (#1572) 2024-08-09 22:15:54 +03:00
mweb_utxo.dart Mweb enhancements 4 (#1768) 2024-11-07 04:57:36 +02:00
n2_node.dart Generic Fixes (#1373) 2024-04-12 16:01:21 +02:00
nano_account.dart CW-438 add nano (#1015) 2023-10-05 04:09:07 +03:00
nano_account_info_response.dart CW-438 add nano (#1015) 2023-10-05 04:09:07 +03:00
node.dart Add decred (#1938) 2025-03-21 04:18:47 +02:00
output_info.dart Cw 537 integrate thor chain swaps (#1280) 2024-03-28 14:41:11 +02:00
parseBoolFromString.dart Move bitcoin and monero parts into self modules. 2021-12-24 14:52:08 +02:00
pathForWallet.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00
pending_transaction.dart WIP: CW-665 Implement AirGapped Monero Transactions (#1535) 2024-11-09 20:59:47 +02:00
receive_page_option.dart Add decred (#1938) 2025-03-21 04:18:47 +02:00
root_dir.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00
sec_random_native.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00
set_app_secure_native.dart Cw 155 monero synchronization (#1014) 2023-08-04 20:55:56 +03:00
solana_rpc_http_service.dart Solana Wallet New Implementation (#2011) 2025-03-14 16:42:17 +02:00
subaddress.dart CW-611-Refactor-Address-Handling (#1630) 2024-09-28 05:38:23 +03:00
sync_status.dart Add decred (#1938) 2025-03-21 04:18:47 +02:00
transaction_direction.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
transaction_history.dart CW-214-Monero-wallet-rescan-bug (#945) 2023-07-11 20:56:01 +03:00
transaction_info.dart Mweb enhancements 4 (#1768) 2024-11-07 04:57:36 +02:00
transaction_priority.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
unspent_coin_type.dart Peg in and peg out flow (#1745) 2024-10-15 00:28:38 +03:00
unspent_coins_info.dart Cw 830 coin control getting cleared (#1825) 2024-11-28 17:53:03 +02:00
unspent_comparable_mixin.dart Cw 830 coin control getting cleared (#1825) 2024-11-28 17:53:03 +02:00
unspent_transaction_output.dart Cw 830 coin control getting cleared (#1825) 2024-11-28 17:53:03 +02:00
wallet_addresses.dart CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
wallet_addresses_with_account.dart Flutter upgrade 2022-10-12 13:09:57 -04:00
wallet_base.dart Add decred (#1938) 2025-03-21 04:18:47 +02:00
wallet_credentials.dart CW-843: Enhance Wallet Groups Implementation (#2045) 2025-03-06 02:25:38 +02:00
wallet_info.dart CW-843: Enhance Wallet Groups Implementation (#2045) 2025-03-06 02:25:38 +02:00
wallet_keys_file.dart CW-676 Add Linux scripts to build monero_c for linux platform (#1527) 2024-08-13 01:18:14 +03:00
wallet_service.dart Cw 660 add ledger monero (#1747) 2024-11-12 05:26:09 +02:00
wallet_type.dart Add decred (#1938) 2025-03-21 04:18:47 +02:00
window_size.dart CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
wownero_amount_format.dart Wownero (#1485) 2024-07-04 22:43:17 +03:00
wownero_balance.dart fix available balance for monero/wownero 2024-12-28 07:15:59 +02:00
zano_asset.dart Zano asset logo (#2010) 2025-02-19 00:31:25 +02:00