AppleSauce
Preparing search index...
applesauce-signers
ExtensionSigner
Class ExtensionSigner
A signer that is a proxy for window.nostr
Implements
ISigner
Index
Constructors
constructor
Properties
pubkey
Accessors
nip04
nip44
Methods
get
Public
Key
sign
Event
Constructors
constructor
new
ExtensionSigner
()
:
ExtensionSigner
Returns
ExtensionSigner
Properties
Protected
pubkey
pubkey
:
undefined
|
string
= undefined
Accessors
nip04
get
nip04
()
:
|
undefined
|
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
;
}
Returns
|
undefined
|
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
;
}
nip44
get
nip44
()
:
|
undefined
|
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
;
}
Returns
|
undefined
|
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
;
}
Methods
get
Public
Key
getPublicKey
()
:
Promise
<
string
>
Returns
Promise
<
string
>
sign
Event
signEvent
(
template
:
EventTemplate
)
:
Promise
<
VerifiedEvent
>
Parameters
template
:
EventTemplate
Returns
Promise
<
VerifiedEvent
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
pubkey
Accessors
nip04
nip44
Methods
get
Public
Key
sign
Event
AppleSauce
Loading...
A signer that is a proxy for window.nostr