I'm trying to build a simple raw transaction - (without signature, without need of full-node) Just some script that I tell it the inputs, outputs and possibly whatever else it needs, and it throws me something that I can import for example into Electrum Wallet...
Thank you
reply
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
reply
Thank you, Do you have a recommendation for PSBT tool on mac?
reply
Yes you can do Experience Secure and Hassle-Free Transactions with Paywithmoon