you need to prepend "02" to the nostr hex pubkey but also make sure you can actually unlock it (otherwise the money goes poof). test with the mint testnut.cashu.space before you lose money

Replies (2)

Default avatar
npub1hyxr...tqnx 10 months ago
That works, was able to encode one to my npub. I popped in into the decoder to have a look but hit a snag, maybe not updated? Any other decoders out that that'll work with P2PK tokens? image
The decoder you're using only supports the old cashuA tokens afaik. There should be a newer one somewhere but I'll have to find it. Will post if I do.