applesauce-wallet-connect
Version:
NIP-47 Nostr Wallet Connect implementation for both clients and services.
16 lines (15 loc) • 770 B
TypeScript
import { EventBlueprint } from "applesauce-factory";
import { WalletNotification } from "../helpers/notification.js";
/**
* Creates a wallet notification event (kind 23197)
* @param client - The service pubkey
* @param notification - The notification to create an event for
* @param encryption - The encryption method to use (defaults to nip44_v2)
*/
export declare function WalletNotificationBlueprint(client: string, notification: WalletNotification): EventBlueprint;
/**
* Creates a legacy wallet notification event (kind 23196)
* @param client - The service pubkey
* @param notification - The notification to create an event for
*/
export declare function WalletLegacyNotificationBlueprint(client: string, notification: WalletNotification): EventBlueprint;