nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / createDelegation

Function: createDelegation()

createDelegation(delegatorPrivkey, delegateePubkey, conditions): Promise<string>

Defined in: nips/nip-26.ts:43

Create a delegation token

Parameters

delegatorPrivkey

string

delegateePubkey

string

conditions

DelegationConditions

Returns

Promise<string>