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