Skip to main content
kobigurk's user avatar
kobigurk's user avatar
kobigurk's user avatar
kobigurk
  • Member for 8 years, 11 months
  • Last seen more than 1 year ago
awarded
awarded
awarded
awarded
awarded
comment
awarded
comment
answered
Loading…
comment
Assigning a 2D byte array and accessing via Web3
since eventually, byte (=bytes1) is padded to 32 bytes, a quick workaround for you would be to return bytes32[3][10] instead
comment
Assigning a 2D byte array and accessing via Web3
to be honest, it seems to me like a bug in web3 byte two dimensional array decoding: 1. It works fine with address[16][16] which I use. 2. I have a proposed fix that works for your case, but I've yet to generalize it.
answered
Loading…
answered
Loading…
comment
Unable to contribute to crowdsale contract
can you show the outputs of eth.getTransaction and eth.getTransactionReceipt on that tx?
awarded
Loading…
comment
comment
Passing an array as a parameter from javascrpt (web3) to a Solidity function
got you now. how would you know if they're undefined? they're local to the execution of this function. I made sure it's OK by using an event: event Hello(bytes32 x, bytes32 y) and then in the func add: Hello(x,y);
comment
Passing an array as a parameter from javascrpt (web3) to a Solidity function
passing an array ["field1", "field2"] works in my example. did you deploy the contract first, using new or sendTransaction?
comment
Create and sign OFFLINE raw transactions?
ethereumjs-tx is great indeed. You can also check out this tool I made for a GUI example of using it to sign transactions on an offline machine: github.com/kobigurk/frozeth