Open alltheseas opened 7 months ago
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.
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?
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
I think decrypt with nsec key and copy to cashu wallet. @dr. calle 👁️⚡👁️ posted NUT-11 https://github.com/cashubtc/nuts/blob/main/11.md which makes most sense for Nostr usage.
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?
@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
1) Cashu: prefixed link are detected 2) an invoice-like "redeem" button appears instead of gibberish characters 3) if tap on redeem, cashu: opens default cashu wallet 4) there is a copy string button adjacent to redeem 5) list amount (sats)
https://damus.io/note17ek90arl9y6vmut6t48d7kfgp9rfdx0c0x9wflyq6v4shvg46ddsh0gud2