user73548: How would one go about creating a single signature P2SH transaction? (Analogous to a "2 of 3 multisig P2SH" but instead I'm asking about a "1 of 1".)  Would one wrap a standard P2PKH scriptPubKey inside of a P2SH redeem script? Or is there a better/preferred way of achieving this? Thank you.

user12983: First of all, you can use 1-of-1 msig for a redeem script:
OP_1 push(pubkey) OP_1 OP_CHECKMULTISIG

But this one is better:
push(pubkey) OP_CHECKSIG

And of course, you are welcome to use segwit form
OP_0 push(hash160)


73548: <p>How would one go about creating a single signature P2SH transaction? (Analogous to a "2 of 3 multisig P2SH" but instead I'm asking about a "1 of 1".)  Would one wrap a standard P2PKH scriptPubKey inside of a P2SH redeem script? Or is there a better/preferred way of achieving this? Thank you.</p>
 12983: <p>First of all, you can use 1-of-1 msig for a redeem script:</p>

<pre><code>OP_1 push(pubkey) OP_1 OP_CHECKMULTISIG
</code></pre>

<p>But this one is better:</p>

<pre><code>push(pubkey) OP_CHECKSIG
</code></pre>

<p>And of course, you are welcome to use segwit form</p>

<pre><code>OP_0 push(hash160)
</code></pre>
