I am trying to use my Dapp application on Mist but when I tried to unlock the account to execute a transaction I receive the message "Method "personal_unlockAccount" not allowed."

the code:

var web3 = new Web3(Web3.givenProvider || new Web3.providers.WebsocketProvider("ws://"));
web3.eth.personal.unlockAccount('0xfe....fe'), password, 5)

The exact same code works if I am using the geth with WebSocket.

I am using Web3js version 1.0.0 beta 18

All other operations that does not requires an unlocked account works perfectly on both environment (web browser with WebSocket and Mist with the givenProvider).


I realize that using Metamask, Mist or any web3 browser they have your own unlock implementation.

I have to just call a transaction and these implementation will be asking for unlocking.

So, there is no need to call the unlock.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.