Ok I think I need a sanity check.
I haven't been able to get dapps running and from other posts around looks to be a problem with the JSON bindings. I can RPC to eth after this command:
eth --json-rpc-port 8080
But trying anything from the javascript console just returns null.
I'm not a developer so aren't sure which way to go now...
0 ·
Comments
The default JSON RPC port is 8080, so you don't need to specify that option.
So, sanity check... My understanding is that Alethzero is standalone and does not require eth to be running and that AZ is just a GUI version of eth. Is this correct?
eth returns JSON objects as expected when queried in a web browser.
But in Alethzero the js bindings don't seem to be running. So for example when i enter 'eth.key' in AZ's JS console it returns 'null' when it should return the private key.
I've tried ./alethzero --json-rpc but no difference.
eth.key
has been deprecated for a while now, by design (no need to expose private stuff to the client). Check out http://forum.ethereum.org/discussion/1636/tutorial-3-introduction-to-the-javascript-api for the new notation.