View Source BitcoinLib.Key.HD.ExtendedPublic.Address.P2PKH (BitcoinLib v0.1.2)

Implementation of P2PKH addresses

Sources:

Link to this section Summary

Functions

Converts an extended public key into a P2PKH address starting by 1

Link to this section Functions

Link to this function

from_extended_public_key(extended_public)

View Source

Converts an extended public key into a P2PKH address starting by 1

examples

Examples

iex> %BitcoinLib.Key.HD.ExtendedPublic{ ...> key: 0x02D0DE0AAEAEFAD02B8BDC8A01A1B8B11C696BD3D66A2C5F10780D95B7DF42645C, ...> chain_code: 0 ...> } |> BitcoinLib.Key.HD.ExtendedPublic.Address.P2PKH.from_extended_public_key() "1LoVGDgRs9hTfTNJNuXKSpywcbdvwRXpmK"