Oddbean new post about | logout
 I am working on adding nut-zap withdraws to npub.cash right now. 


 @PABLOF7z I think I accidentally created two wallets, and now I got two 37375 events for my pk. Whats the best way to deal with this? Should senders just assume the newest wallet is the right one to send to? 
 Assuming the latest event is what's valid is how it's handled in nostr:nprofile1qqs2xugc5jyguqkj36rk0syv4tmnkjdtmtperttl7x9rqjy3ustdcvcpz3mhxue69uhhyetvv9ujuerpd46hxtnfduqs6amnwvaz7tmwdaejumr0dsq3camnwvaz7tmjv4kxz7fwd46hg6tw09mkzmrvv46zucm0d5yx7efd. You could also set the "d" tag to something you can validate was created by your client and filter for only those wallet events. 
 Thanks! I es thinking about the case where to wallet is not generated by the app itself, so it wouldn’t know the right “d” tag. 

I think it would be good if those tags were chosen by the user and not completely random. In that case a UI could pop up a dialogue for the user to choose the correct wallet 
 you mean to which pubkey senders should nutzap p2pk-lock? they should look at the 10019 kind's p2pk; senders shouldn't even try to look at the 37375 events.

There can only be one 10019 (since 10k <= x < 20k kinds are not param-replaceable) 
 Sorry, I said nut zap but I meant nip-60.

So basically when my app wants to use a logged in users Cashu wallet, but it discovers multiple kind 37375 wallets