Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BitVM/BitVM
/ generate_burn_script
Function
generate_burn_script
bridge/src/scripts.rs:20–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
});
19
20
pub fn generate_burn_script() -> ScriptBuf {
21
generate_pay_to_pubkey_script(&UNSPENDABLE_PUBLIC_KEY)
22
}
23
24
pub fn generate_burn_script_address(network: Network) -> Address {
25
Address::p2wsh(&generate_burn_script(), network)
Callers
5
generate_burn_script_address
Function · 0.85
test_validate_invalid_script_sig
Function · 0.85
test_validate_invalid_script_pubkey
Function · 0.85
test_validate_invalid_script_sig
Function · 0.85
test_validate_invalid_script_pubkey
Function · 0.85
Calls
1
generate_pay_to_pubkey_script
Function · 0.85
Tested by
4
test_validate_invalid_script_sig
Function · 0.68
test_validate_invalid_script_pubkey
Function · 0.68
test_validate_invalid_script_sig
Function · 0.68
test_validate_invalid_script_pubkey
Function · 0.68