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:

https://github.com/happylemonprogramming/cashubuddy/blob/main/src/index.ts

Reply to this note

Please Login to reply.

Discussion

No replies yet.