nostr-secure-enclave
v0.1.0
Published
Shared types for Nostr Secure Enclave — hardware-backed key management for Nostr
Maintainers
Readme
nostr-secure-enclave
Shared TypeScript interfaces and types for NSE. Every platform implementation conforms to these contracts.
Package: nostr-secure-enclave (npm)
Types
interface NSEProvider {
generate(): Promise<NSEKeyInfo>;
sign(event: NSEEvent): Promise<NSESignedEvent>;
getPublicKey(): Promise<string>;
getNpub(): Promise<string>;
exists(): Promise<boolean>;
destroy(): Promise<void>;
}