The multisig script is created from the public keys. An address is a hash 
of the public key, the hash goes only one way so you can not derive the 
public key from the address.

On Wednesday, November 22, 2017 at 6:44:25 AM UTC-8, vg-coder wrote:
>
> Hi all!
>
> I am testing some easy smart contracts and I got a doubt. Why do we need 
> the ECKey in createMultiSigOutputScript instead of using Address?
> Is there no way to achieve the same with the addresses instead of using 
> keys?, since normally, between two parties, we interchange addresses not 
> public keys. 
>
> Kind regards,
>

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to