applesauce-wallet-connect
Version:
NIP-47 Nostr Wallet Connect implementation for both clients and services.
6 lines (5 loc) • 390 B
TypeScript
import { EncryptionMethod } from "applesauce-core/helpers/encrypted-content";
/** Supported encryption methods */
export type WalletConnectEncryptionMethod = "nip44_v2" | "nip04";
/** Converts a NIP-47 encryption method name to a NIP-07 encryption method name */
export declare function nip47EncryptionMethodToNip07EncryptionMethod(method: WalletConnectEncryptionMethod): EncryptionMethod;