<p>The 1111111111111111111114oLvT2 hasn't been spent yet whereas 1HBheYzvX7NDtcwVrMS7gxReNRVezYS7w2 has.</p>

<p>To spend, the public key is part of the INPUT's ScriptSig:</p>

<ul>
<li><a href="http://en.bitcoin.it/wiki/Transactions#Explanation" rel="nofollow noreferrer">http://en.bitcoin.it/wiki/Transactions#Explanation</a></li>
</ul>

<p>So until there is a spend transaction, the public key isn't known to the network, just the Bitcoin address.</p>

<p>Related: <a href="https://bitcoin.stackexchange.com/questions/7683">Why is it impossible to derive public key from address?</a></p>

CC BY-SA 3.0
2013-04-10T09:39:23.263Z
2013-04-10T09:39:23.263Z
2017-04-13T12:47:32.940Z
Stephen Gornick
<p>(Those two links are the same...)</p>

<p>In short, there are two common ways to send money:</p>

<ol>
<li>Include the public key.  The sender will need to prove that he has the matching private key.</li>
<li>Include a hash of the public key.  The sender will need to provide the public key matching that hash and also the the proof of owning the private key.</li>
</ol>

<p>Most people use the second way because the hash of a public key (the address) is shorter.</p>

CC BY-SA 3.0
2013-04-10T00:14:00.347Z
I edited the link. I don't see why the second way is shorter, how do one prove he own the private key without giving out the public key? Can you give a reference to this?
h__
CC BY-SA 3.0
2013-04-10T00:39:08.127Z
@hyh It's not about adding less data to the blockchain. It's about shortening bitcoin addresses.
Nick ODell
CC BY-SA 3.0
2013-04-09T22:09:40.077Z
2013-04-09T22:09:40.077Z
Eyal
<p>On block explorer there are some address with public key available, and some without.</p>

<p>(e.g. this one has public key: </p>

<p><a href="http://blockexplorer.com/address/1HBheYzvX7NDtcwVrMS7gxReNRVezYS7w2" rel="nofollow">http://blockexplorer.com/address/1HBheYzvX7NDtcwVrMS7gxReNRVezYS7w2</a> ,</p>

<p>and this one doesn't:</p>

<p><a href="http://blockexplorer.com/address/1111111111111111111114oLvT2" rel="nofollow">http://blockexplorer.com/address/1111111111111111111114oLvT2</a>)</p>

<p>Why is that?</p>

<p>Is it because one has money sent out and one doesn't?</p>

<p>If I understand correctly then the public key is included in the transaction out of an address, is that right?</p>

<address><public-key><cryptography>
When will the public key of an address used in the network?
h__
# When will the public key of an address used in the network?

(Asked by: username_0 on 2013-04-09)

On block explorer there are some address with public key available, and some without.

(e.g. this one has public key:

<http://blockexplorer.com/address/1HBheYzvX7NDtcwVrMS7gxReNRVezYS7w2> ,

and this one doesn't:

<http://blockexplorer.com/address/1111111111111111111114oLvT2>)

Why is that?

Is it because one has money sent out and one doesn't?

If I understand correctly then the public key is included in the transaction out of an address, is that right?

**Tags:** address, public-key, cryptography


---

## 2 answers

### Answer by username_1 on 2013-04-10. Score: 1

The 1111111111111111111114oLvT2 hasn't been spent yet whereas 1HBheYzvX7NDtcwVrMS7gxReNRVezYS7w2 has.

To spend, the public key is part of the INPUT's ScriptSig:

* <http://en.bitcoin.it/wiki/Transactions#Explanation>

So until there is a spend transaction, the public key isn't known to the network, just the Bitcoin address.

Related: [Why is it impossible to derive public key from address?](https://bitcoin.stackexchange.com/questions/7683)


---

### Answer by username_2 on 2013-04-09. Score: 0

(Those two links are the same...)

In short, there are two common ways to send money:

1. Include the public key. The sender will need to prove that he has the matching private key.
2. Include a hash of the public key. The sender will need to provide the public key matching that hash and also the the proof of owning the private key.

Most people use the second way because the hash of a public key (the address) is shorter.

> **Comments:**
> **username_0**: I edited the link. I don't see why the second way is shorter, how do one prove he own the private key without giving out the public key? Can you give a reference to this?  
> **username_3**: @hyh It's not about adding less data to the blockchain. It's about shortening bitcoin addresses.  

---

