-
Notifications
You must be signed in to change notification settings - Fork 5
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
add transaction IDs #95
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Merged
gudnuf
added a commit
that referenced
this pull request
Sep 9, 2024
* add txids (#95) * Add eGifts (#96) * add gift functionality + styliing changes * add gifts to HistoryTable * add `isMintTrusted` * forgotten commits * add gift image caching * apply gifts to /wallet page * preven swapping to/from testmints * error handling for auth middleware * fix receive give to be selected * fix type error * cleanup public directory (#97) * fix load gift from link * fix lollipop gift name * remove spinners * fix claimed token on new boardwalk * fix eGift modal not opening * update heart gift * remove immutable cache header * update all images to X emojis * update teddy bear name * sort stickers by amount * fix hover space on tooltip * create WaitForInvoiceModal * refactor GiftModal to work with invoices * add EGiftButton to profile page * commit migration * tweak styles * send spinner * commit extra gifts * add gift cost * update proofStorage to work better * send fee along with gift * include fee amount in tx history * gift modal styles + postTokenToDb * make gift fees work on profile page * change selected heart quality * don't close if gift and already claimed * clean up gift modal * upgrade pic quality on all selected * redirect to /setup * giftmodal styling * don't show mint trust if not initialized * toast didn't select gift * more modal styling * add custom user gifts * add user loading state * only load gifts we care about * force fetch for loading gift from token * show user's custom gifts after contact is added * fix balance bug * delay loading by 1 second * profile page add btn size * add useRouter to GiftProvider for loading gifts on profile page when user might not be initialized * error logging * erorr logging * dont throw receive error * WIP leaderboard page * add navigation to the setting sidebar * add a reset app button * add toast to reset user error * add date filtering and refactor leaderboard page * upgrade ViewTotalGiftsModal * leaderboard updates * close all dropdowns when settings closes * filter userData for leaderboard on backend * only show trusted mints in producion on leaderboard * change leaderboard icon * add custom tab component * change table styling * add margin to ViewLeaderboardData * cleanup * commit my scripts * try to fix userstatscard crashing * sort leaderboards by totalAmountCents * style updates * make tabs `button` * Nostr auth otp (#98) * rename /api/users/[slug] to /api/users/[pubkey] * add functionality to delete contacts * add nostr pubkey authentication via otp dm * fetch contacts with timeout * dicsover other contacts with same nostr pubkey * nostr otp cleanup and error handling * make it a link * add min width to leaderboard drawer * style profile tab * remove NEXT_PUBLIC_PROJECT_URL from frontend * update userstats card styling * rename gift.cost to gift.fee * mark fee tokens as such * refactor Receive modal * add loading state to receive * more profile setting styling * remove invoice modal spinner * try to fix reset account button * let useCashu make the toast * remove "waiting for payment" * fix claim token from link * hide profile eGift button * hide leaderboard from settings * hide discover button
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds a function to
computeTxId
that creates a unique identifier for token, no matter the order of the proofs.Stores tokens in the database by txid
Lookup tokens (including from a sharable link) by txid