Bitcoin Forum
December 13, 2024, 01:24:58 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How Are Script Pubkeys Calculated?  (Read 1124 times)
p3terparker (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
February 10, 2014, 04:42:35 PM
Last edit: February 14, 2014, 04:18:08 PM by p3terparker
 #1

I can't figure out how to make a p2shAddress from a public key. Is there more than one solution per pubkey?

In Bitcoinj 35b9vsyH1KoFT5a5KtrKusaCcPLkiSo1tU is used as the script address parameter checker, but I don't know how to make this for other coins.

Also, does the starting pubkey address need to mine a block to make a script pubkey? The script Pubkey shows up when I decoderawtransaction for the transaction of a particular block, but the scriptPubkey is only in asm and hex format I need to somehow decode this into standard p2sh address form.

Thank You  Huh
p3terparker (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
February 10, 2014, 05:53:28 PM
Last edit: February 11, 2014, 05:52:44 AM by p3terparker
 #2

Okay I figured it out using bitcoind help use the first command
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!