HD
public struct HD
A struct used to provide a number of functions needed to handle derivation paths and derive nodes for creating HD key pairs
-
Default Tezos derivation path
Declaration
Swift
public static let defaultDerivationPath: String
-
Default Tezos derivation path with supplied index
Declaration
Swift
public static func defaultDerivationPath(withAccountIndex index: Int) -> String
-
Errors that can be thrown
See moreDeclaration
Swift
public enum HDError : Error
-
A struct representing a Node in a HD chain
Declaration
Swift
public struct Node
-
Compute a HMAC using SHA512
Declaration
Swift
public static func hmac(message: Data, key: Data) -> Data
-
Convert a derivation path into an array of
BigUInt
so it can be interatedDeclaration
Swift
public static func convertDerivationPathToArray(_ derivationPath: String) throws -> [BigUInt]
-
Very basic validation of a derivation path
Declaration
Swift
public static func validateDerivationPath(_ derivationPath: String) -> Bool