Solidity From JavaScript

robmyersrobmyers Member Posts: 65 ✭✭✭
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.


Sign In or Register to comment.