Oddbean new post about | logout
 does cashu-ts support locking cashu to a pubkey and melting cashu from a pubkey?

what do I need to know to lock cashu to an npub and melt it from that npub?

cc  @calle 👁️⚡👁️  @Egge 
 what is this thing you call "melting"

that sounds like, totally fiat 
 Yeah when you cash out it’s called melting when you cash in it’s called mint. It makes everything much more confuse than it really is.

Cash in => mint => from lightning 
Cash out => melt => to lightning

That is how I get it at least 
 Maybe 'de-mint' could be better 
 interesting way of thinking.

i think i would generally use "redeem" to lightning 
 I think still only on the staging branch
https://github.com/cashubtc/cashu-ts/tree/staging 
 Last I checked it doesn't, but I believe it's in the process of being added.

And here's the P2PK spec: https://github.com/cashubtc/nuts/blob/main/11.md 
 Yes, in staging (or one of the latest rc's) 
 Yep it does, but only the RCs (v1 prereleases).

If you want to use it in the browser go for v1.0-rc3