Metatransactions are regular ethereum transaction that carries another transaction which is the original transaction. In this case whosoever that is performing this transaction pays for the gas fee
This project seeks to implement digital signatures, work on signing messages offchain and verifying it on chain. This tends to save gas and reduce the amount of transactions performed onchain.
Create a message to sign, hash the message, sign the message offchain using ur private key!! on metamask
Cerify the message on chain, recover signer from the signature and hash, compare recovered signer to the original signer
- DigSig signs you in...Connects you to the Dapp
- Create a message to sign. Enter the address of the recipient, amount to send, nounce to prevent replay attacks.
- Click on getSig and sign the message.
- This action returns the signature displayed in the input field. This is meant to be copied and given to an actor for verification.
- Before verifying on the verify page, you are expected to connect with another account, refresh te verify page and submit the signature for verification
- This is just for learning purpose.
- Do not use the ame nounce twice. Always use a higher nounce number.
Check out the site at https://digsig.netlify.app/