If the provided WIF is encrypted, then we won't get account name from readAccountInfo.
NewAccountFromPrivateKey()
wallet convert
wallet sign