Class HdKey
- Namespace
- Aptos
- Assembly
- Aptos.dll
public static class HdKey
- Inheritance
-
HdKey
- Inherited Members
-
Fields
APTOS_BIP44_REGEX
public const string APTOS_BIP44_REGEX = "^m\\/44'\\/637'\\/[0-9]+'\\/[0-9]+\\/[0-9]+$"
Field Value
- string
APTOS_HARDENED_REGEX
public const string APTOS_HARDENED_REGEX = "^m\\/44'\\/637'\\/[0-9]+'\\/[0-9]+'\\/[0-9]+'?$"
Field Value
- string
Methods
CKDPriv(DerivedKeys, uint)
public static HdKey.DerivedKeys CKDPriv(HdKey.DerivedKeys parent, uint index)
Parameters
parent
HdKey.DerivedKeys
index
uint
Returns
- HdKey.DerivedKeys
DeriveKey(byte[], byte[])
public static HdKey.DerivedKeys DeriveKey(byte[] hashSeed, byte[] data)
Parameters
hashSeed
byte[]
data
byte[]
Returns
- HdKey.DerivedKeys
DeriveKey(string, byte[])
public static HdKey.DerivedKeys DeriveKey(string hashSeed, byte[] data)
Parameters
hashSeed
string
data
byte[]
Returns
- HdKey.DerivedKeys
DeriveKey(string, string)
public static HdKey.DerivedKeys DeriveKey(string hashSeed, string data)
Parameters
hashSeed
string
data
string
Returns
- HdKey.DerivedKeys
IsValidBip44Path(string)
public static bool IsValidBip44Path(string path)
Parameters
path
string
Returns
- bool
IsValidHardenedPath(string)
public static bool IsValidHardenedPath(string path)
Parameters
path
string
Returns
- bool
MnemonicToSeed(string)
public static byte[] MnemonicToSeed(string mnemonic)
Parameters
mnemonic
string
Returns
- byte[]
RemoveApostrophes(string)
public static string RemoveApostrophes(string val)
Parameters
val
string
Returns
- string
SplitPath(string)
public static string[] SplitPath(string path)
Parameters
path
string
Returns
- string[]