web3j-cli icon indicating copy to clipboard operation
web3j-cli copied to clipboard

Wallet import command not working?

Open AbuTalhaxxx opened this issue 4 years ago • 2 comments

When I do the command - web3j wallet import private-key it fails saying

No TypeConverter registered for java.util.Optional of field java.util.Optional org.web3j.console.wallet.subcommands.WalletImportCommand.privateKey

web3j [OPTIONS] [COMMAND]

can anyone tell me whats wrong here?

AbuTalhaxxx avatar Jul 31 '22 19:07 AbuTalhaxxx

Hello, I am able to replicate this issue and will investigate this further. Will post the update/fix here

AlexandrouR avatar Aug 01 '22 09:08 AlexandrouR

I have the same issue with the latest release 1.4.1 which is getting installed by the web3j-installer repo. But when building the cli myself from master branch it works fine. So this must've been fixed in 4dcf744d34a43c0bff95be409774a95d02588637.

I think there should be a new cli release with all the latest changes. Seems like this would also remove vulnerabilities to log4j...

RomiRand avatar Aug 06 '22 11:08 RomiRand