getKeyByCurve

open fun getKeyByCurve(curve: Curve, derivationPath: String): PrivateKey

Generates the private key for the specified derivation path and curve.

Return

The private key for the specified derivation path/curve

Parameters

wallet

non-null TWHDWallet

curve

a curve

derivationPath

a non-null derivation path