how to import ethereum wallet by just using private key in android? #1390
Closed
yadavbipin
started this conversation in
General
Replies: 1 comment
-
Credentials instance can be created using factory method:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In web3j methods are been provided to import a wallet using Keystore JSON file or mnemonic but when I try to import my wallet using mnemonic seed different address is generated and the methods provided are
The WalletUtils class can be used to load your credentials from various formats:
WalletUtils.loadCredentials(String password,String source)
WalletUtils.loadBip39Credentials(String password,String mnemonic)
WalletUtils.loadBip39Credentials(String password,String mnemonic)
WalletUtils.loadJsonCredentials(String password,String content)
which are for importing from Keystore JSON file or mnemonic what if I want to import my wallet just by using private key?
Beta Was this translation helpful? Give feedback.
All reactions