Tradehub.ExtendedKey.master

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

master(seed, network \\ :mainnet)

View Source

Specs

master(seed :: binary(), network :: :mainnet | :testnet) ::
  key() | {:error, term()}

Generates private master extended key with given seed and network

Examples

iex> seed = Base.decode16!("81D0E7581BF0C55B2941B2295EB4FD1F9C52D080F8D58A3DB634DE80200BA238")
iex> ExtendedKey.master(seed)
%ExtendedKey{
  chain_code: <<219, 39, 154, 114, 218, 155, 234, 37, 227,
    62, 178, 45, 188, 99, 205, 47, 231, 116, 197, 153, 65,
    210, 122, 59, 183, 217, 163, 153, 181, 126, 212, 49>>,
  child_num: 0,
  depth: 0,
  key: <<186, 255, 178, 91, 225, 143, 38, 20, 157, 136, 154,
    47, 67, 94, 33, 236, 13, 194, 187, 72, 112, 195, 171, 7,
    88, 186, 159, 98, 88, 53, 41, 136>>,
  parent_fingerprint: <<0, 0, 0, 0>>,
  version: <<4, 136, 173, 228>>
}