Search
Preparing search index...
The search index is not available
@iov/keycontrol Documentation
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
Secp256k1HdWallet
Class Secp256k1HdWallet
Hierarchy
Slip10Wallet
Secp256k1HdWallet
Implements
Wallet
Index
Constructors
constructor
Properties
id
implementation
Id
label
Methods
clone
create
Identity
create
Transaction
Signature
get
Identities
get
Identity
Label
preview
Identity
printable
Secret
serialize
set
Identity
Label
set
Label
from
Entropy
from
Entropy
With
Curve
from
Mnemonic
from
Mnemonic
With
Curve
Constructors
constructor
new
Secp256k1
HdWallet
(
data
:
WalletSerializationString
)
:
Secp256k1HdWallet
Parameters
data:
WalletSerializationString
Returns
Secp256k1HdWallet
Properties
id
id
:
WalletId
implementation
Id
implementation
Id
:
string
&
As
<
"wallet-implementation-id"
>
= "secp256k1-hd" as WalletImplementationIdString
label
label
:
ValueAndUpdates
<
string
|
undefined
>
Methods
clone
clone
(
)
:
Secp256k1HdWallet
Returns
Secp256k1HdWallet
create
Identity
create
Identity
(
chainId
:
ChainId
, options
:
unknown
)
:
Promise
<
Identity
>
Parameters
chainId:
ChainId
options:
unknown
Returns
Promise
<
Identity
>
create
Transaction
Signature
create
Transaction
Signature
(
identity
:
Identity
, transactionBytes
:
SignableBytes
, prehashType
:
PrehashType
)
:
Promise
<
SignatureBytes
>
Parameters
identity:
Identity
transactionBytes:
SignableBytes
prehashType:
PrehashType
Returns
Promise
<
SignatureBytes
>
get
Identities
get
Identities
(
)
:
keyof Identity[]
Returns
keyof Identity[]
get
Identity
Label
get
Identity
Label
(
identity
:
Identity
)
:
string
|
undefined
Parameters
identity:
Identity
Returns
string
|
undefined
preview
Identity
preview
Identity
(
chainId
:
ChainId
, options
:
unknown
)
:
Promise
<
Identity
>
Parameters
chainId:
ChainId
options:
unknown
Returns
Promise
<
Identity
>
printable
Secret
printable
Secret
(
)
:
string
Returns
string
serialize
serialize
(
)
:
WalletSerializationString
Returns
WalletSerializationString
set
Identity
Label
set
Identity
Label
(
identity
:
Identity
, label
:
string
|
undefined
)
:
void
Parameters
identity:
Identity
label:
string
|
undefined
Returns
void
set
Label
set
Label
(
label
:
string
|
undefined
)
:
void
Parameters
label:
string
|
undefined
Returns
void
Static
from
Entropy
from
Entropy
(
bip39Entropy
:
Uint8Array
)
:
Secp256k1HdWallet
Parameters
bip39Entropy:
Uint8Array
Returns
Secp256k1HdWallet
Static
from
Entropy
With
Curve
from
Entropy
With
Curve
(
curve
:
Slip10Curve
, bip39Entropy
:
Uint8Array
, cls
?:
Slip10WalletConstructor
)
:
Slip10Wallet
Parameters
curve:
Slip10Curve
bip39Entropy:
Uint8Array
Optional
cls:
Slip10WalletConstructor
Returns
Slip10Wallet
Static
from
Mnemonic
from
Mnemonic
(
mnemonicString
:
string
)
:
Secp256k1HdWallet
Parameters
mnemonicString:
string
Returns
Secp256k1HdWallet
Static
from
Mnemonic
With
Curve
from
Mnemonic
With
Curve
(
curve
:
Slip10Curve
, mnemonicString
:
string
, cls
?:
Slip10WalletConstructor
)
:
Slip10Wallet
Parameters
curve:
Slip10Curve
mnemonicString:
string
Default value
cls:
Slip10WalletConstructor
= Slip10Wallet
Returns
Slip10Wallet
Globals
Database
Utils
Ed25519
HdWallet
Ed25519
Wallet
Hd
Paths
Keyring
Keyring
Encryptor
Secp256k1
HdWallet
constructor
id
implementation
Id
label
clone
create
Identity
create
Transaction
Signature
get
Identities
get
Identity
Label
preview
Identity
printable
Secret
serialize
set
Identity
Label
set
Label
from
Entropy
from
Entropy
With
Curve
from
Mnemonic
from
Mnemonic
With
Curve
Slip10
Wallet
Unexpected
Format
Version
Error
User
Profile
Readonly
Wallet
User
Profile
Encryption
Key
User
Profile
Options
Wallet
Wallet
Info
Encrypted
Keyring
Keyring
Serialization
String
Wallet
Deserializer
Wallet
Id
Wallet
Implementation
IdString
Wallet
Serialization
String
prehash
Generated using
TypeDoc