user115309: I already looked at the similar question - link and Genesis block but I have a different problem.
I am parsing transaction 39ed112558fd501424e3b33bbcbf853ef9f24536ef0f8e6fbad2f5c5098173ad which has COINBASE input and 1 output. Below is the output scripts
41046669fa7aa0167f2ec25f903e331668bf2b8f51aba721cb0dfd7857bd03836397e4d7da5d21830fc92c4b5606c94b1882d532d0806817f37c9942ddd987dc0482ac

I tried parsing this to pull output address but am stuck. Below is what I performed
41 - Push(65)
046669fa7aa0167f2ec25f903e331668bf2b8f51aba721cb0dfd7857bd03836397e4d7da5d21830fc92c4b5606c94b1882d532d0806817f37c9942ddd987dc0482
ac - OP_CHECKSIG 

I tried hashing and converting the value in stack (046669fa7aa0167f2ec25f903e331668bf2b8f51aba721cb0dfd7857bd03836397e4d7da5d21830fc92c4b5606c94b1882d532d0806817f37c9942ddd987dc0482) to Base58 and tried double hash but could not pull address 1FVJ9qoD9di6cXXi47SUsNN18SLzYMaunP . I know I must be doing something wrong/incomplete here but could not determine the issue.
Happy Holidays!

user51948: This is known as a Pay-to-Public-Key (P2PK) output, because the public key is directly encoded, rather than the hash of the public key.
Bitcoin addresses starting with a 1 encode the hash of a public key. When the hash is used in the output rather than the key itself, this is known as Pay-to-Public-Key-Hash (P2PKH).
Thus, there is no address directly associated with this output traditionally. Deriving an address from an output like this is not intended to be done, and can be very misleading. However, it can be done following the steps on the Bitcoin wiki here.

115309: <p>I already looked at the similar question - <a href="https://bitcoin.stackexchange.com/questions/19081/parsing-bitcoin-input-and-output-addresses-from-scripts">link</a> and <a href="https://bitcoin.stackexchange.com/questions/14151/deriving-the-bitcoin-address-from-the-raw-block-script">Genesis block</a> but I have a different problem.</p>
<p>I am parsing transaction <code>39ed112558fd501424e3b33bbcbf853ef9f24536ef0f8e6fbad2f5c5098173ad</code> which has COINBASE input and 1 output. Below is the output scripts</p>
<pre><code>41046669fa7aa0167f2ec25f903e331668bf2b8f51aba721cb0dfd7857bd03836397e4d7da5d21830fc92c4b5606c94b1882d532d0806817f37c9942ddd987dc0482ac
</code></pre>
<p>I tried parsing this to pull output address but am stuck. Below is what I performed</p>
<pre><code>41 - Push(65)
046669fa7aa0167f2ec25f903e331668bf2b8f51aba721cb0dfd7857bd03836397e4d7da5d21830fc92c4b5606c94b1882d532d0806817f37c9942ddd987dc0482
ac - OP_CHECKSIG 
</code></pre>
<p>I tried hashing and converting the value in stack (<code>046669fa7aa0167f2ec25f903e331668bf2b8f51aba721cb0dfd7857bd03836397e4d7da5d21830fc92c4b5606c94b1882d532d0806817f37c9942ddd987dc0482</code>) to Base58 and tried double hash but could not pull address <code>1FVJ9qoD9di6cXXi47SUsNN18SLzYMaunP</code> . I know I must be doing something wrong/incomplete here but could not determine the issue.</p>
<p>Happy Holidays!</p>
 51948: <p>This is known as a Pay-to-Public-Key (P2PK) output, because the public key is directly encoded, rather than the hash of the public key.</p>
<p>Bitcoin addresses starting with a 1 encode the hash of a public key. When the hash is used in the output rather than the key itself, this is known as Pay-to-Public-Key-Hash (P2PKH).</p>
<p>Thus, there is no address directly associated with this output traditionally. Deriving an address from an output like this is not intended to be done, and can be very misleading. However, it can be done following the steps on the Bitcoin wiki <a href="https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses" rel="nofollow noreferrer">here</a>.</p>
