Commit Graph
161 Commits
Author SHA1 Message Date
Blake Kaufman 676b485ea7 updating webcontext 2026-03-23 15:02:34 -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
Blake KaufmanandGitHub 0fcb8f7d34 Add merchant logo handle print (#459)
* adding dependencies

* updated sharing

* adding logo to store settings page

* adding pdf export to instructions page

* adding trasnlations

* fixing eslint
2026-01-27 15:31:40 -05:00
Blake Kaufman 439b4b4dba updating spark file commit 2026-01-26 16:16:44 -05:00
Blake Kaufman 2b970ca2fa fix tar warning 2026-01-18 10:19:35 -05:00
806c0915d1 322 flashnet swap support (#375)
* add starter for swaps

* creating swap page

* building better swap functions

* creating select send type page

* bumping flashnet version

* fixing polling manager to inclue both increases and decreses to balance

* updating swaps page to use custom keyboard entry + enter in from or to amount

* adding basic support for chosing payment amount

* remoing log messges

* creating user balance context to easily use total, sat, and usd balance

* remove uneeded imports

* fixing navbar balance to match selected balance

* filter txs based on chosen balance

* fixed select page header text size

* created flashnet txid tracker to keep homepage clean

* adding swap function to payments wrapper

* using total balance in navbar balance

* fixing navbar balance

* load saved swaps on wallet init

* finishing swap page

* adding translations

* adding temp txs to swaps so the txs always show

* adding error messages to flashnet

* adding ability to pause animation

* adding start at begining animation

* standardize tokens display format

* fixed missing return

* create function to decode spark invoices

* creating flashnet provider to hold flashnet pool info

* use global pool info to speed up loading speed

* fixing icon style inconsistancy

* using flashnet rate more more accurate USD value

* adding bitcoin and dollar icons

* creating toast message for incoming ln swap

* removing native tokens amount display, only show formatted amount

* adding new icons

* creating dollar sat, dollar token values

* fixing USD user sat amount display

* creating select receive asset page for receiveBtcPage

* adding dollar receive type to LN and Spark

* handing swap receive payment on homepage

* using new dollar and bitcoin icons

* fixing number fomatter

* fixing wallet load balance bug

* adding denominations to swap balances

* exporting for flashnet use

* increasing modal height

* fixed swap amount conversion bug + formatted error messages

* adding webview processes to functions

* since lightning payments can now be lrc20 payments we need to specify spark here so the id is the correct format.

* updating bitcoin icon

* updating address parser

* creating regex to extract flashnet error code

* adding loading to fee when calculating swap

* adding failed tx hash to flashnet transfer

* adding flashnet transfers to webcontext

* remove hardcoded value

* blcok all failed txs

* mark auto-refunded flashnet swaps as failed

* allow failed txs to be added to database. Now they are blocked on the homscreen

* optimizing ln invoice match during restore

* fixing translation

* adding ln -> bitcoin swap + limits context

* removing unneded imports

* adding retry to balance + fixing wallet state change + moving swaps to flashnet context

* load saved transfers on context init

* use new poolInfo format

* adding payment logic for swaps

* adding freeze property so balance doesnt update on send page

* updating fee information

* adding fee warning to receive page

* adding conversion rate line

* fixing fee rate on receive page to not convert

* creating conversion utility functions

* getting current bitcoin price based on swap rate

* adding amount validation + making min half amd max more accurate

* adding estimated converted amount to receive page

* fixed variable naming

* adding swap payments logic to sending

* adding translations

* updating swap context

* increasing slider duration

* waiting for wallet to init before starting swap page init process

* fixing eslint

* fixing naming convention

* fixing height issue

* changed txt labels to percent amounts

* fixed dollar balance not showing for USD

* fixing payments to ln addresses with encoded spark invoices

* fixing converted amount

* fixing cuttof fee text

* making sure usdb doesn't trigger full tokens display

* updating swaps flow

* fixing usd txs not displaying on homescreen when lrc20 is not enabled

* fixing balance mismatch

* adding tap to switch sats to fiat on send page

* fixing fee and input bug

* fixing rate bug

* removing uneeded second button tap

* fixing double execution of same swap

* fixing inputs being unmatched

* adding automatic refund listener for swaps

* bumping version code

* updating translations

* fixing zero amount invoice validation

* fixed rouding error

* only show swap conversion on home and dollar page

* removing swaps description from pending tx

* making swap payments have type swap

* adding execution price and swap label to swap transactions

* adding checks for pending payments

* removed error showing on screen

* updating translations

* bumping version code

* making sure fees calcuate on user-choice as well

* fixing theme issues

* fixing dollar sat balance

* creating choose payment component

* bump version code

* fixing half modal slide out animation

* updating payments flow

* separating spark and flashnet inits

* cache pool info to fix sat balance on init

* updating translations

* removing sat value for swap payments

* bump version code

* remove old handler

* fixing fiat display bug

* persisting keyboard on taps

* making fee more accurate if paying bolt11 invoice with spark address inside

* making fiat search more broad

* allowing fast pay to be set using andriod buttons

* adding request title to contacts send and request page if requesting

* fixing button opacity

* adding tap to scroll up feature on contacts page

* adding helpfull errors

* updating overlay color for lightsout mode

* adding button to scroll to top on homepage

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

---------

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>
2026-01-07 08:25:42 -05:00
Blake Kaufman 1bbe5dab3d bump spark version 2025-12-22 13:24:12 -05:00
Blake Kaufman e0670cfd5e fixing bolt11 parse issue 2025-12-19 14:04:22 -05:00
Blake KaufmanandGitHub 073d0871a8 creating getSingleTxDetails function (#312)
* creating getSingleTxDetails function

* using getSingleTxDetails

* improving tx event emitter

* bump spark version

* bump android version code

* making balance pollar more robust

* fixing liquid swap navigation

* fixing listeners  not being re-added
2025-12-11 14:23:55 -05:00
Blake Kaufman 22e18fb7e5 removing manual glob resolutions 2025-11-27 08:23:55 -05:00
Blake Kaufman cbee0eb0e0 manually select glob 2025-11-27 08:22:40 -05:00
Blake Kaufman 893c7281ae fixing glob in range 2025-11-27 08:17:11 -05:00
Blake Kaufman 66e171b3b2 fix glob for expo packages 2025-11-27 08:00:48 -05:00
Blake Kaufman 508da88c78 fix dependabot 2025-11-27 07:48:26 -05:00
Blake Kaufman 909bec1241 bump spark version 2025-11-23 17:19:49 -05:00
0467a39dfc Create gifting (#254)
* adding gift icons

* adding uuid generator for gift id

* adding gift page to home navigation

* fixed toast overlay

* adding rotate icons

* gifts index page

* created gifts overview page

* create gift pgae

* fixing expire time

* gift confirmation screen

* manual claim page

* derive hirarachical wallet for gift

* encoding and decoding gift urls

* formatting days till expiry time

* standardized gift share message

* creating gift storage

* opening and deleting gifts table

* adding firebase gift functions

* adding gifts deeplink

* creating gifts context

* added tracking for gift index

* fixed wrong translation placement

* creating reclaim gift page

* auto open claim page

* creating claim page

* updated reclaim to work off uuid not claim link

* fixed translations issue

* added restore gifts

* adding description to payment

* fixing android text styles

* fixing android status bar style

* fixing claimed state

* show all txs but then list the expired ones on the reclaim page

* adding translations

* updating min height

* making sure spark is connected before handling lookup

* fixed exists property

* allow only reclaim of expired swaps

* fixed style bug

* adding recliam not exipired error message

* adding connection label to expanded gift page

* fixed unknown sender text bug

* added confirm screen + pending tx for incoming gift

* only show claim option if a reclaim exists

* uncomment pay

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update locales/pt-BR/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

---------

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>
2025-11-19 21:34:59 -05:00
Blake Kaufman 1f222e98d5 bump spark version 2025-11-16 11:01:12 -05:00
Blake Kaufman 7860a1a932 updating spark + improving webview 2025-11-14 17:14:21 -05:00
Blake Kaufman e3b615c538 getting user default language on initial load 2025-11-12 17:55:03 -05:00
Blake Kaufman 94d4a78251 adding expo image picker 2025-11-10 15:46:36 -05:00
Blake KaufmanandGitHub c4260ab7fb Add temp splash (#240)
* adding splash images for android

* adding ios splashscreen image

* adding splashscreen to ios

* removing overlay to make it consistant across platforms
2025-11-08 18:01:51 -05:00
Blake Kaufman 09b4f040f0 bump spark version 2025-11-01 13:57:34 -04:00
Blake Kaufman 31a4c04fa9 fixing dependabot alert 2025-10-30 15:15:25 -04:00
Blake KaufmanandGitHub 920fb71c9e bump spark version (#207) 2025-10-26 05:17:28 -04:00
Blake Kaufman 164a144c77 bumping spark version 2025-10-17 11:14:26 -04:00
Blake KaufmanandGitHub 5cdfc07c9e Enable background threading through webview (#167)
* testing webview

* adding webview code

* fixing on-chain payment from using endpoitn before confirmations

* fixed color bug

* fixing sats text

* fix eslint

* remove uneeded flatlist

* fixing accounts swaps

* fixing tabs rerender issue

* fixing missing props

* removed prop drilling

* add swap state to android

* fixed double run bug

* fixed tokens confirm balance + added infinity symbol if token doesnt have max supply

* adding auth to encription

* only run on-chain restore once a minute

* remove debugging

* commenting webview for later use
2025-10-10 12:24:44 -04:00
Blake Kaufman 47ae3e0dbd bump spark sdk version 2025-10-07 16:06:54 -04:00
Blake Kaufman 671541eb16 updating address validation tool 2025-10-06 09:58:25 -04:00
Blake KaufmanandGitHub 519bd3c8e2 Update react native (#163)
* updating react-native

* swapping to new arch enabled image library

* fixing store styling + padding issues

* using legacy file system api for compatibility

* fixed dimensions

* fixing back handler on homepage

* fixed non awaited promise

* standardized seed language

* updating firebase dependency versions

* removing uneeded maven
2025-10-04 10:46:57 -04:00
Blake Kaufman 9ee56361f0 bumping spark version 2025-09-30 10:27:45 -04:00
Blake Kaufman 3fce41e82b fixing base64 error 2025-09-29 21:47:49 -04:00
Blake Kaufman 1499aaf8c1 removing depreciated react-native-quick-base64 + add support for 16kb package 2025-09-29 10:36:51 -04:00
Blake Kaufman 88082cb11e bump spark version 2025-09-27 10:54:41 -04:00
Blake Kaufman 252004eb19 staying at spark 0.3.6 2025-09-25 10:10:31 -04:00