Preparing search index...
The search index is not available
Welshman Docs
Welshman Docs
@welshman/signer
Nip59
Class Nip59
Index
Constructors
constructor
Methods
unwrap
with
Wrapper
wrap
from
Secret
from
Signer
Constructors
constructor
new
Nip59
(
signer
:
ISigner
,
wrapper
?:
ISigner
)
:
Nip59
Parameters
signer
:
ISigner
Optional
wrapper
:
ISigner
Returns
Nip59
Methods
unwrap
unwrap
(
event
:
SignedEvent
)
:
Promise
<
undefined
|
UnwrappedEvent
>
Parameters
event
:
SignedEvent
Returns
Promise
<
undefined
|
UnwrappedEvent
>
with
Wrapper
withWrapper
(
wrapper
:
ISigner
)
:
Nip59
Parameters
wrapper
:
ISigner
Returns
Nip59
wrap
wrap
(
pubkey
:
string
,
template
:
StampedEvent
,
tags
?:
string
[]
[]
,
)
:
Promise
<
UnwrappedEvent
>
Parameters
pubkey
:
string
template
:
StampedEvent
tags
:
string
[]
[]
= []
Returns
Promise
<
UnwrappedEvent
>
Static
from
Secret
fromSecret
(
secret
:
string
)
:
Nip59
Parameters
secret
:
string
Returns
Nip59
Static
from
Signer
fromSigner
(
signer
:
ISigner
)
:
Nip59
Parameters
signer
:
ISigner
Returns
Nip59
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
unwrap
with
Wrapper
wrap
from
Secret
from
Signer
Welshman Docs
Loading...