### Resources - http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bitcoin.html - https://en.bitcoin.it/wiki/Transaction - https://en.bitcoin.it/wiki/Protocol_documentation - https://developer.bitcoin.org/reference/transactions.html#:~:text=Bitcoin%20transactions%20are%20broadcast%20between,part%20of%20the%20consensus%20rules. - https://thunderbiscuit.com/posts/transactions-legacy/ - https://medium.com/@ottosch/manually-creating-and-signing-a-bitcoin-transaction-87fbbfe46033 - https://medium.com/coinmonks/creating-and-signing-a-segwit-transaction-from-scratch-ec98577b526 - https://bc-2.jp/tools/txeditor2.html - http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bitcoin.html - https://medium.com/@bitaps.com/exploring-bitcoin-signing-the-p2pkh-input-b8b4d5c4809c - https://bitcoin.stackexchange.com/questions/3374/how-to-redeem-a-basic-tx - https://en.bitcoin.it/wiki/Transaction - https://en.bitcoin.it/wiki/Protocol_documentation - https://developer.bitcoin.org/reference/transactions.html#:~:text=Bitcoin%20transactions%20are%20broadcast%20between,part%20of%20the%20consensus%20rules. - https://thunderbiscuit.com/posts/transactions-legacy/ - https://medium.com/@ottosch/manually-creating-and-signing-a-bitcoin-transaction-87fbbfe46033 - https://medium.com/@ottosch/manually-creating-and-signing-a-bitcoin-transaction-87fbbfe46032 - https://medium.com/coinmonks/creating-and-signing-a-segwit-transaction-from-scratch-ec98577b526a - https://medium.com/coinmonks/creating-and-signing-a-segwit-transaction-from-scratch-ec98577b526a - https://bitcoincore.org/en/segwit_wallet_dev/ - https://medium.com/@bitaps.com/exploring-bitcoin-signing-the-p2pkh-input-b8b4d5c4809c - https://medium.com/coinmonks/creating-and-signing-a-segwit-transaction-from-scratch-ec98577b526a - P2WPKH-in-P2SH: https://wiki.trezor.io/P2WPKH-in-P2S - P2WPKH: https://wiki.trezor.io/P2WPKH - p2SH-PWPKH: https://bitcoincore.org/en/segwit_wallet_dev/ #### How to sign resources: - https://github.com/rust-bitcoin/rust-bitcoin/issues/294 - How to sign p2pkh: https://github.com/rust-bitcoin/rust-bitcoin/issues/294#issuecomment-514599128 - How to sign with witness: https://github.com/Blockstream/gdk_rpc/blob/9dec80995c170d7fcd5a2aa875609b2e118f9cbc/src/wallet.rs#L361 #### Check validity - https://bc-2.jp/tools/txeditor2.html