Solidity looks amazing.
I know it's early days, but with Solidity and the new Serpent I've a couple of questions:
1. I understand the calling conventions (function identified by number) but there's nothing for that in the JavaScript API yet is there? I can format up calls but I assume there'll be something better using the ABI information coming along.
2. Both Solidity and Serpent have named, structured storage (state in Solidity, data in Serpent). How is that accessed from JavaScript? With the compiler handling the layout of memory, I can get the position of fields in storage from the compiled code but that's a hack. Some of the contracts have functions that look suspiciously like accessors.
3 ·
Comments
2. I will soon write up a Serpent data structure translator in JS. Gav and Christian can speak for Solidity.
2. Contracts have accessors which can be called (locally - no chain side-effects) for free.
gavofyork - Not sure how I managed to miss that. Going through the examples at https://github.com/ethereum/ethereum.js now. Great stuff.