The metamask popup prompts me and ask me a confirmation each time i send a transaction from my dapp.

Is there a way to configure metamask in order to allow all transactions from my dapp, without having to confirm them ?


1 Answer 1


Why don't you use .send() while invoking method from javascript. I don't think metamask can help you in anyway to always allow transactions.


await <contractObject>.methods.<method_you_are_invoking_in_contract>
             from: accounts[0],
             value: web3.utils.toWei(<amount_in_ether>, "ether"),
             gas: "1000000"

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.