src/Web3Service.js
/**
    * Sets a new account to the wallet
    *
    * @param    {Object}  account  account object 
    */
Sets a new account to the wallet
@param    {Object}  account  account object
Sets a new account to the wallet @param { Object } account account object
addAccount(account) { 
        this.web3.eth.accounts.wallet.add(account) 
        if(!this.defaultOptions.from){
            this.defaultOptions.from = account.address
        }
    }
addAccount ( account ) { this . web3 . eth . accounts . wallet . add ( account ) if ( ! this . defaultOptions . from ) { this . defaultOptions . from = account . address } }
Sets a new account to the wallet
 @param    {Object}  account  account object
Sets a new account to the wallet @param { Object } account account object