live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/lock-device


@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

ParameterType
eventOmit&lt;NostrEvent, "id" | "sig">
nostrSkHexstring

Returns

NostrEvent