New answers tagged

2 votes

Generating P2WSH addresses | Is there a standard WitnessScript?

First of all, like pointed out in the first comment on your question, you're confusing the "witness program" and "witness script". The witness program for p2wpkh is OP_0 followed ...
Steven Roose's user avatar
  • 11.6k
0 votes
Accepted

Native P2WSH over P2SH | P2SH-P2WSH

Construction of transaction to send to a P2SH(P2WSH) UTXO follows: from bitcoinutils.keys import P2shAddress, PrivateKey from bitcoinutils.script import Script from bitcoinutils.setup import setup ...
karask's user avatar
  • 2,520

Top 50 recent answers are included