Tradehub.Wallet.public_key_from_mnemonic

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

public_key_from_mnemonic(mnemonic)

View Source

Specs

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

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

Examples

iex> Tradehub.Wallet.public_key_from_mnemonic("wrist coyote fuel wet evil tag shoot yellow morning history visit mosquito")
{: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>>}