From fb5a12813431bde1c39bf62829aa0ba89bc7a884 Mon Sep 17 00:00:00 2001 From: Josh Remaley Date: Sat, 11 Feb 2023 14:46:35 -0600 Subject: [PATCH] add nip26 createDelegation --- 07.md | 1 + 1 file changed, 1 insertion(+) diff --git a/07.md b/07.md index 8ebb4d99..7f80b6fb 100644 --- a/07.md +++ b/07.md @@ -20,6 +20,7 @@ Aside from these two basic above, the following functions can also be implemente async window.nostr.getRelays(): { [url: string]: {read: boolean, write: boolean} } // returns a basic map of relay urls to relay policies async window.nostr.nip04.encrypt(pubkey, plaintext): string // returns ciphertext and iv as specified in nip-04 async window.nostr.nip04.decrypt(pubkey, ciphertext): string // takes ciphertext and iv as specified in nip-04 +async window.nostr.nip26.createDelegation(parameters): string // takes delegator parameters and returns a delgation token using the stored private key ``` ### Implementation