lemon on Nostr: I'm pretty sure it's related to my code and not the cashu-ts library When I run the ...
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
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