747 sats \ 4 replies \ @nout 16 May 2023 \ on: Can you help me build raw bitcoin transaction? bitcoin
Here are two tools that may cover some of your needs
- https://bc-2.jp/tools/txeditor2.html
- https://siminchen.github.io/bitcoinIDE/build/editor.html
Interesting. How do you derive
pk_script
for output?reply
That will depend on the address/output type. For example a segwit output is OP_0 OP_PUSHBYTES-20 <pk hash>, and a taproot output is OP_PUSHNUM_1 OP_PUSHBYTES_32 <public key>. I'm sure there's some address decoder out there that turns an address into its locking script
reply
Nice!!
reply
Thank you.
First mentioned is almost exactly what I'm looking for
reply