addAccountDerivation

open fun addAccountDerivation(address: String, coin: CoinType, derivation: Derivation, derivationPath: String, publicKey: String, extendedPublicKey: String)

Adds a new account, using given derivation (usually TWDerivationDefault) and derivation path (usually matches path from derivation, but custom possible).

Parameters

key

Non-null pointer to a stored key

address

Non-null pointer to the address of the coin for this account

coin

coin type

derivation

derivation of the given coin type

derivationPath

HD bip44 derivation path of the given coin

publicKey

Non-null public key of the given coin/address

extendedPublicKey

Non-null extended public key of the given coin/address