Closed GEN3LAB closed 1 year ago
This error is usually caused when the public key provided in the script (before OP_CHECKSIG) is 33 bytes instead of 32 bytes.
Bitcoin core detects that you are using a non-standard key (the standard for taproot is now 32-byte keys) and then throws this error.
Can you check the script that was used to create the tapkey and make sure that the public key being provided in the script is 32 bytes?
I copy & paste the example code from repo, get this error. But i've figured it out with bitcoinlib-js, still thanks for your examples.
follow inscribe.test.ts, broadcast tx to the mainnet, get error!