Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 829 Bytes

File metadata and controls

30 lines (25 loc) · 829 Bytes

40 - v, r, s

r and s are the two parts of the ECDSA signature produced by the transaction originator using the private key.

v is the recovery identifier which is calculated as either one of 27 or 28, or as the chain ID (Ethereum mainnet chainID is 1) doubled plus 35 or 36.


Slide Screenshot

040.jpg


Slide Text

  • ECDSA Signature -> 65 Bytes
  • r, s -> signature
  • 32 bytes each
  • v -> recovery identifier 1 byte
  • v -> 27 or 28 or
  • chainID*2 + 35 or 36

Code Examples

# seth chain
ethlive

# seth chain-id
1

References

Ethereum Book: Chapter 06 - Transactions (Digital Signatures))