UNPKG

applesauce-wallet-connect

Version:

NIP-47 Nostr Wallet Connect implementation for both clients and services.

5 lines (4 loc) 210 B
/** Converts a NIP-47 encryption method name to a NIP-07 encryption method name */ export function nip47EncryptionMethodToNip07EncryptionMethod(method) { return method === "nip44_v2" ? "nip44" : "nip04"; }