address.py 149 B

1234567
  1. from eth_utils import (
  2. keccak,
  3. )
  4. def public_key_bytes_to_address(public_key_bytes: bytes) -> bytes:
  5. return keccak(public_key_bytes)[-20:]