Tradehub.Wallet.address_from_private_key

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

address_from_private_key(private_key, network \\ :testnet)

View Source

Look for the wallet address based on the given public key within a network.

Examples

iex> Tradehub.Wallet.address_from_private_key("151f85d41358f56d14bec4846c5370a3ae4f34decba71d48feac75ecbf6c8ca1")
{:ok, "tswth174cz08dmgluavwcz2suztvydlptp4a8f8t5h4t"}

iex> Tradehub.Wallet.address_from_private_key!("151f85d41358f56d14bec4846c5370a3ae4f34decba71d48feac75ecbf6c8ca1", :mainnet)
"swth174cz08dmgluavwcz2suztvydlptp4a8fru98vw"