MetaMask® Login

MetaMask is a browser extension and app that describes itself as a crypto wallet and a gateway to blockchain apps. MetaMask helps you manage your private key which controls your Ethereum address, and facilitates crypto

transactions and interacting with blockchain apps. The important thing to know for developers is that if a user has the MetaMask extension installed, we will be able to access the window.ethereum object in our application to interact

with MetaMask and the private key management tools it provides for the users public Ethereum address. In this tutorial, we are going to build an authentication solution that allows a user to login with MetaMask. Their public Ethereum

address will be used as a unique identifier, and we will use the private key management tools that MetaMask exposes to provide a mechanism for a user to prove they own that particular address and thus have permission to login as that user.