Open pinheadmz opened 5 years ago
Note if a user passes an account-key
, the wallet is automatically set to watch-only
. This seems ok because it still checks that the key is a pubkey in wallet/http.js
so a user may be confused about usage but won't generate unrecoverable private keys.
i have lost my private key can i derive it by eth address
No. @Kakasipahi
Addresses possible user error and confusion regarding purpose of watch-only wallets. Not passing an
xpub
results in a wallet with private keys (bcoin wallet will still generate a master private key) but being watch-only, it will refuse to dump private keys or sign transactions.See https://github.com/bcoin-org/bcoin/issues/636