Closed winktool closed 1 year ago
You can't use a tweaked tapkey to sign for an inscription, because it requires to reveal a script with the pubkey already included. If you are doing a key-spend, there is an example located here:
https://github.com/cmdruid/tapscript/blob/master/test/example/taproot/keyspend.test.ts
Dear cmdruid. In unisat wallet, taproot address is displayed in tweaked form. How do i write a script to sign for an inscription using the tweaked tapkey? I don't mind revealing the script.
https://github.com/cmdruid/tapscript/blob/master/test/example/taproot/inscribe.test.ts#L76