AppleSauce
Preparing search index...
applesauce-signers
ISigner
Type Alias ISigner
type
ISigner
=
{
getPublicKey
:
()
=>
Promise
<
string
>
;
nip04
?:
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
;
}
;
nip44
?:
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
;
}
;
signEvent
:
(
template
:
EventTemplate
)
=>
Promise
<
NostrEvent
>
;
}
Hierarchy (
View Summary
)
ISigner
IAccount
Implemented by
AmberClipboardSigner
ExtensionSigner
NostrConnectSigner
PasswordSigner
ProxySigner
ReadonlySigner
SerialPortSigner
SimpleSigner
Index
Properties
get
Public
Key
nip04?
nip44?
sign
Event
Properties
get
Public
Key
getPublicKey
:
()
=>
Promise
<
string
>
Optional
nip04
nip04
?:
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
;
}
Optional
nip44
nip44
?:
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
;
}
sign
Event
signEvent
:
(
template
:
EventTemplate
)
=>
Promise
<
NostrEvent
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
get
Public
Key
nip04
nip44
sign
Event
AppleSauce
Loading...