<p>Pay-to-IP transactions were removed in <a href="https://github.com/bitcoin/bitcoin/pull/253" rel="noreferrer">0.8.0</a>.</p>

<p>Such transactions worked by essentially contacting the IP address you were sending to, seeing if it was running Bitcoin, and receiving a public key from the Bitcoin node there to pay to.</p>

<p>However, this wasn't very secure. There was no way to prove that the response was coming from the IP address you tried to contact - It was trivial for a man-in-the-middle attack to simply hijack your request and reply with their own bitcoin public key, effectively stealing the payment.</p>

<p><a href="https://bitcointalk.org/index.php?topic=9334.0" rel="noreferrer">Here</a> is the BitcoinTalk discussion discussing the PR linked above and the removal, with the thought process at play.</p>

CC BY-SA 3.0
2018-04-03T01:07:52.457Z
2018-04-03T01:07:52.457Z
Raghav Sood
<p>How can you create a pay to ip transaction or is this not possible with the current client? </p>

<p>If so why was it disabled?</p>

<transactions>
How was a pay to ip transaction created?
John
# How was a pay to ip transaction created?

(Asked by: username_0 on 2018-04-03)

How can you create a pay to ip transaction or is this not possible with the current client?

If so why was it disabled?

**Tags:** transactions


---

## 1 answers

### Answer by username_1 on 2018-04-03. Score: 13

Pay-to-IP transactions were removed in [0.8.0](https://github.com/bitcoin/bitcoin/pull/253).

Such transactions worked by essentially contacting the IP address you were sending to, seeing if it was running Bitcoin, and receiving a public key from the Bitcoin node there to pay to.

However, this wasn't very secure. There was no way to prove that the response was coming from the IP address you tried to contact - It was trivial for a man-in-the-middle attack to simply hijack your request and reply with their own bitcoin public key, effectively stealing the payment.

[Here](https://bitcointalk.org/index.php?topic=9334.0) is the BitcoinTalk discussion discussing the PR linked above and the removal, with the thought process at play.


---

