-
Notifications
You must be signed in to change notification settings - Fork 293
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
Recognize cashu redeem code #1788
Comments
Also a "open in wallet" button. It provides the best possible UX. Mobile cashu wallets support deep links "cashu:token" or cashu://token" They claim the token and lets you spend it again without melting to your LN wallet. |
If there were a redeem button, is there any other place it would take you other than a wallet with the cashu: prefix? |
Not sure if other apps support the cashu: prefix. (Apps have to specify the prefix they support f.e lightning: for LN wallets) Currently it is a native Ecash wallet thing. |
Some thoughts on how the user can interact with an inline Ecash
|
|
Redeem directly flow and video walk through https://damus.io/note1pu2z35csmyjg8fq9uuxdjumuh8ufeusrz0psgyxf0a074kpcyf7skty8x2 https://video.nostr.build/bad2b8a13ff2cf976f4af699b669355bf462ad1c04755be0bf3cf9798a1adc4a.mp4 |
@KKA11010 in the cashu link is there a source/server/mint name that can be displayed? Is it desirable to display this? |
Yes the mint URL is encoded in the token. The wallet shows it once you redeem it. I would say no need to display it in Nostr clients. |
@ericholguin 👀 👀 |
what happens
Very long cashu gibberish string is displayed
what could happen
Damus recognizes cashu redeem string, shows
-the amount
-a "redeem" button,
-copy string button
suggested initial approach
https://damus.io/note17ek90arl9y6vmut6t48d7kfgp9rfdx0c0x9wflyq6v4shvg46ddsh0gud2
The text was updated successfully, but these errors were encountered: