user80233: How can I create a p2sh transaction with a scriptsig containing OP_TRUE only, removing the need for a digital signature, which will be broadcasted and mined?
Also could some one provide an example of such a transaction?

user30668: Here you have an example of a transaction spending from a P2PKH output and creating a P2SH output with an OP_1.
And here you have the counterpart, a transaction spending from the first one (with an input script '0151') and generating a P2PKH output.
I've created both using a Python library i'm coauthor of. You can check it out here.

80233: <p>How can I create a p2sh transaction with a scriptsig containing OP_TRUE only, removing the need for a digital signature, which will be broadcasted and mined?</p>

<p>Also could some one provide an example of such a transaction?</p>
 30668: <p>Here you have <a href="https://blockstream.info/testnet/tx/da58f6688b0727a7f1bf3eec899099bde1f18b9c7099f9d2c79556db238e623d" rel="nofollow noreferrer">an example</a> of a transaction spending from a P2PKH output and creating a P2SH output with an OP_1.</p>
<p>And here you have <a href="https://www.blockstream.info/testnet/tx/839b903b9f79c3372792ceb95917047c46d1b919ed1f6471f5a19d7c865ab32c" rel="nofollow noreferrer">the counterpart</a>, a transaction spending from the first one (with an input script '0151') and generating a P2PKH output.</p>
<p>I've created both using a Python library i'm coauthor of. You can check it out <a href="https://github.com/sr-gi/bitcoin_tools" rel="nofollow noreferrer">here</a>.</p>
