Learning Solidity (0.5) - Signature Verification
You can use Solidity and MetaMask to sign and verify arbitrary messages. This technique allow contracts to scale offchain and it is a fundamental building block for second layer blockchain technologies such as payment channels and side chains (Plasma).
But the details of how to actually sign and verify a message can be tricky. So in this video, I will break down, step by step, how signature verification works.
Code: https://solidity-by-example.org/signature/
Remix IDE: http://remix.ethereum.org
Solidity: https://solidity.readthedocs.io
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Join me on Discord: https://discord.gg/Ny8sPaj
Website: https://smartcontractprogrammer.com