Can't set variable on command line interface

Pei13Pei13 Member Posts: 32
edited October 2015 in Education
I'm trying to set this variable as explained on

var sender = web3.eth.accounts[0];

but I keep getting an undefined error why is that? I'm trying to send ether. I'm using ubuntu by the way.


Sign In or Register to comment.