Skip to content

Conversation

pinheadmz
Copy link
Member

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 bcoin-org/bcoin#636

@pinheadmz
Copy link
Member Author

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.

@Kakasipahi
Copy link

i have lost my private key can i derive it by eth address

@pinheadmz
Copy link
Member Author

pinheadmz commented Sep 1, 2021

No. @Kakasipahi

@pinheadmz pinheadmz closed this Sep 1, 2021
@pinheadmz pinheadmz reopened this Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants