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 ethereum.org

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


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

Comments

Sign In or Register to comment.