Sign & verify using the EIP712 standard. Built with 🏗 Scaffold-ETH
First, you'll sign a message:
You can find the front-end code in packages/react-app/src/views/SignMessage.jsx
.
The signed message will be verified and stored by the back-end server. Check packages/backend/index.js
Once you send a valid signed message, you can attempt a replay attack:
Prerequisites: Node (v16 LTS) plus Yarn and Git
clone the repo:
git clone https://github.com/carletex/eip-712-signatures.git
install dependencies and start the frontend:
cd eip-712-signatures
yarn install
yarn start
in a second terminal window, start the backend server:
yarn backend
📱 Open http://localhost:3000 to see the app
Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io
📕 Read the docs: https://docs.soliditylang.org
📚 Go through each topic from solidity by example editing YourContract.sol
in 🏗 scaffold-eth
📧 Learn the Solidity globals and units
Check out all the active branches, open issues, and join/fund the 🏰 BuidlGuidl!
Register as a builder here and start on some of the challenges and build a portfolio.
Join the telegram support chat 💬 to ask questions and find others building with 🏗 scaffold-eth!