EthWallet (eth_wallet v0.0.1)

Documentation for EthWallet.

Link to this section Summary

Functions

generate keys with/without privkey.

iex> EthWallet.generate_keys(<<21, ..., 166>>)

Link to this section Functions

Link to this function

generate_keys()

generate keys with/without privkey.

## Examples

iex> EthWallet.generate_keys()

%{

addr: "0xd705f740d934acfb27df7bf71aadc00f20d03c7a",
priv: <<21, ..., 166>>,
pub: <<4, ..., 165, ...>>

}

Link to this function

generate_keys(priv)

iex> EthWallet.generate_keys(<<21, ..., 166>>)

%{

addr: "0xd705f740d934acfb27df7bf71aadc00f20d03c7a",
priv: <<21, ..., 166, ...>>,
pub: <<4, ..., 165, ...>>

}