web3 / web3.js

Collection of comprehensive TypeScript libraries for Interaction with the Ethereum JSON RPC API and utility functions.
https://web3js.org/
Other
19.3k stars 4.95k forks source link

Web3 Eth Personal #4720

Closed jdevcs closed 2 years ago

jdevcs commented 2 years ago

Description

Following function are for interacting with wallet located in Eth node, these are not for local wallet. Having following functionality in 4.x:

Acceptance Criteria

This package must also expose following functionality by using existing packages.

cisan86 commented 1 year ago

web3.personal.unlockAccount the method personal_unlockAccount does not exist/is not available

jdevcs commented 1 year ago

@cisan86 are you using geth?

jdevcs commented 1 year ago

If so :

The personal RPC namespace is now deprecated. In order to interact with personal APIs, you need to specifically allow it via the --rpc.enabledeprecatedpersonal command-line flag. https://github.com/ethereum/go-ethereum/releases/tag/v1.11.0