<p>sending from a p2pkh utxo is easy. Check these links out:
<a href="https://github.com/petertodd/python-bitcoinlib/blob/master/examples/spend-p2pkh-txout.py" rel="nofollow noreferrer">https://github.com/petertodd/python-bitcoinlib/blob/master/examples/spend-p2pkh-txout.py</a></p>
<p>or,</p>
<p><a href="https://github.com/zeltsi/Mybitcoin" rel="nofollow noreferrer">https://github.com/zeltsi/Mybitcoin</a></p>

CC BY-SA 4.0
2023-06-15T16:53:26.940Z
Please see https://bitcoin.stackexchange.com/help/how-to-answer -- link-only answers are subject to link-rot and the goal of this website is to be a repository of enduring useful answers (not just links to answers). You could maybe quote or paraphrase the most relevant parts.
RedGrittyBrick
CC BY-SA 4.0
2023-06-14T08:52:20.680Z
2023-06-14T08:52:20.680Z
Jim Quick
<p><a href="https://photos.app.goo.gl/nQMgbBqwyJYvNm516" rel="nofollow noreferrer">https://photos.app.goo.gl/nQMgbBqwyJYvNm516</a></p>
<p><a href="https://photos.app.goo.gl/3B1KynyQdkB8EA9M9" rel="nofollow noreferrer">https://photos.app.goo.gl/3B1KynyQdkB8EA9M9</a></p>
<p>Need help on to create this p2pkh transaction how is the data written where do write the script pubkey and the script sig</p>

<p2pkh>
Hi so I'm currently trying to spend an p2pkh utxo, how do create the raw transaction on Bitcoin core, how do I write it? What information do I need?
davonte lawrence
# Hi so I'm currently trying to spend an p2pkh utxo, how do create the raw transaction on Bitcoin core, how do I write it? What information do I need?

(Asked by: username_0 on 2023-06-14)

<https://photos.app.goo.gl/nQMgbBqwyJYvNm516>

<https://photos.app.goo.gl/3B1KynyQdkB8EA9M9>

Need help on to create this p2pkh transaction how is the data written where do write the script pubkey and the script sig

**Tags:** p2pkh


---

## 1 answers

### Answer by username_1 on 2023-06-14. Score: 0

sending from a p2pkh utxo is easy. Check these links out:
<https://github.com/petertodd/python-bitcoinlib/blob/master/examples/spend-p2pkh-txout.py>

or,

<https://github.com/zeltsi/Mybitcoin>

> **Comments:**
> **username_2**: Please see https://bitcoin.stackexchange.com/help/how-to-answer -- link-only answers are subject to link-rot and the goal of this website is to be a repository of enduring useful answers (not just links to answers). You could maybe quote or paraphrase the most relevant parts.  

---

