I was curious if metamask uses web3 for communication with eth node ? I tried google for it; showed bunch of other results but didn't precisely answered my question. Indepth answer on how metamask works in addition to my question would be just cherry on the top.

1 Answer 1


MetaMask does use Web3.js internally. You can check it in the source code on GitHub. Previously, MetaMask would also inject window.web3 in the current page, but that was changed to only inject window.ethereum instead. Dapps can use window.ethereum for safe interaction with a user's wallet.

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.