
Want to understand how #BItcoin SegWit(Segregated Witness) transactions are created? Try this Scenario and Python script: p2wPKh(Pay to Witness Public Key Hash) that leverages the Bitcoin Core test_framework https://github.com/rserranon/bitcoin-output-scripts/blob/main/functional/P2WPKH_Case_Study.md as part of the https://github.com/rserranon/bitcoin-output-scripts project