@orangecheck/lock-device / signNostrEvent
Function: signNostrEvent()
function signNostrEvent(event: Omit<NostrEvent, "id" | "sig">, nostrSkHex: string): NostrEvent;
Defined in: index.ts:131
Sign a Nostr event with a Schnorr key (derived via deriveNostrKey). Produces the full NostrEvent with id and sig.
Parameters
| Parameter | Type |
|---|---|
event | Omit<NostrEvent, "id" | "sig"> |
nostrSkHex | string |