fromPrivateKey

fun fromPrivateKey(privateKeyHex: String, isGM: Boolean = true, password: String): Wallet

从 私钥 恢复钱包

Return

钱包

Parameters

privateKeyHex

私钥(hex字符串)

isGM

sm2p256v1 or secp256k1

password

FileKey 密码