kin-android

kin-android / kin.sdk / KinClient / importAccount

importAccount

fun importAccount(exportedJson: String, passphrase: String): KinAccount

Import an account from a JSON-formatted string.

Parameters

exportedJson - The exported JSON-formatted string.

passphrase - The passphrase to decrypt the secret key.

Return The imported account