sCrypt-Inc / boilerplate

sCrypt project boilerplate
320 stars 86 forks source link

add SignatureHashType example #245

Closed xhliu closed 1 year ago

xhliu commented 1 year ago

not ALL.

And link it from https://docs.scrypt.io/advanced/sighash-type#how-to-generate-a-signature-with-a-specific-sighash.

Let's use ANYONECANPAY and show how to let anyone else to pay tx fee of P2PKH contract. https://scryptworkspace.slack.com/archives/CLSHPUZC3/p1688295247401859

gitzhou commented 1 year ago

ff046fdd3f7af2ddde11241c5e106b363837b2d1

gitzhou commented 1 year ago

https://github.com/sCrypt-Inc/scryptTS-docs/commit/7c87985d762206572346a6ade5d9c2e3c2feacd3