You are missing the mint url in the object that is being encoded.
Login to reply
Replies (1)
Updated this line to include mintUrl:
const cashuToken = getEncodedToken({ mint: mintUrl, proofs: send }, { version: 4 });
I was able to generate the token and receive it on cashu.me, but still get an error on eNuts that the token is invalid or already used ๐ค