Commit Graph
4495 Commits
Author SHA1 Message Date
Blazebrainandcyan 49f5a24e77 tentative fix for linux ci 2026-07-12 08:40:04 +02:00
Omar HatemandGitHub 00088502ed Improve how wallets are renamed. (#3352)
* Improve how wallets are renamed.
affected wallets (Electrum-like) (BTC, LTC, BCH, Doge)

* more improvements
also added Solana, Tron, EVM
2026-07-12 04:15:08 +03:00
Konstantin UllrichandGitHub 77f305af09 feat: add ToMoney extension for double type and refactor currency amount conversions (#3391) 2026-07-12 03:55:54 +03:00
Blazebrainandcyan 5b2045af28 fix android CI 2026-07-11 23:56:31 +02:00
Omar HatemandGitHub 38acc625f0 Add Radar to Apps screen (#3366)
* Add Radar to Apps screen

* ignore flutter error [skip ci]
2026-07-11 04:57:54 +03:00
malik1004xandGitHub f4b17e3354 fix styling on new wallet type selection (#3392) 2026-07-10 19:49:42 +03:00
CindyandGitHub 43bc0b67bf payjoin: exclude 0-conf inputs from receiver candidates (#3389) 2026-07-10 18:23:28 +03:00
Konstantin UllrichandGitHub 03d5046b81 Merge pull request #3374 from cake-tech/add-preimage-to-transaction-details
feat: add lightning preimage to transaction details
2026-07-10 15:26:55 +02:00
cyanandGitHub 2111edc5c5 prices: update endpoint (#2977) 2026-07-10 16:19:58 +03:00
David AdegokeandGitHub a7073df422 feat: harden spam detection for solana and evm (#3322)
* feat: harden spam detection for solana and evm

* fix: guard scam/impersonator tokens from auto-enabling on EVM and Solana

* feat: enhance token property validation for scam detection
2026-07-10 14:52:19 +03:00
jwinterm fa49834820 Fix build: repin ledger_usb_plus to pub.dev ^1.0.4 (dead git commit)
The dependency_override pinned ledger_usb_plus to
konstantinullrich/ledger-usb-plus@dad482c847..., a commit that was force-pushed
away and no longer exists — so 'flutter pub get' fails ('bad object') on any
cold runner (the Android/Linux containers). It passed on iOS only because the
Mac-mini runner had a warm pub cache. cake-tech's ledger-flutter-plus fork
depends on the published ledger_usb_plus ^1.0.4, so pin the override to that.
2026-07-10 07:29:31 -04:00
BSN ∞/21MandGitHub ddd665e671 Merge branch 'cake-tech:dev' into dev 2026-07-10 08:21:43 +02:00
jwinterm eee5ae83c2 CI: resolve app deps before generate_new_secrets (Android + Linux)
tool/generate_new_secrets.dart imports app packages (encrypt/convert/intl).
pubspec_gen.sh runs `flutter pub get` without set -e, so a silent hiccup there
surfaced downstream as 'Couldn't resolve the package encrypt' at secrets-gen.
Run `flutter pub get` explicitly (set -e) right before the tool on Android +
Linux, matching what the iOS flow effectively guarantees. The build container
already pins Flutter 3.32.0, so this resolves cleanly.
2026-07-09 21:49:08 -04:00
jwinterm bd9312839a Bump build number to 1.0.0+8 for TestFlight/Play submission
Build 7 is already on TestFlight. Both iOS (CFBundleVersion) and Android
(versionCode) source the build number from pubspec_description.yaml at build
time (scripts/{ios,android}/app_env.sh), so this single bump moves both to 8.
2026-07-09 19:48:42 -04:00
c9e0ac85d4 feat(exchange): add TRX and USDT-on-Tron to Chainflip (#3341)
Chainflip added Tron support with asset ids trx.tron and usdt.tron.
Enable both for swaps in the Chainflip provider.

Tron needs explicit handling because Chainflip's network slug is
'tron', while Cake uses the 'TRX' tag (and null for native TRX), so
the generic title.tag normalization can't produce the right ids:
- _supported: add trx, usdttrc20
- _normalizeCurrency: map trx -> trx.tron, usdttrc20 -> usdt.tron
- _normalizeNetworkName: TRON -> Tron (status lookup in findTradeById)
- _toCurrency: reverse-map trx.tron/usdt.tron for trade resolution

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 16:55:28 +03:00
David AdegokeandGitHub da9f0d62ee fix failing test based on resolver refactor (#3384) 2026-07-09 15:12:24 +03:00
910a5cd9ef if input transactions are not all fetched correctly or had a failure,… (#3353)
* if input transactions are not all fetched correctly or had a failure, still parse the transaction correctly instead of skipping it

* handle nullable tx fee

* show warning for BTC txs with missing inputs

---------

Co-authored-by: Serhii <17529954+serhii-bor@users.noreply.github.com>
2026-07-08 23:48:32 +03:00
BSN ∞/21MandGitHub d6077f8ae6 Merge branch 'cake-tech:dev' into dev 2026-07-07 09:12:27 +02:00
7928c912e8 Address resolver refactoring (#3291)
* restructure address resolver sources

* refactor address resolver into lookup service

* refactor address resolver to provider pattern

* use addressSource to drive providers & settings

* error handling

* add address source icons

* Update lib/core/address_validator.dart [skip ci]

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* review fixes

* add validations to extractParsedAddress

* skip address resolver for valid addresses

* minor fix [skip ci]

* fix formattedName x[skip ci]

Co-authored-by: malik1004x <malikowskirobert@gmail.com>

* fix formatted name zano [skip ci]

Co-authored-by: malik1004x <malikowskirobert@gmail.com>

* address PR review comments

* add icons for new address source resolvers

* confirm parsed addresses in contacts

* minor fixes

* LNUrl for BTCLN only and contact name handling

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Co-authored-by: malik1004x <malikowskirobert@gmail.com>
2026-07-06 16:48:30 +03:00
Konstantin Ullrich 6cb3149322 feat: add lightning preimage to transaction details 2026-07-06 14:42:03 +02:00
BSN ∞/21MandGitHub ee1503c78f Merge branch 'cake-tech:dev' into dev 2026-07-06 08:03:04 +02:00
Omar HatemandGitHub 8395300631 remove old providers [skip ci] 2026-07-05 17:10:26 +03:00
Omar 00b7d7ce0d minor fixes 2026-07-05 02:34:13 +03:00
Robert Malikowski 92f1314d94 reset filters after closing history modal 2026-07-03 17:55:06 +02:00
Robert Malikowski 4b40365efb add viewpadding for virtual keyboard 2026-07-03 17:29:54 +02:00
Robert Malikowski c3545b13e3 better error msg 2026-07-03 17:02:13 +02:00
Robert Malikowski 2c3ef1cf63 hide "more options" if no more options 2026-07-03 17:00:34 +02:00
Robert Malikowski 8405aa932c hide currency picker for single-currency wallets 2026-07-03 17:00:21 +02:00
Robert Malikowski 474312464b wrap HistoryTopBar in Observer 2026-07-03 16:28:12 +02:00
Robert Malikowski 764f3d9ea5 fix history buton padding w no txs 2026-07-03 15:44:25 +02:00
Robert Malikowski 14dcea5e1a fix silent payments appearing in non-btc wallets 2026-07-03 14:55:23 +02:00
Robert Malikowski 7b17459ed0 layout fix 2026-07-03 14:55:10 +02:00
Robert Malikowski 72b0844f29 fix decimals exception 2026-07-03 14:47:25 +02:00
Robert Malikowski 1af6ab00eb layout fix 2026-07-03 14:46:23 +02:00
Robert Malikowski 1f4054d632 reformat 2026-07-03 14:09:52 +02:00
Robert Malikowski 72c2899195 new buy/sell 2026-07-03 12:54:07 +02:00
jwinterm d9897f13ea MoonPay: key-gated enablement + inject MOONPAY_API_KEY/EXCHANGE_HELPER_API_KEY in CI
getAvailableBuyProviderTypes() now returns [moonpay] only when moonPayApiKey is
non-empty, so MoonPay's Buy button appears only in builds where the CI secret is
present (and the exchange-helper signer is live). Both build workflows now inject
MOONPAY_API_KEY -> moonPayApiKey and EXCHANGE_HELPER_API_KEY -> exchangeHelperApiKey
alongside Trocador + WalletConnect. moonPaySecretKey is server-side and never injected.
2026-07-02 16:41:45 -04:00
jwinterm 26a554c3f0 privacy: disclose opt-in error reports (match hash.boats/privacy + store labels) 2026-07-02 16:26:14 -04:00
jwinterm 803be5feea CI: inject WalletConnect projectId into Android + iOS TestFlight builds
Both build workflows now set walletConnectProjectId in lib/.secrets.g.dart from
the WALLETCONNECT_PROJECT_ID secret (alongside the Trocador keys), so
WalletConnect pairing works in signed builds. Add WALLETCONNECT_PROJECT_ID
(your reown Wallet projectId) to the CI secrets before building.
2026-07-02 15:49:54 -04:00
jwinterm 65887ea9db Move hash.boats site out to its own repo (~/src/hash.boats-site)
The site is now maintained/deployed from the standalone hash.boats-site repo,
so drop the gitignored local mirror and its tracked comment.
2026-07-02 14:19:08 -04:00
jwinterm 784a082f15 Legal + release-readiness pass for Hash Bags launch
Legal (aligned with the hosted hash.boats Terms & Privacy):
- Rewrite in-app Terms (assets/text/Terms_of_Use.txt): drop the false 'No Fiat
  Operations'/'No Embedded Applications' clauses; add MoonPay (optional, where
  available), Trocador swaps + ~1% fee disclosure, WalletConnect, sanctions/18+,
  Apple EULA rider, and PA + class/jury-waiver dispute terms.
- Reconcile PRIVACY.md with the canonical hosted policy.
- Add THIRD_PARTY_LICENSES.md; correct the blanket 'MIT' claim in README (app
  code MIT; bundles BSD-3/Apache-2.0/LGPL-3.0); fix README build-doc + LICENSE.md
  links and copyright year.
- Standardize in-app legal naming to 'Terms of Service'; add in-app links to
  hash.boats/terms and /privacy.

Release fixes:
- Align URL scheme hashwallet:// -> hashbags:// (matches registered scheme) so
  WalletConnect/Trezor/quick-action deep links work.
- Store-review gating: hide Buy action until a provider is available; hide the
  empty 'Apps' tab.
- Exclude removed chains (SOL/TRX/ZEC/DCR/ZANO + tokens) from swap pickers.
- Residual Cake branding: macOS CFBundleDisplayName and Windows Runner.rc
  (Hash Wallet -> Hash Bags); remove Android cakewallet://y.at leftover.
- Genericize internal-infra comments in CI workflows.
2026-07-02 14:07:24 -04:00
Robert Malikowski bfeae1eca8 fix evm decimals in history 2026-07-01 17:25:22 +02:00
Robert Malikowski 46cda778d8 fix date format in tx details 2026-07-01 17:25:13 +02:00
Robert Malikowski 63651aa39c fix line tab switcher updates 2026-07-01 17:24:56 +02:00
Robert Malikowski ddd66b08ea properly translate month names in history 2026-07-01 17:24:38 +02:00
Robert Malikowski 04d22594c8 add spanish for last 7 days 2026-07-01 17:24:15 +02:00
Robert Malikowski 629b478bed Merge branch 'dev' into cw-1497-transaction-history-improved-layout
# Conflicts:
#	lib/new-ui/widgets/coins_page/assets_history/history_section.dart
#	lib/new-ui/widgets/coins_page/assets_history/transaction_details_modal.dart
2026-07-01 16:53:59 +02:00
Robert Malikowski afbc6db066 wip 2026-07-01 16:49:19 +02:00
Robert Malikowski a2a0500213 wip 2026-07-01 09:56:20 +02:00
BSN ∞/21MandGitHub 1b5230030b Merge branch 'cake-tech:dev' into dev 2026-07-01 08:19:15 +02:00