Open
Conversation
…ility Completely redesigned the Cairo token experience to be more intuitive and user-friendly: • Remove manual Cairo button - tokens now automatically trigger unlock dialog when Cairo secrets are detected • Redesign Cairo receive dialog with modern styling, better organization, and professional loading animations • Improve Cairo send interface with structured inputs, icons, and consistent visual design • Add comprehensive browser compatibility detection for Cairo prover support: - macOS (Intel/ARM): Firefox 142+ - Windows/Linux x64: Firefox 142+ or Chrome 140+ • Add file upload support for executable.json files in both send and receive flows • Streamline user workflow - paste any token and system automatically handles Cairo unlock when needed • Enhanced visual feedback with animated proving states and clear compatibility indicators The new flow eliminates confusion by automatically detecting Cairo tokens and guiding users through the unlock process.
Updates the Cairo implementation with improved browser compatibility detection and better user experience for proving workflows. Also adds cross-origin isolation headers required for Cairo WASM workers to function properly. Changes: - Add browser detection for Cairo prover compatibility (Firefox 142+, Chrome 140+) - Update Cairo receive dialog with enhanced UI and file upload capabilities - Improve automatic token detection to handle Cairo locked tokens seamlessly - Configure cross-origin isolation headers for development and production - Update dependencies and build configuration for Cairo WASM support - Add comprehensive browser compatibility messaging and debug tools The Cairo prover now works more reliably across different browsers and provides clear feedback when compatibility issues are detected.
This file contains hidden or 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
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.
Description
This PR implements Cairo spending conditions as specified in NUTXX for the cashu.me web wallet, enabling privacy-preserving arbitrary spending conditions through zero-knowledge proofs.
Features:
Sending Cairo-locked tokens:
CairoDialog.vue)Receiving Cairo-locked tokens:
P2PKlocked tokensother:
Note to the reader