A simple but secure full-stack application that demonstrates how to authenticate a user with their Ethereum wallet instead of a traditional password, following the EIP-4361 standard.
- Secure Authentication: Uses a message-signing flow to verify wallet ownership.
- Front-end: A simple HTML/CSS/JS page to handle user interaction.
- Back-end: A lightweight Node.js/Express server to generate a nonce and verify the signature.
- Clone & Install:
git clone <your-repo-url> cd <your-repo-name> npm install express ethers siwe cors
- Run the Server:
- In your terminal, start the backend server:
node server.js
- Open the dApp:
- Open the
index.htmlfile (located in thepublicfolder) in your web browser.
- Open the