Skip to main content
edited tags
Link
meshcollider
  • 11.9k
  • 4
  • 26
  • 53
added 124 characters in body
Source Link
Ankit
  • 29
  • 7

I already looked at the similar question - link and Genesis block but I have a different problem.

I am parsing transaction 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b39ed112558fd501424e3b33bbcbf853ef9f24536ef0f8e6fbad2f5c5098173ad which has COINBASE input and 2 outputs1 output. Below is one of the output scripts

4104678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5fac41046669fa7aa0167f2ec25f903e331668bf2b8f51aba721cb0dfd7857bd03836397e4d7da5d21830fc92c4b5606c94b1882d532d0806817f37c9942ddd987dc0482ac

I tried parsing this to pull output address but am stuck. Below is what I performed

41 - Push(65)
04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f046669fa7aa0167f2ec25f903e331668bf2b8f51aba721cb0dfd7857bd03836397e4d7da5d21830fc92c4b5606c94b1882d532d0806817f37c9942ddd987dc0482
ac - OP_CHECKSIG 

I tried hashing and converting the value in stack (04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f046669fa7aa0167f2ec25f903e331668bf2b8f51aba721cb0dfd7857bd03836397e4d7da5d21830fc92c4b5606c94b1882d532d0806817f37c9942ddd987dc0482) to Base58 and tried double hash but could not pull address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa1FVJ9qoD9di6cXXi47SUsNN18SLzYMaunP . I know I must be doing something wrong/incomplete here but could not determine the issue.

Happy Holidays!

I already looked at the similar question - link but I have a different problem.

I am parsing transaction 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b which has COINBASE input and 2 outputs. Below is one of the output scripts

4104678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5fac

I tried parsing this to pull output address but am stuck. Below is what I performed

41 - Push(65)
04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f
ac - OP_CHECKSIG 

I tried hashing and converting the value in stack (04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f) to Base58 and tried double hash but could not pull address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa . I know I must be doing something wrong/incomplete here but could not determine the issue.

Happy Holidays!

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!

edited title
Link
Ankit
  • 29
  • 7

Parsing bitcoin output script to pull address from genesis block

Source Link
Ankit
  • 29
  • 7
Loading