Great! The package actually already has an inbuilt command to create a standalone bundle. Simply clone the repo and do
- npm i
- npm run compile:standalone
Login to reply
Replies (2)
I got this error in the image below because I'm on an old Windows machine
I had to:
- npm i
- npm install --save-dev cross-env
- update "compile:standalone": "cross-env BUILD_FORMAT=iife vite build" on package.json
- npm run compile:standalone
But now I think I got the full cashu-ts library working! Thanks for your help!


Can I lock e-cash to an npub using cashu-ts?