What is Digital Signature?
A digital signature is a cryptographic proof that a message or transaction was authorized by the holder of a specific private key — providing authentication, integrity, and non-repudiation on the blockchain.
WHY IT MATTERS
Digital signatures are how blockchain knows who authorized a transaction. When you sign a transaction with your private key, anyone with your public key can verify the signature is valid — mathematically proving you approved it.
Ethereum uses ECDSA (Elliptic Curve Digital Signature Algorithm) with the secp256k1 curve. Each signature produces (v, r, s) values that, combined with the message hash, allow recovery of the signer's public key.
For smart contracts, signatures enable off-chain authorization: signing permit messages for gasless token approvals (EIP-2612), signing orders for decentralized exchanges, and multi-sig verification.