kernl API
Preparing search index...
@kernlize/modules
SignalSigner
Interface SignalSigner
The window's own signer: a key that belongs to no account.
interface
SignalSigner
{
nip44
:
{
decrypt
(
pubkey
:
string
,
ciphertext
:
string
)
:
Promise
<
string
>
;
encrypt
(
pubkey
:
string
,
plaintext
:
string
)
:
Promise
<
string
>
;
}
;
getPublicKey
()
:
Promise
<
string
>
;
signEvent
(
template
:
EventTemplate
)
:
Promise
<
NostrEvent
>
;
}
Index
Properties
nip44
Methods
get
Public
Key
sign
Event
Properties
Readonly
nip44
nip44
:
{
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
<
NostrEvent
>
Parameters
template
:
EventTemplate
Returns
Promise
<
NostrEvent
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
nip44
Methods
get
Public
Key
sign
Event
kernl API
Loading...
The window's own signer: a key that belongs to no account.