I have a full bitcoin core node setup and would like to use it to just “broadcast” my signed transactions. But what is required to make a raw transaction using PHP and Javascript? The variables I have are just the private key, amount i want to send, and a send to address. What other missing data do I need?

Is there a good easy tutorial to follow for doing this in PHP and Javascript?

I want to make a static html/js page where I can paste my private key and other data into and it would output a “signed” transaction.

Article First Published here