24 Commits
Author SHA1 Message Date
Blake KaufmanandGitHub e92297ab12 adding hash gate to make sure accounts match up (#1003) 2026-07-10 15:28:52 -04:00
Blake Kaufman 80129b846a fixing liquid reconnection bug 2025-12-23 12:20:52 -05:00
Blake Kaufman 7c6b19df9b protect liquid connection 2025-12-23 08:30:19 -05:00
Blake KaufmanandGitHub b1a58e23b2 Reload wallet if backgrounded (#290)
* creating centralized location to handle stale background state

* adding global background threashold

* creating auth context

* disconnecting from liquid node during force auth

* reset did get to homepage variable

* fix crash if globalContactsInformation.myProfile is not set

* resetting custody account settings

* clearing keys information on reset

* remove roostock swap listener on reset

* resetting webview context on stale auth

* adding auth reset to spark context

* only load user info once per session

* only open tables once per session

* making sure to recheck login status to fix issue with initial load

* adding large heap flag

* fixing sql table open bug

* making sure didLoadUserSettings runs on app open

* fixing unqiueName being null bug

* fixing race condition causing switch to naive spark version

* misc changes
2025-12-05 09:35:51 -05:00
Blake Kaufman 2288d309f6 improve swap reliabilty by increasing swap time 2025-11-16 18:39:00 -05:00
Blake KaufmanandGitHub f4c36e3d33 Use new parser (#162)
* add new parsing library

* remove unneeded code

* removed dependency on breez sdk

* removing liquid connection from loading screen

* remove uneeded logic

* updating parse error

* fixing tokens send max
2025-09-24 14:16:01 -04:00
Blake KaufmanandGitHub 708187ebd9 migrating to spark (#113)
* migrating files

* switched to parrellel load for optimization

* removed uneeded init functions

* fixed spelling bug causing eslint to error

* fixing imports

* updated ln payment process to speed it up

* fixed login security bugs

* added qr scan for seedphrase

* added preloading to homescreen

* updated receive path

* fixed initial connection bug

* fixing event emitter counts

* fix eslint

* remove limit for picknpay

* updated spark lightning payment error

* updated send transaction balance update

* fixed fiat stats bug

* fixing tabs bar style

* fixed navigation bar color

* fixing top bottom insets + moving liquid address generation

* added seedQr + copy

* removed always on liquid listener

* updated fee rate

* memorized image cache objects

* Improving seed restore robustness

* fix seedphrase page text being to close to nav

* fixed check mark circle color

* updated sats to sat

* updating insets

* fixed restored ln payments show as pending

* fix bitcoin amount bug

* fixed race condition inside of add contacts half modal

* fix restore seed bug

* bumping version

* fixed decimal number bug

* removed min lnurl payment amount as default

* updated add contacts requests

* fixing user profile not updating on new device

* fixing ui scene on ios

* bump version

* trying to fix ios assets issue

* fixing load bug on ios

* making gitignors the same

* fixed contact payment

* fixing build erros from packages

* if a payment happend before the user logged onto the app dont show confirm screen

* fixed store payments

* fixed writting to filesystem error message bug

* fixing restore login type

* fixing double transactions + blocking event emitter bug

* fixed fee display bug

* added event emitter handler to app tx functions

* implementing more robust event emitter handling logic

* added error message for liquid payments

* use LNULR so liquid can drain all funds.

* fixing on-chain payments bugs

* removing ecash

* fixing small payment UX bugs

* bumped spark version

* fixed bitcoin tx bug during restore

* fixed tips payout

* fixing confim tx edge case

* starting spark connection eariler

* only update db state if value changes

* adding balance warning before going to send page

* added explaination to unknown technical details

* fixing replace bug

* updated loading screen reqiured information

* fixed homepage transactions rendering before page is loaded

* adding notification icons

* moving notification setup to settings

* fixing view all tx page crash

* fix checkmark circle color on dark modes

* changing NOSTR LNURL to nostr zaps

* fixing biometric auth not running when first saving

* fixing notification on new devices

* hide spark details

* fixed failed payment icon

* added payment specific brackets

* updated balance process when sending

* fixing doomsday pages

* lnurl withdrawl right to spark

* fixed qr wapper profile image not loading

* fixed slider initially touching side

* created place to edit lnurl on receive page

* fixed balance bug

* fixed no image data bug

* bumping version

* fixed error message when clicking save with no textinput

* fixed max fee bug

* made send and receive arrows vertical insted of angled

* improved interval tracking + removed uneeded code

* fixed veriable naming bug

* created fee breakdown in settings

* updated switch receive option page styling

* creating custom toast container

* fixing fee buffer

* expanding touch distance for UX improvement

* removing uneeded ref

* removed finding liquid address in bolt11 invoice

* fixed non request Ids from stying in pending

* fixed interval from not clearning

* set payment expiry to 12 hours

* added x button to remove old gift cards

* fixing toast hitch bug on android

* fixed dark mode splash screen color bug

* if the user is from contacts show the message and also set the payment info.

* fixing adding contact image bugs + legacy checks

* bumping liquid version

* added page to manually swap liquid funds if they get stuck

* added smaller vpn durations

* encripted messaging

* fixed decline request error

* bumping spark version

* fixed touch gap

* fixing confusing placeholder text

* adding min bitocin send check

* fixing refresh crash bug

* adding fee params to payment object to remove double fee check

* adding new fee logic

* updating payment functions

* using function wrappers insted of calling spark wallet

* updating payment functions to use wrapper functions

* fixed trying to access value on undefined veriable

* fixed lightning payments without saved invoice throwing error

* adding new zero amount invoice + fee quote

* fixing onchain payment amout bug

* fixed pasting issue when pasting in textbox

* fixed small device sizing

* fixing small device styles

* misc changes

* fixing restore bug with onchain payments

* adding rootstock packages and image

* fixed taost styles

* Fix QR code coding up and down when removing lnurl

* fixed padding bug

* creating rootstock swap databse

* creating submarine swap function

* adding helper functions for rootstock

* creating roostcok swap context to listen for swaps

* adding swap context

* adding roostck as receive method

* trying eslint fix

* fix eslint

* adding rootstock swap information

* creating reverse claim + refund swap function

* misc rootstock changes

* remove transparent slideup on android

* removing unused assets + updating liquid icon

* adding another fallback block chain data endpoint

* bump spark version

* fix lnurl contact message not displaying

* improving spark error

* updating error messages

* fixed app store styling

* created function to derive seeds from main seed

* fixing spark error message from running before user gets to homescreen

* updating packages

* creating nostr derive path to ensure backwards compatability

* created nwc wallet functions

* adding nwc

* eslint fix

* optimized global theme view

* optimzed contacts page rerenders

* fixed qr code not updating

* reducing blocking on js thread

* Improving profiler rating

* Memorizing context values + adding cached balance

* improving restore and payment handling

* adding explanation screen for nwc

* fixed duplicate key style

* blocking add listeners from running in background

* remove nwc

* added spark to send list

* fixing duplicate onchain payments in tx history

* optimizing on-chain deposit calls

* fixing crash bug

* creating consistant swap function

* bumping spark version

* fixed invoice descriptions + lnurl navigation

* moved contacts to LNULR + added central server time

* fixed double tap enable notifications on restore

* adding tx batching + fixing legacy bug

* temporarily removing rootstock

* fixing how date is shown for contacts

* fixing bolt11 and lnurl formatting issues

* fixing toast bug

* bump build version

* fix duplicate send bug

* more robust blocking duplicate send payments fix

* bump build version

* fixed notificatoin badge not clearing

* reduced server time calls by caching offset

* clear receive settings when switching receive type

* lowered min width of settings boxs

* removes space within name

* standarize lowercase function

* improved spark payment status

* improving large convo sync

* fixing already claimed on-chain txs

* using spark payment status insted of hardcoding completed

* fixing navigation bug

* fixed duplicates while sending bug

* adding more robust implemention to send fix

* spark status response is too inconsistnat to use

* removing liquid sends

* update build version

* adding explaination to edit contact on receive page

* aded failed flags to on-chain and lightning + added expiry property to onchain payments

* removed pending message to confirm tx page + made expiry only when payment is pending
2025-07-21 19:30:08 -04:00
Blake KaufmanandGitHub 073f98c00c Add crash analytics for easier maintenance (#97)
* adding crashlytics package

* creating default crashlytics config options

* creating sheild icon for crash settings page

* adding crash reporting settings storage object

* created crash reports page

* created crash report helper functions

* adding crashlytics to login path

* fixing skip crash bug

* adding crash logs

* adding more crash logs

* created manually force crash helper function

* xcode fills
2025-04-11 09:17:21 -04:00
Blake Kaufman b6f932637e updated liquid event function tracking 2025-03-31 11:28:48 -04:00
Blake KaufmanandGitHub 13970b70e4 Switch bip39 generator (#92)
* adding needed polyfills

* adding new package

* updated key validation

* updated suggusted words component

* updated breez test function

* updated mnemoinc generator to new package

* updated mnemoic to seed to new package

* updated back btn

* added a minute sync count

* updated restore page
2025-03-30 12:34:07 -04:00
Blake KaufmanandGitHub 208859e551 Bump ecash limit (#87)
* updated pages to standardized settings inputs

* created customizable ecash wallet settings

* created standardized settings inputs

* updated receive paths to allow for larger ecash

* remove legacy ecash rebalances

* created new app store payment functions

* updated store pages to use new pay function

* updated payment description logic

* standardized payment navigation blocking function

* updated events

* updated logic to allow for ecash transfers

* created ability to send from ecash for transfer

* fixed style and parsing bug

* created function to handle transfer logic

* added contacts payments to ecash functionality

* updated storage and removal of proofs

* fixed outputs already spent bug

* updated account information page to allow ecash

* fix ln description

* finalizing internal transfers

* allow chatGPT to be paid in ecash

* fixing if lightning is enabled or not

* fix ln connction bug

* payment bug fixes

* fix eslint error

* adding balance check for liquid receive
2025-03-20 10:35:40 -04:00
Blake KaufmanandGitHub b9067e3939 Optimize transaction sorting (#86)
* implemented new tx sorting to prevent rerenders

* updated component to reduce re-renders

* fixing bank transactions page
2025-03-16 14:00:39 -04:00
Blake KaufmanandGitHub e18f68a60a Update ecash (#76)
* getStoredEcashTransactions

* building sql storage buckets

* updating database functions

* updated send payment screen to new ecash

* bumped receive ecash to new functions

* update ecash global context

* creating restore proofs option

* updating add and remove ecash mint page

* creating wallet helper functions

* added connecting to ecash to loading screen

* created global ecash navigator

* fixed liquid receive bug

* removing legacy ecash files

* updating ecash variables

* updated restore to user action to leave

* created ability to get mint + customize counter

* added ability to clear ecash data

* change ecash version

* created proof migration process

* removed legacy proof storage

* updated send function

* update ecash payment response to new logic

* use new ecash fee calculator

* created proof migration screen

* load all proofs for mint on wallet init

* fixed proof creation from history bug

* fixed eslint error

* bump to newest version

* remove manually setting keysets

* update ecash restore function

* old ecash context

* fixed counter not being passed from db instance

* updated restore function

* fix send proofs not showing in restore

* added description property to db

* adding description to ecash payments

* fix eslint error

* fixed proof storage with restore

* adding proper error message to ecash addresses

* created retry migration option

* fixed ecash address generation function

* remove only succesfull migrated proofs

* if a mint goes down do not block wallet load

* clean db state

* bug fixes

* bug fixes

* automaticaly try an restore proofs from mint

* only update counter if count is higher

* remove uneeded buffer

* added restore + checking for double proofs

* fixed style bugs

* updated warning message

* return arrays not false for proofs and txs

* fixed counter

* finished warning messgae
2025-03-02 12:30:37 -05:00
Blake Kaufman aefa6bfb13 adding fallback for liquid event context 2025-02-21 14:27:27 -05:00
Blake Kaufman b2cbba3c4f optimize pages with large rerenders 2025-02-20 14:10:14 -05:00
Blake Kaufman f7c824aef3 fixed camera re-rendering + double invoice bug 2025-02-20 10:12:26 -05:00
Blake KaufmanandGitHub 20bc149a9f Bump breez version (#70)
* updated sdk version

* fixed version differnces

* move refundalbes scan to unblock thread on laoding

* removed uneeded limits fetch
2025-02-19 15:48:18 -05:00
Blake KaufmanandGitHub e4701b3e24 Fix contexts (#69)
* creating theme context

* creating nodeContext

* reduced page rerenders by localizing changes

* creted keys context

* finalizing new contexts

* fixed number converter bug

* updated loading for tx action

* fixed payment state update bug

* fix custom switch to work with new context

* more context bug fixes

* fixed vpn bug

* fix number converter bug from new context

* fixing andriod filesystem path

* fixed theme + send max amount bug

* fixed keys touhcing suggested words
2025-02-18 11:06:33 -05:00
Blake Kaufman 30a6c80d02 updated liquid balance rerender + log messages 2025-02-16 11:54:29 -05:00
Blake Kaufman 7aff587d26 clear event states when handled 2025-02-16 11:18:43 -05:00
Blake Kaufman 02bdf99f91 fixing double receive liquid event 2025-01-28 15:10:36 -05:00
Blake Kaufman c5ce8dc0be fixed double run of events 2025-01-28 12:20:10 -05:00
Blake Kaufman 4e1195fec7 fixed restorewallet balance not showing 2025-01-19 13:53:17 -05:00
Blake Kaufman 2be931dc4f created liquid SDK event context 2025-01-18 15:27:38 -05:00