Can a constructor function accept parameters?

In AlethZero I loaded a Solidity contract that has a constructor function that takes parameters.
It compiled and loaded fine, but then I realized I couldn't pass in the parameters.
Is this just a limitation on AlethZero or am I coding wrong?

Comments

  • ryepdxryepdx Member Posts: 13
    Was just looking into this myself. In order to pass constructor parameters in raw hex, you have to encode them as, say, web3 or PyEthereum would if it were encoding the parameters for a function call and then append the data to your contract data. Does that make sense?
Sign In or Register to comment.