Avatar
Egge
ddf03aca85ade039e6742d5bef3df352df199d0d31e22b9858e7eda85cb3bbbe
Building https://npub.cash 🥜 Working on awesome nostr, cashu and Lightning stuff 💜⚡️

Yeah, working on a solve for that right now. Cashu tokens (especially if made up of many single small nuts) can become HUGE. A single QR code will not be able to handle that.

Fix: Animated QR code, but those are not broadly supported yet. But we are working on it.

Thank you so much for giving it a spin and leaving feedback 💜

At least try it and let me know what to improve 🤙

I just unlocked a P2PK Cashu nut in my web browser using nostr:npub1getal6ykt05fsz5nqu4uld09nfj3y3qxmv8crys4aeut53unfvlqr80nfm and paid a Lightning Invoice with it...

This is nuts... 🤯🥜

I’ll make sure to finish the docs today and let you know 🤙

Recently installed nostr:npub1dx5q2el8nd4eh3eg9t2e25fd7zuqg7zxz6ldkc3uzgh66ss2yc6st288sj don’t know my Cashu-Adress though 😅 nostr:note1wp2e3ymaf93vrugjyfkejm94azlvqmr9w0gth4wvha0d8s8f6r3sqvfsa4

It’s @cashu-address.com 🥜

Check out https://app.cashu-address.com to learn more

I’ll send some Sats to anyone who shares this post… ⚡️

Plot twist: I’ll send them to their Cashu-Address 💜

https://guides.getalby.com/developer-guide/v/alby-browser-extension-apis/window.nostr/signschnorr

The code example says

const signature = await window.nostr.signSchnorr("some text here");

But that would throw

Nvm. String needs to be a hex string. Your documentation seems to be outdated.

Getting „Error: hex invalid 2“ when calling this with „test“ in my browser console. Any idea why?

I see where you are coming from. But BH I think anything that requires nostr related state (in this case a users private key) should be under window.nostr.

It would not make sense for something in window.bitcoin to access state that the user setup as nostr private key and sign with it. These things should be decoupled.

https://github.com/nostr-protocol/nips/pull/1026

Was there ever been an attempt to standardise this in NIP-07. it would enable so many cross protocol usecases. Opening a PR as we speak

Yes perfect. Did you ever propose to make it part of the spec? It’s difficult to rely on if it is not adopted by most providers

You can check out the whole protocol specification as flowchart here: https://link.excalidraw.com/readonly/GEiWWmg1mVjQcjhD0GCJ?darkMode=true

However not every single step is implemented in the demo app yet. This whole idea is just a few weeks old and constantly evolving. I am trying to get a v1 release ready by the end of February