View Source Signet.Keys (Signet v0.1.7)

Signet library to generate Ethereum key pairs.

Link to this section Summary

Functions

Generates a new keypair as an {eth_address, private_key}.

Link to this section Functions

Generates a new keypair as an {eth_address, private_key}.

examples

Examples

iex> {address, priv_key} = Signet.Keys.generate_keypair()
iex> {byte_size(address), byte_size(priv_key)}
{20, 32}