Post
Topic
Board BitcoinJ
Topic OP
How Are Script Pubkeys Calculated?
by
p3terparker
on 10/02/2014, 16:42:35 UTC
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