Tradehub.Wallet.from_private_key

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

from_private_key(private_key, network \\ :testnet)

View Source

Specs

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

Open a wallet based on its private key.

Examples

iex> Tradehub.Wallet.from_private_key("151f85d41358f56d14bec4846c5370a3ae4f34decba71d48feac75ecbf6c8ca1")