This is an example about how to generate a Ethereum signature using Ethers.js functions.
This also includes smart-contract code to verify the signature.
Deployed on Sepolia: 0xd6da38bf53801f1c7707ed2c5f9eba15e80e33ae.
The generated signature is EIP-191 compliant.