0

Suppose I am doing like this

myContract.methods.myMethod(123).send({from: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe'}, function(error, transactionHash){ ... });

Do I need to unlock the account 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe to send the transaction ? If yes then what is the process to unlock this account. with Web3 1.0 I found web3.personal.unlockAccount on a topic but didn't find any documentation about this in here

2 Answers 2

1

Web3 1.0 is still beta so something might not work or are incomplete.

Here is the documentation of personal.unlockAccount.

0

When using the Mist Browser or MetaMask, you do not necccessarily have to unlock the account. They just take the transaction data, and sign a transaction for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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