EIP712.Util.RecoveryBit (eip712 v0.1.0)

There are a number of ways to look at recovery bits. Either:

  • :base: In the range {0,1}, which are the outputs of a signer library
  • :ethereum: In the range {27,28}, as defined in the yellow paper
  • :eip155: In the range {35+chain_id*2,35+chain_id*2+1}, as defined in EIP-155

This module provides tools between switching through these choices.