Preparing search index...
The search index is not available
AppleSauce
AppleSauce
applesauce-signer
SimpleSigner
Class SimpleSigner
A Simple NIP-07 signer class
Index
Constructors
constructor
Properties
key
nip04
nip44
Methods
get
Public
Key
sign
Event
Constructors
constructor
new
Simple
Signer
(
key
?
)
:
SimpleSigner
Parameters
Optional
key
:
Uint8Array
Returns
SimpleSigner
Properties
key
key
:
Uint8Array
nip04
nip04
:
{
decrypt
:
(
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
)
;
encrypt
:
(
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
)
;
}
= ...
nip44
nip44
:
{
decrypt
:
(
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
)
;
encrypt
:
(
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
)
;
}
= ...
Methods
get
Public
Key
get
Public
Key
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
sign
Event
sign
Event
(
event
)
:
Promise
<
VerifiedEvent
>
Parameters
event
:
EventTemplate
Returns
Promise
<
VerifiedEvent
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
key
nip04
nip44
Methods
get
Public
Key
sign
Event
AppleSauce
Loading...
A Simple NIP-07 signer class