Interact with cashu mints in vanilla javascript
Just click here: https://supertestnet.github.io/blind-sig-js/
This repo contains working code (in index.html) for interacting with a cashu server in the browser and doing the following transactions:
- A pair of regular transactions that create some ecash and redeem it
- A pair of p2pk transactions that lock some ecash to a pubkey and then sign to redeem it
- A pair of p2pk sighash_all transactions that do the same thing except they also require whoever redeems it to sign the outputs of the transaction
- A pair of multisig transactions that lock some ecash to a multisig and then use multiple signatures to redeem it
All I did was, I took this code written by Gandlaf BTC and ran it through webpack to make it work in the browser. Then I nagged Calle til he helped me debug why my test transactions weren't working
So all thanks should be directed to them