MCPcopy Create free account
hub / github.com/BitVM/BitVM / generate_burn_script_address

Function generate_burn_script_address

bridge/src/scripts.rs:24–26  ·  view source on GitHub ↗
(network: Network)

Source from the content-addressed store, hash-verified

22}
23
24pub fn generate_burn_script_address(network: Network) -> Address {
25 Address::p2wsh(&generate_burn_script(), network)
26}
27
28pub fn generate_burn_taproot_script() -> ScriptBuf {
29 generate_pay_to_pubkey_taproot_script(&UNSPENDABLE_TAPROOT_PUBLIC_KEY)

Callers 4

new_for_validationMethod · 0.85
new_for_validationMethod · 0.85
new_for_validationMethod · 0.85
new_for_validationMethod · 0.85

Calls 1

generate_burn_scriptFunction · 0.85

Tested by

no test coverage detected