No worries! Happy to help. Can you send me your code? Are you sure that fees are 0?
Login to reply
Replies (2)
I'm pretty sure it's related to my code and not the cashu-ts library
When I run the cashu-ts pure typescript in terminal I have no issue minting 1 sat and generating a token
I tried to build a webpack version of cashu-ts so I could easily integrate it into my webapp
The error arises when I try to execute the sendTokens command:
const { keep, send, cashuToken } = await CashuBuddy.sendTokens(wallet, secretAmount.value, proofs, secretInput.value);
Here's the webpack code for reference:

GitHub
cashubuddy/src/index.ts at main ยท happylemonprogramming/cashubuddy
Cashu webpack built from cashu-ts to pure javascript so it can be loaded into webapps - happylemonprogramming/cashubuddy
I think I figured it out actually
Thanks for your help ๐