Preparing search index...
The search index is not available
AppleSauce
AppleSauce
applesauce-signer
ReadonlySigner
Class ReadonlySigner
A signer that only implements getPublicKey and throws on ever other method
Implements
Nip07Interface
Index
Constructors
constructor
Properties
nip04
nip44
Methods
get
Public
Key
get
Relays
nip04
Decrypt
nip04
Encrypt
nip44
Decrypt
nip44
Encrypt
sign
Event
Constructors
constructor
new
Readonly
Signer
(
pubkey
)
:
ReadonlySigner
Parameters
pubkey
:
string
Returns
ReadonlySigner
Properties
nip04
nip04
:
{
decrypt
:
(
(
pubkey
:
string
,
ciphertext
:
string
)
=>
string
|
Promise
<
string
>
)
;
encrypt
:
(
(
pubkey
:
string
,
plaintext
:
string
)
=>
string
|
Promise
<
string
>
)
;
}
nip44
nip44
:
{
decrypt
:
(
(
pubkey
:
string
,
ciphertext
:
string
)
=>
string
|
Promise
<
string
>
)
;
encrypt
:
(
(
pubkey
:
string
,
plaintext
:
string
)
=>
string
|
Promise
<
string
>
)
;
}
Methods
get
Public
Key
get
Public
Key
(
)
:
string
Returns
string
get
Relays
get
Relays
(
)
:
{}
Returns
{}
nip04
Decrypt
nip04
Decrypt
(
)
:
string
Returns
string
nip04
Encrypt
nip04
Encrypt
(
)
:
string
Returns
string
nip44
Decrypt
nip44
Decrypt
(
)
:
string
Returns
string
nip44
Encrypt
nip44
Encrypt
(
)
:
string
Returns
string
sign
Event
sign
Event
(
)
:
VerifiedEvent
Returns
VerifiedEvent
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
nip04
nip44
Methods
get
Public
Key
get
Relays
nip04
Decrypt
nip04
Encrypt
nip44
Decrypt
nip44
Encrypt
sign
Event
AppleSauce
Loading...
A signer that only implements getPublicKey and throws on ever other method