Commit Graph
201 Commits
Author SHA1 Message Date
Blake KaufmanandGitHub c1d030650e Add leaf sync (#999)
* add leaf sync to sync after payments

* add local leaf storage

* create leaf timeout function

* adding leaves function

* adding compatibility for blink recovery tool

* add UI to handle export

* adding function to get root nodes

* fix transaction overlap bug

* adding loading half modal since process can take some time

* cache full exit path to sql

* change wallet leaves to wallet backup, and update icon

* when force mode sync for all leaves not just pending ones

* fix modal double navigation bug

* add wallet backup to doomsday row
2026-07-09 14:19:56 -04:00
Blake KaufmanandGitHub c7b764054e Improve balance handling (#992)
* removing old balance call

* switching from polling to event stream

* add debouce to savings claim events
2026-07-05 11:44:41 -04:00
Blake KaufmanandGitHub e1ab822b7d Fix balance issue (#981)
* get fresh balance on load

* improve balance version matchup + unbounded debounce

* bump to 50

* using sdk balance event

* bumping sdk

* fixing minor bugs

* remove uneeded log

* fixing border radius

* lower to 50 txs
2026-06-30 07:22:29 -04:00
Blake KaufmanandGitHub 1b0699eeea Btc map update (#979)
* add name as a value to the maps db

* create distance helpers

* map icon names to printed names

* resync maps data to pull names

* update maps UI, add list and filter

* updated translations

* use native modules for map clustering
2026-06-29 09:52:07 -04:00
Blake KaufmanandGitHub 1010ecedfc Lud 18 (#964)
* bump address parsing library

* add moneybadger refund address
2026-06-24 19:02:47 -04:00
Blake Kaufman c55c056430 bump ethers version 2026-06-20 09:23:11 -04:00
Blake KaufmanandGitHub 9ad0126fe7 Improve pay by number (#947)
* bump bitcoin address parser

* fix currency name

* use currency info

* improve splash hardening

* fix currency conversion
2026-06-19 20:15:27 -04:00
Blake Kaufman 400799226a bumping spark version 2026-06-08 10:57:48 -04:00
Blake KaufmanandGitHub 4fbc6b003f Improve rootstock (#892)
* removeing uneeded reverse swap function

* removing reverse swap swap creation function

* updating rsk defult limits

* bump boltz core

* improving swap reliability

* using modal to decide swap path insted of static page

* updating network transfers settings page + rootstock UI

* remove uneeded roostock sdk navigation

* add roostock info to transactions db

* remove uneeded details when confirmed

* adding abandoned as condition

* removing swap deletion so we can populate roostock swaps page with swaps history

* finalizing hardoned roostock swap integration

* update translations

* hardoned refund process
2026-06-05 12:18:02 -04:00
Blake KaufmanandGitHub 52dd4e44ec Improve liquid (#890)
* remove unused imports

* remove legacy liquid navigation listener

* add extra details prop to spark receive payment wrapper

* improve robusness of liquid swaps

* bump breez sdk + change swap message

* making sure to only mark failed if payment truly failed

* improve fee
2026-06-04 14:32:39 -04:00
f392c12677 Create deposit page (#878)
* Add i18n translation keys for deposit page

- Add 16 new keys to wallet.halfModal for deposit UI (depositFunds, onChainBitcoin, stablecoins, etc.)
- Add 'deposit' key to wallet.homeLightning.home
- Add sparkReceivePage section to screens.inAccount
- Apply changes to all 8 locale files: en, es, fr, de-DE, it, pt-BR, ru, sv
- Non-English locales use English placeholders (to be translated by translators)
- Brand names (Bitcoin, Lightning, Spark, Cash App, Liquid, USDC, USDT) preserved in English across all locales

* Add forcedDestination prop to CreateAccumulationAddressModal

When forcedDestination is provided, pre-sets the destination and skips
the destination selection step (chain → confirm directly). Back navigation
from confirm also returns to chain instead of destination.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Add SparkReceivePage for displaying Spark address with QR code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Register SparkReceivePage in navigation

Add import of SparkReceivePage from app/screens/inAccount and register it in SLIDE_FROM_RIGHT_SCREENS array.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Add HalfModalDepositFunds component with 5 deposit method tiles

Implements the deposit funds half modal with on-chain Bitcoin, stablecoins,
Cash App (US-only), Spark address, and other Bitcoin tiles, plus animated
subviews for Cash App invoice generation and stablecoin accumulation address flow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Fix 5 bugs in halfModalDepositFunds: animation, pointerEvents, toast, back handler, i18n

- Fix 1: Replace single shared-value animation pair with per-subview shared values so
  exit animations play — both subview containers are always mounted, animated in/out
- Fix 2: Add pointerEvents to options Animated.View so hidden tiles can't be tapped
- Fix 3: Show invoiceRetrivalError toast when Cash App invoice generation fails or throws
- Fix 4: Add useHandleBackPressNew so Android back navigates subview→options, not exit
- Fix 5: Wrap hardcoded "View details" in t() with wallet.halfModal.viewDetails key
  added to all 8 locale files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Add depositFunds and receiveMethodOptions cases to halfModal renderContent switch

* Add 'Other receiving methods' button to receive page

Adds a new button at the bottom of the receive page that opens CustomHalfModal
with receiveMethodOptions content. Uses existing navigation, translation key,
and imported components.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Add deposit button, receive method options modal, and fix post-review issues

- Replace Camera button with Deposit (Plus icon) on home screen, navigating
  to depositFunds half modal
- Add halfModalReceiveMethodOptions component with Lightning/On-Chain/
  Stablecoins/Spark/Other Bitcoin tiles
- Fix forcedDestination in handleBackPress useCallback deps
- Fix i18n key path from screens.sparkReceivePage to screens.inAccount.sparkReceivePage
- Add all wallet.halfModal and screens.inAccount.sparkReceivePage keys across
  all 8 locale files (en, es, fr, de-DE, it, pt-BR, ru, sv)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* add qr button to navbar

* update settings accumulation path

* creating others option

* remove old options pages

* make sure to never double create accumulation addresses

* adding bank icon

* finalizing new deposit path

* adding translations

* update translations

* show paylink insted of ln path

* update halfmodalsend options + depotis address options on homescreen

* fix translation

* ading back skip for ln path

* updated qr code style

* updated deposit path to show qr in modal not to receive page

* update slider height

* update create invoice, pools, and add contact overlay paths

* update qr wrapper styles

* add min amoutn warning

* add description back to edit payment information

* use 1 dollar as floor for usd invoices

* add paylink half modal

* update receive btc page

* updating translations

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 15:43:00 -04:00
Blake KaufmanandGitHub 3bec681f8b bump rn screens (#871) 2026-05-23 19:51:47 -04:00
Blake Kaufman 0df850058f prefill @bitcoin.co.ke 2026-05-22 09:08:44 -04:00
Blake Kaufman 56a9f00644 bump branta version 2026-05-19 12:18:17 -04:00
Blake KaufmanandGitHub 24b07d26d2 Add branta (#845)
* adding translations

* adding branta

* implemtn branta with pollyfill

* improve pollyfill

* change function name
2026-05-17 13:30:09 -04:00
Blake KaufmanandGitHub 881dc3c41b Finish bitrefill (#832)
* adding translations

* add email to local storage

* add bitrefillid to techical details

* add component body text to translations

* add payments to bitrefill modal

* fixing error messages + fixing usd swap

* fixed android bitrefill webview loading bug

* remove legacy gift option

* fix keyboard issue

* add android back handling

* remove auto focus + use react-native-keyboard-controller dismiss
2026-05-15 13:58:00 -04:00
Blake Kaufman 858efe8d48 bump reanimated version 2026-05-11 17:18:42 -04:00
Blake Kaufman bb5667faad bump spark version 2026-05-10 13:48:43 -04:00
Blake KaufmanandGitHub d4083680a9 bump visoin camera version (#822)
* bump visoin camera version

* fix eslint

* minor stability fixes
2026-05-10 10:49:42 -04:00
Blake KaufmanandGitHub 3d7f35faf6 Btcmap store (#821)
* updating online listings ui

* update sms styles

* update chatGPT add credits

* fix chatGPT button style

* adding location permissions

* installing maps + location packages

* creating btc map merchange page

* created btcMap to lucid react icon mapping

* add btc map integration

* adding translations

* adding modal but WIP

* fix on error android back button
2026-05-09 18:31:42 -04:00
Blake Kaufman 72a7abe1b0 adding lnurl domain pill to send modal + adding lnurl domain to expanded contacts page 2026-04-21 08:29:27 -04:00
Blake Kaufman 29af27228d bump quick crypto version 2026-04-19 18:55:17 -04:00
Blake KaufmanandGitHub 6760060083 Simplify confirm split payment (#778)
* fix small style issues

* fix touch gap

* fixing podfile

* creating standardized amountIn function

* show tx ids not amounts

* use standardized amount in

* use standardized amount in

* fixed no payment information crash

* downgrade rn and react-native-quick-crypto

* only show margin if two elements exist

* adding backup amount

* wait till hompage to call analytics data

* fix restore bug

* updating firebase

* fix check logic

* wrap to handle thrown execptions

* use utils package directly

* adding error handling

* group notification payments insted of handling them sequentually

* handle payment requset on confirm page

* improving split payment ux

* adding translations

* adding firebase sdk warning
2026-04-19 11:43:00 -04:00
2c4f41b556 Analytics (#777)
* docs: add portfolio chart design doc for analytics page

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs: add portfolio chart implementation plan

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat: add buildDailyBalances helper for portfolio chart

Implements pure function to reconstruct daily closing balances for the
current calendar month from transaction data. Used by analytics dashboard
to display balance history per day.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: guard buildDailyBalances against cross-month transactions

* feat: add PortfolioChart SVG component

* fix: use unique gradient id in PortfolioChart to prevent collision

* feat: add portfolio value chart to analytics page

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: budget card was showing spentTotal instead of leftToSpend

* docs: add balance pie chart design doc

* docs: add analytics charts redesign doc

* adding chart library

* making sure privacy sets for each wallet

* fixing pos server name bug

* switch toggle theme to analytics page

* fixing text align for close pool

* adding monthly buget to masterInfoObject

* creating AnalyticsProvider

* adding buget constants

* use new chart library

* building analytics homepage

* creating sent and received analytics pages

* creating budget pages

* adding analytics to navigation pages

* add budget helpers

* creating buget warning component

* adding budget warning to send pages

* fixed spelling bug

* fixing color inconsistancy

* fix dup key bug

* making sure to warn if current payment puts user over or near budget limit

* adding translations

* fix preset amount format

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 16:01:10 -04:00
Blake KaufmanandGitHub 946d40668e Bulk gifts (#771)
* creating bulk gifts storage

* adding bulk delete function for failure cases

* fix ios build error

* creating new gifts path to accomidate bulk gifts

* fix gift claim url issue

* adding translations

* fixing techical details page styling

* fixng translations

* improving bulk gifts with swaps payment effiency

* adding missing translations

* remove double blur

* bump spark version

* bump spark

* fix tx label
2026-04-15 08:50:50 -04:00
Blake Kaufman 38cade42f4 fix in promise race bug 2026-04-09 10:17:35 -04:00
Blake Kaufman 111a282873 fixing account page widths 2026-04-08 15:51:10 -04:00
Blake Kaufman f1f3833877 update vision-camera + remove unused deps 2026-04-04 13:35:07 -04:00
Blake Kaufman dc9e1912cb bump spark version 2026-04-04 09:11:13 -04:00
Blake Kaufman d583376026 adding missing dev dep eslint-plugin-jest 2026-03-31 11:40:12 -04:00
Blake Kaufman 10a4b591c9 adding potential fix for android glide issue 2026-03-30 14:21:48 -04:00
Blake Kaufman 676b485ea7 updating webcontext 2026-03-23 15:02:34 -04:00
Blake Kaufman f8e470d3ba making sure contact payments show up when paying through half modal 2026-03-23 10:49:31 -04:00
Blake Kaufman a12096aa36 bump tar version 2026-03-22 17:29:36 -04:00
Blake Kaufman 6fcd66949a fixing react-native-worklets version 2026-03-18 11:12:47 -04:00
Blake Kaufman 861beb8fd3 fix android quick crypto build warning 2026-03-07 11:11:38 +01:00
Blake Kaufman e96ff7bd56 bump spark version 2026-03-05 14:48:11 +01:00
Blake Kaufman 501e741211 fixing delete wallet restore new account not switching data bug 2026-03-01 10:23:16 -05:00
Blake KaufmanandGitHub 42042443a5 557 support hodl invoices (#620)
* build htlc functions

* adding color override to dropdown icons

* adding invoice generation for hodl invoices

* building logic to check if any hodl invoice was paid

* fixing confirm toast message

* adding claim htlc to expanded details page

* adding translations

* fixing eslint

* updating spark web package
2026-02-27 16:35:09 -05:00
Blake Kaufman 2bd18605d1 reverting quick crypto update to fix android build error 2026-02-25 16:56:11 -05:00
Blake Kaufman f3e2b8ebbc cleaning package.json 2026-02-25 14:09:23 -05:00
Blake Kaufman 27edcfa9d5 bumping @noble/secp256k1 2026-02-25 12:50:15 -05:00
Blake Kaufman 17ece8839f bump spark version 2026-02-22 18:18:59 -05:00
Blake Kaufman 94f6ed219b bumping tar version 2026-02-18 10:24:52 -05:00
Blake Kaufman ecd29a5452 bump spark version 2026-02-18 09:07:32 -05:00
Blake Kaufman 8dd0d8231e bump flashnet version 2026-02-13 15:27:54 -05:00
Blake Kaufman 5c9c0947b1 bump spark version 2026-02-10 10:34:08 -05:00
Blake Kaufman a5582be89a bump spark version 2026-02-08 14:38:20 -05:00
Blake Kaufman 095879e9be Adding check for already claimed txs 2026-02-03 12:27:30 -05:00
Blake Kaufman 1ea7e99a95 bump spark version 2026-02-02 10:51:29 -05:00