P2SH-P2WPKH (also called "nested" or "wrapped" P2WPKH) is an output format introduced in SegWit that uses the legacy address format to maintain compatibility with older wallets.
Questions tagged [p2sh-p2wpkh]
6 questions
3
votes
0 answers
Creating a P2SH-P2WPKH using Bitcoin Functional Test Framework
I'm using the Bitcoin Functional Test framework to understand how SegWit works by analyzing and building a P2SH-P2WPKH transaction.
When I run my code the transaction gets created, but when I inspect the Tx Hex, I cannot see the SegWit marker 00 on…
Bitcoin_1o1
- 343
- 1
- 12
2
votes
1 answer
How to build a transaction using bitcoinjs-lib
I'm trying to build a transaction using bitcoinjs-lib.
Here is my last transaction.
https://blockstream.info/api/tx/91feea5f5c7b67b3e56c0f5d23d6da3065855c23b4cc7dded8efd8ff8065500f
{
"weight" : 705,
"txid" :…
Berry Blue
- 23
- 4
1
vote
1 answer
Transaction keep beeing rejected "non-mandatory-script-verify-flag"
I'm developping Bitcoin integration for Microsoft Dynamics Business Central to offer enterprise capability to apply Bitcoin receivable and payable to accounting.
To send a transaction, I'm using NBitcoin C# lib to prepare and sign raw transaction…
Maxime CATY
- 55
- 5
1
vote
2 answers
Is the witness `version` of a bech32 address required to "send spendable funds" to the address?
Let's assume Alice has Bob's bech32 address (BC1QW508D6QEJXTDG4Y5R3ZARVARY0C5XW7KV8F3T4).
After decoding the address Alice knows that the address has a witness version of 0 AND 20 bytes of a hash (32 bytes would also be considered valid…
janniks
- 195
- 1
- 1
- 7
1
vote
1 answer
How to make a P2SH-P2WPKH output using bitcoin-cli?
Can you give a simple step-by-step example on how to create a transaction with an output of P2SH-P2WPKH using bitcoin-cli on Regtest?
Bitcoin_1o1
- 343
- 1
- 12
0
votes
0 answers
redeemScript/witnessScript does not match scriptPubKey for P2SH-P2WSH type transaction
I am trying to retrieve some money from my script which has been signed by three public keys. My final goal is
Retrieve the unspent from the script by P2WSH Transaction
BUT every time I am Geeting witnessScript does not match scriptPubKey error or…
Amjad
- 101
- 1