(network: Network, public_key: &PublicKey)
| 78 | } |
| 79 | |
| 80 | pub fn generate_pay_to_pubkey_script_address(network: Network, public_key: &PublicKey) -> Address { |
| 81 | Address::p2wsh(&generate_pay_to_pubkey_script(public_key), network) |
| 82 | } |
| 83 | |
| 84 | pub fn generate_pay_to_pubkey_hash_with_inscription_script_address( |
| 85 | network: Network, |