:) I am new to Ethereum technology. I am studying the web3js JavaScript library from the official documentation and I don't understand the web3.eth.defaultAccount
. What is this for? Why I have to use it in my web application? For example, this code:
web3Istance.eth.defaultAccount = web3Istance.eth.accounts[0];
I am using testrpc for testing my Dapp locally. So in this case I set the first account to be the default one. But why I do have to set the default account?