now Wallet inherits EventEmitter