Preparing search index...
The search index is not available
AppleSauce
AppleSauce
applesauce-accounts
ProxySigner
Class ProxySigner<T>
Type Parameters
T
extends
Nip07Interface
Implements
Nip07Interface
Index
Constructors
constructor
Properties
error?
upstream
Accessors
nip04
nip44
signer
Methods
get
Public
Key
sign
Event
Constructors
constructor
new
ProxySigner
<
T
extends
Nip07Interface
>
(
upstream
:
Observable
<
undefined
|
T
>
,
error
?:
string
,
)
:
ProxySigner
<
T
>
Type Parameters
T
extends
Nip07Interface
Parameters
upstream
:
Observable
<
undefined
|
T
>
Optional
error
:
string
Returns
ProxySigner
<
T
>
Properties
Protected
Optional
error
error
?:
string
Protected
upstream
upstream
:
Observable
<
undefined
|
T
>
Accessors
nip04
get
nip04
()
:
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
,
)
=>
string
|
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
string
|
Promise
<
string
>
;
}
Returns
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
,
)
=>
string
|
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
string
|
Promise
<
string
>
;
}
nip44
get
nip44
()
:
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
,
)
=>
string
|
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
string
|
Promise
<
string
>
;
}
Returns
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
,
)
=>
string
|
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
string
|
Promise
<
string
>
;
}
Protected
signer
get
signer
()
:
T
Returns
T
Methods
get
Public
Key
getPublicKey
()
:
string
|
Promise
<
string
>
Returns
string
|
Promise
<
string
>
sign
Event
signEvent
(
template
:
EventTemplate
)
:
Event
|
Promise
<
Event
>
Parameters
template
:
EventTemplate
Returns
Event
|
Promise
<
Event
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
error
upstream
Accessors
nip04
nip44
signer
Methods
get
Public
Key
sign
Event
AppleSauce
Loading...