-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send Ecash over NOSTR #121
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
KKA11010
commented
Aug 3, 2023
- remove old contacts context
- add nostr contacts
- add ecash payment process for nostr contacts
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## ux #121 +/- ##
=====================================
Coverage ? 15.43%
=====================================
Files ? 120
Lines ? 3927
Branches ? 1060
=====================================
Hits ? 606
Misses ? 3249
Partials ? 72 ☔ View full report in Codecov by Sentry. |
KKA11010
added a commit
that referenced
this pull request
Aug 17, 2023
* add disclaimer screen * update dashboard and bottom nav * fmtJson, sort json tl * lint, fmtJson * handle not allowed QR code scan on iOS. Fixes #7 * use device theme on initial start. Fixes #105 * update disclaimer screen * update action btns component * add TODOs * remove commented code * fix plural tl * fix coin selection padding issue * update contact list circle component styling * update contact entry styling * update circle container styling * update keyboard avoiding view * add safeAreaView for iOS bottom container * iOS useSafeAreaInsets * iOS useSafeAreaInsets * not able to fix test * fix scan QR code on iOS. Fixes #7 * update global color obj * handle missing promise rejections in app..tsx * add more safeAreaView for iOS * update * add safeAreaView insets on proofs list * fix flashlist scroll * more safeAreaView * add selectAmountScreen * add selectMint screen * add Processing screen * add processingError screen * update var name _mintUrl to _testmintUrl * update * update invoice nav params * update invoice nav params * add select target screen for melting * start updating the ux in melting process * improve code and UX for melting to lnurl * lint * add lnurl/invoice input screen * auto-focus input field * open LN wallet * add toaster to input field screen * update * update melt input field screen * Rename selectTarget.tsx to SelectTarget.tsx * update melting screen using input field * check if invoice expired * update * handle user pastes invoice using the keyboard * update loading container * clean up dashboard screen * update dashboard * avoid duplicated store calls in mint selection * add noMints, allMintsEmpty for melting screen * start ux update of ecash sending * update send ecash ux * update QR scan process, fix few ios layouts * add outgoing payment overview * change intermint swap to multimint-swap * multimint-swap coinSelection, clean up * update styling and minor fixes * add missing memo screen * add custom txtInput component * add custom txtInput component * create main screen container component, cleanup * update coin selection components * Move ErrorScreen into folder Screens * fix ref forwarding and import cycle * update mint list screen * update mint management screen * fix contact unhandled promise rejection * update disclaimer screen * update dashboard * update history entry styling * claim unspent token from history entry * add some button icons and txt hints * fix tl amount claimed from history details * update light theme colors * update success screen * fix ios layout issue in payment screens * fix ios layout issue in payment screens * addfrontend 4 advanced settings (request timeout) * start update of nav component * update navigation component * add nav to container component * update container component * set axios default timeout * update processing error screen layout * update light theme and icons * lint, sort tl, update formatMintUrl * sort tl * update bottom nav txt on active screen * update QR scanner screen * update formatMintUrl * update auth screen * handle getCurrentKeysetIds bad response * remove plus icon from add button * remove icon from send/receive options * update dashboard design * update pin screen * add global object with STORE_KEYS references * clean up and add initial explainer screen * update disclaimer tl * update dashboard components * lint, use promiseAll on app init * add nostr-tools and nostr util * add nostr profile with npub * nostr profile * start relay setup * test * Send Ecash over NOSTR (#121) * add dummy relay class * dummy contactlist inView handler * test * get metadata from contacts in viewport * get and save user relays * generate sk * fix contacts state, show relay count * show user about section * update nostr profiles * update list styling * err: cannot read property 'importkey' of undefined * add comments * test encrypt dm * test * test * test * send token * add method dropAllData * update sender msg * update sender msg * send ecash via nostr from dashboard * add user profile component * also accept hex input as npub * add missing translations * close prompt onPress * fix missing vars by reclaiming from history * add back btn in contact list screen while payment * update ecash payment proces based on user contacts * remove old contact context * 0.0.1-beta * fix nostr contact sync * update userProfile box and fix modal opening * send ecash from contact profile screen * update contact screen * make profile links pressable * update contact list for payments * dont truncate lnurl if it is a payment recipient * fix spelling and translations * fix dashboard balance linebreaking * update toaster component * update dashboard receiving options * update options component * update viewabilityConfig * add nostr gif in processing nostr tx screen * add privacy settings, hide balance option * add nostr context, claim nostr dm screen layout * top up a mint after adding it * decrypt and check dm for incoming cashu token * claim ecash nostr, clean up the usePrompt usage * add binary search * add small doc for combined bnary search method * rename to binaryInsert * update docs for binarySearchAndInsert method * clean up theme context * clean up nostr context * clean up context usage * clean up privacy context * refactored all context providers * update prompt context, add proper timer handling * fix mint info * show topup modal after adding new mint * update disclaimer version * disable nav btns if screen is focused * clean up app component * fix back from mints screen after minting token * update nostr messages screen name * update proofs screen layout * fix screen name on sending ecash * update nostr contact row onpress * use only latest profile data * more screen folder out of components folder * format int in payment overview screen * show sender metadata in nostr msg screen * add mints option to settings * disable send button while no balance or no mints * add missing translations, remove todos done * fix auth * fix pin auth flow * show nostr payment method if user has npub * update splash screen * update readme image * update readme * update readme * update readme * update readme * update nostr nav params interface * update contact screen * add nostr todo * expo update deps * update payment overview btn text * update spelling in prompt var. * update checking fees for multimint swap * update invoice screen for special case * add a clipboard helper * add a clipboard helper * add a simple clipboard copy state hook * add a Copy component * update * comment out unused nostr global consts * improve maintainability of translation namespaces * make theme and colors type-safe * update * update TODOs * fix fee estimation for multimint swap * wrap est. fee in try catch * update ZapIcon styling, update mint funds overview * fix missing DE TL * improve UX in nostr dms * add missing translation * make claim prompt more readable * avoid an empty array of pubKeys in nostr DM screen
KKA11010
added a commit
that referenced
this pull request
Aug 17, 2023
* add disclaimer screen * update dashboard and bottom nav * fmtJson, sort json tl * lint, fmtJson * handle not allowed QR code scan on iOS. Fixes #7 * use device theme on initial start. Fixes #105 * update disclaimer screen * update action btns component * add TODOs * remove commented code * fix plural tl * fix coin selection padding issue * update contact list circle component styling * update contact entry styling * update circle container styling * update keyboard avoiding view * add safeAreaView for iOS bottom container * iOS useSafeAreaInsets * iOS useSafeAreaInsets * not able to fix test * fix scan QR code on iOS. Fixes #7 * update global color obj * handle missing promise rejections in app..tsx * add more safeAreaView for iOS * update * add safeAreaView insets on proofs list * fix flashlist scroll * more safeAreaView * add selectAmountScreen * add selectMint screen * add Processing screen * add processingError screen * update var name _mintUrl to _testmintUrl * update * update invoice nav params * update invoice nav params * add select target screen for melting * start updating the ux in melting process * improve code and UX for melting to lnurl * lint * add lnurl/invoice input screen * auto-focus input field * open LN wallet * add toaster to input field screen * update * update melt input field screen * Rename selectTarget.tsx to SelectTarget.tsx * update melting screen using input field * check if invoice expired * update * handle user pastes invoice using the keyboard * update loading container * clean up dashboard screen * update dashboard * avoid duplicated store calls in mint selection * add noMints, allMintsEmpty for melting screen * start ux update of ecash sending * update send ecash ux * update QR scan process, fix few ios layouts * add outgoing payment overview * change intermint swap to multimint-swap * multimint-swap coinSelection, clean up * update styling and minor fixes * add missing memo screen * add custom txtInput component * add custom txtInput component * create main screen container component, cleanup * update coin selection components * Move ErrorScreen into folder Screens * fix ref forwarding and import cycle * update mint list screen * update mint management screen * fix contact unhandled promise rejection * update disclaimer screen * update dashboard * update history entry styling * claim unspent token from history entry * add some button icons and txt hints * fix tl amount claimed from history details * update light theme colors * update success screen * fix ios layout issue in payment screens * fix ios layout issue in payment screens * addfrontend 4 advanced settings (request timeout) * start update of nav component * update navigation component * add nav to container component * update container component * set axios default timeout * update processing error screen layout * update light theme and icons * lint, sort tl, update formatMintUrl * sort tl * update bottom nav txt on active screen * update QR scanner screen * update formatMintUrl * update auth screen * handle getCurrentKeysetIds bad response * remove plus icon from add button * remove icon from send/receive options * update dashboard design * update pin screen * add global object with STORE_KEYS references * clean up and add initial explainer screen * update disclaimer tl * update dashboard components * lint, use promiseAll on app init * add nostr-tools and nostr util * add nostr profile with npub * nostr profile * start relay setup * test * Send Ecash over NOSTR (#121) * add dummy relay class * dummy contactlist inView handler * test * get metadata from contacts in viewport * get and save user relays * generate sk * fix contacts state, show relay count * show user about section * update nostr profiles * update list styling * err: cannot read property 'importkey' of undefined * add comments * test encrypt dm * test * test * test * send token * add method dropAllData * update sender msg * update sender msg * send ecash via nostr from dashboard * add user profile component * also accept hex input as npub * add missing translations * close prompt onPress * fix missing vars by reclaiming from history * add back btn in contact list screen while payment * update ecash payment proces based on user contacts * remove old contact context * 0.0.1-beta * fix nostr contact sync * update userProfile box and fix modal opening * send ecash from contact profile screen * update contact screen * make profile links pressable * update contact list for payments * dont truncate lnurl if it is a payment recipient * fix spelling and translations * fix dashboard balance linebreaking * update toaster component * update dashboard receiving options * update options component * update viewabilityConfig * add nostr gif in processing nostr tx screen * add privacy settings, hide balance option * add nostr context, claim nostr dm screen layout * top up a mint after adding it * decrypt and check dm for incoming cashu token * claim ecash nostr, clean up the usePrompt usage * add binary search * add small doc for combined bnary search method * rename to binaryInsert * update docs for binarySearchAndInsert method * clean up theme context * clean up nostr context * clean up context usage * clean up privacy context * refactored all context providers * update prompt context, add proper timer handling * fix mint info * show topup modal after adding new mint * update disclaimer version * disable nav btns if screen is focused * clean up app component * fix back from mints screen after minting token * update nostr messages screen name * update proofs screen layout * fix screen name on sending ecash * update nostr contact row onpress * use only latest profile data * more screen folder out of components folder * format int in payment overview screen * show sender metadata in nostr msg screen * add mints option to settings * disable send button while no balance or no mints * add missing translations, remove todos done * fix auth * fix pin auth flow * show nostr payment method if user has npub * update splash screen * update readme image * update readme * update readme * update readme * update readme * update nostr nav params interface * update contact screen * add nostr todo * expo update deps * update payment overview btn text * update spelling in prompt var. * update checking fees for multimint swap * update invoice screen for special case * add a clipboard helper * add a clipboard helper * add a simple clipboard copy state hook * add a Copy component * update * comment out unused nostr global consts * improve maintainability of translation namespaces * make theme and colors type-safe * update * update TODOs * fix fee estimation for multimint swap * wrap est. fee in try catch * update ZapIcon styling, update mint funds overview * fix missing DE TL * improve UX in nostr dms * add missing translation * make claim prompt more readable * add "troubleshooting" to readme * update readme * hide splash screen once theme is loaded * close top-up modal * update melting over nostr by checking pubKey * update remaining mints for multimint swap * fix endless loading symbol on empty clipboard * update invoice screen UX * update label of nav button in invoice screen * add TxtButton component * use TxtButton component * flashlist entry row styling attempt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.