MCPcopy Index your code
hub / github.com/BitVM/BitVM / generate_pay_to_pubkey_script_address

Function generate_pay_to_pubkey_script_address

bridge/src/scripts.rs:80–82  ·  view source on GitHub ↗
(network: Network, public_key: &PublicKey)

Source from the content-addressed store, hash-verified

78}
79
80pub 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
84pub fn generate_pay_to_pubkey_hash_with_inscription_script_address(
85 network: Network,

Callers 15

get_operator_addressMethod · 0.85
get_depositor_addressMethod · 0.85
new_for_validationMethod · 0.85
new_for_validationMethod · 0.85
new_for_validationMethod · 0.85
new_for_validationMethod · 0.85
new_for_validationMethod · 0.85
test_peg_in_feesFunction · 0.85
test_peg_out_feesFunction · 0.85
test_musig2_peg_inFunction · 0.85

Calls 1

Tested by 15

test_peg_in_feesFunction · 0.68
test_peg_out_feesFunction · 0.68
test_musig2_peg_inFunction · 0.68
create_peg_out_graphFunction · 0.68
simulate_peg_out_from_l2Function · 0.68
test_syncFunction · 0.68
get_pegin_inputFunction · 0.68