View Source BitcoinLib.Key.HD.ExtendedPublic.Address.Bech32 (BitcoinLib v0.1.2)
Implementation of Bech32 addresses
BIP173: https://en.bitcoin.it/wiki/BIP_0173
Sources:
Link to this section Summary
Functions
Creates a Bech32 address, which is starting by bc1, out of an Extended Public Key
Link to this section Functions
Creates a Bech32 address, which is starting by bc1, out of an Extended Public Key
examples
Examples
iex> %BitcoinLib.Key.HD.ExtendedPublic{ ...> key: 0x0279BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798, ...> chain_code: 0 ...> } |> BitcoinLib.Key.HD.ExtendedPublic.Address.Bech32.from_extended_public_key() "bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4"