Optional
nip04
nip04?: {
decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
}
Optional
nip44
nip44?: {
decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
}
Optional
pubkey
pubkey?: string
verifyEvent
verifyEvent: ((event: Event) => event is VerifiedEvent) = verifyEvent
Static
SUPPORTED
SUPPORTED: false | (() => Promise<string>) = ...
Type declaration
- (): Promise<string>
Returns Promise<string>
A Signer for amber clipboard API
See
https://github.com/greenart7c3/Amber/blob/master/docs/web-apps.md