Preparing search index...
The search index is not available
Welshman Docs
Welshman Docs
@welshman/signer
Nip07Signer
Class Nip07Signer
Implements
ISigner
Index
Constructors
constructor
Properties
nip04
nip44
Methods
get
Pubkey
sign
Constructors
constructor
new
Nip07Signer
()
:
Nip07Signer
Returns
Nip07Signer
Properties
nip04
nip04
:
{
decrypt
:
(
pubkey
:
string
,
message
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
message
:
string
)
=>
Promise
<
string
>
;
}
= ...
nip44
nip44
:
{
decrypt
:
(
pubkey
:
string
,
message
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
message
:
string
)
=>
Promise
<
string
>
;
}
= ...
Methods
get
Pubkey
getPubkey
()
:
Promise
<
string
>
Returns
Promise
<
string
>
sign
sign
(
template
:
StampedEvent
)
:
Promise
<
SignedEvent
>
Parameters
template
:
StampedEvent
Returns
Promise
<
SignedEvent
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
nip04
nip44
Methods
get
Pubkey
sign
Welshman Docs
Loading...