Skip to main content

nip55_perms_json

Function nip55_perms_json 

Source
pub fn nip55_perms_json() -> String
Expand description

Render the pairing permissions JSON: blanket encrypt/decrypt plus one {"type":"sign_event","kind":K} per signed kind. Never includes get_private_key — same policy as crate::signer::VECTOR_NIP46_PERMS; the whole point of an external signer is that the identity nsec never leaves it.