What is Nostr?
Five
npub16p8…fhdw
2024-10-04 11:41:04

Five on Nostr: ### Hey Cashu enthusiasts, Questions on Cashu wallet and Nutzaps (nip60-61): #### ...

### Hey Cashu enthusiasts,
Questions on Cashu wallet and Nutzaps (nip60-61):

#### Question1: Swaps
1. User monitors for nutzap events
2. Nutzap event is found with Proof
3. Nutzap is redeemed. ALWAYS.
Why is default redemption important? What about the case when token is already in a mint that user trusts, p2pk locked anyway? Is it necessary in that case too? Why?

#### Question 2: P2PK
- NDK wallet has this nice function to parse P2PK pubkeys [here](https://github.com/nostr-dev-kit/ndk/blob/master/ndk/src/events/kinds/nutzap/index.ts#L96) . Why does this splicing remove first 2 and last 1 byte from the P2PK?

cc calle 👁️⚡👁️ (nprofile…h5zr) Egge (nprofile…mmun) PABLOF7z (nprofile…qdrm)

PS: See you in Berlin
#asknostr #cashu #ndk #ecash
Author Public Key
npub16p8v7varqwjes5hak6q7mz6pygqm4pwc6gve4mrned3xs8tz42gq7kfhdw