Tradehub.Wallet.public_key_from_private_key

You're seeing just the function public_key_from_private_key, go back to Tradehub.Wallet module for more information.
Link to this function

public_key_from_private_key(private_key)

View Source

Specs

public_key_from_private_key(String.t() | bitstring()) ::
  {:ok, String.t()} | {:error, String.t()}

Look for the public key based on the given private key phrase.

Examples

iex> Tradehub.Wallet.public_key_from_private_key("151f85d41358f56d14bec4846c5370a3ae4f34decba71d48feac75ecbf6c8ca1")
{:ok, <<2, 230, 25, 59, 87, 182, 114, 223, 41, 153, 127, 228, 149, 215, 139, 79, 211, 234, 174, 157, 170, 224, 165, 226, 128, 49, 41, 226, 194, 27, 80, 78, 35>>}