Skip to main content

BUNKER_SIGNER

Static BUNKER_SIGNER 

Source
pub static BUNKER_SIGNER: LazyLock<RwLock<Option<NostrConnect>>>
Expand description

Active NostrConnect handle. None for local-signer sessions.

NostrConnect is internally Arc-counted (relay pool, OnceCell-backed remote pubkey cache), so cloning it for per-call use is cheap. The lock is only held briefly to snapshot the inner value.