Preparing search index...
The search index is not available
OPNet
OPNet
UnisatSigner
Class UnisatSigner
Create a custom keypair. CustomKeypair
Hierarchy (
view full
)
CustomKeypair
UnisatSigner
Index
Constructors
constructor
Properties
_network
Accessors
addresses
network
p2tr
p2wpkh
public
Key
unisat
Methods
get
Public
Key
init
sign
sign
Input
sign
Schnorr
sign
Taproot
Input
verify
Constructors
constructor
new
Unisat
Signer
(
)
:
UnisatSigner
Returns
UnisatSigner
Properties
_network
_network
:
undefined
|
Network
Accessors
addresses
get
addresses
(
)
:
string
[]
Returns
string
[]
network
get
network
(
)
:
Network
Returns
Network
p2tr
get
p2tr
(
)
:
string
Returns
string
p2wpkh
get
p2wpkh
(
)
:
string
Returns
string
public
Key
get
publicKey
(
)
:
Buffer
Returns
Buffer
unisat
get
unisat
(
)
:
Unisat
Returns
Unisat
Methods
get
Public
Key
get
Public
Key
(
)
:
Buffer
Returns
Buffer
init
init
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
sign
sign
(
hash
,
lowR
?
)
:
Buffer
Parameters
hash
:
Buffer
Optional
lowR
:
boolean
Returns
Buffer
sign
Input
sign
Input
(
transaction
,
i
,
sighashTypes
)
:
Promise
<
void
>
Parameters
transaction
:
Psbt
i
:
number
sighashTypes
:
number
[]
Returns
Promise
<
void
>
sign
Schnorr
sign
Schnorr
(
hash
)
:
Buffer
Parameters
hash
:
Buffer
Returns
Buffer
sign
Taproot
Input
sign
Taproot
Input
(
transaction
,
i
,
sighashTypes
)
:
Promise
<
void
>
Parameters
transaction
:
Psbt
i
:
number
sighashTypes
:
number
[]
Returns
Promise
<
void
>
verify
verify
(
hash
,
signature
)
:
boolean
Parameters
hash
:
Buffer
signature
:
Buffer
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_network
Accessors
addresses
network
p2tr
p2wpkh
public
Key
unisat
Methods
get
Public
Key
init
sign
sign
Input
sign
Schnorr
sign
Taproot
Input
verify
OPNet
Loading...
Create a custom keypair. CustomKeypair