UNPKG

nostr-nsec-seedphrase

Version:

A comprehensive TypeScript library for Nostr key management with BIP39 seed phrases, supporting both ESM and CommonJS. Implements NIP-01, NIP-06, NIP-19, and NIP-26 with key generation, event signing, bech32 encoding/decoding, and secure cryptographic ope

4 lines (3 loc) 190 B
export declare function generateMnemonic(): string; export declare function validateMnemonic(mnemonic: string): boolean; export declare function mnemonicToEntropy(mnemonic: string): string;