def eth_address

bend-collections@1.0.0.0 · src/crypto/secp256k1/ecdsa.bend:333

import bend-collections@1.0.0.0/src/crypto/secp256k1/ecdsa.bend as Ecdsa
import Base

333# the 20-byte Ethereum address of a 65-byte uncompressed public key:
334# the last 20 bytes of Keccak-256 of its 64 coordinate bytes
335def eth_address(+pk: List<&2, U32>) -> Maybe<&2, List<&2, U32>>:
336  eth_with(Keccak256{}, pk)

Uses (5)

Used by (2)