Function btc_transaction_utils::p2wpk::address [] [src]

pub fn address(pk: &PublicKey, network: Network) -> Address

Creates a bitcoin address for the corresponding public key and the bitcoin network.