public class Bip44WalletUtils extends WalletUtils
Constructor and Description |
---|
Bip44WalletUtils() |
Modifier and Type | Method and Description |
---|---|
static org.web3j.crypto.Bip32ECKeyPair |
generateBip44KeyPair(org.web3j.crypto.Bip32ECKeyPair master) |
static org.web3j.crypto.Bip32ECKeyPair |
generateBip44KeyPair(org.web3j.crypto.Bip32ECKeyPair master,
boolean testNet) |
static org.web3j.crypto.Bip39Wallet |
generateBip44Wallet(java.lang.String password,
java.io.File destinationDirectory)
Generates a BIP-44 compatible Ethereum wallet on top of BIP-39 generated seed.
|
static org.web3j.crypto.Bip39Wallet |
generateBip44Wallet(java.lang.String password,
java.io.File destinationDirectory,
boolean testNet)
Generates a BIP-44 compatible Ethereum wallet on top of BIP-39 generated seed.
|
static org.web3j.crypto.Credentials |
loadBip44Credentials(java.lang.String password,
java.lang.String mnemonic) |
static org.web3j.crypto.Credentials |
loadBip44Credentials(java.lang.String password,
java.lang.String mnemonic,
boolean testNet) |
generateBip39Wallet, generateBip39WalletFromMnemonic, generateFullNewWalletFile, generateLightNewWalletFile, generateNewWalletFile, generateNewWalletFile, generateWalletFile, getDefaultKeyDirectory, getMainnetKeyDirectory, getRinkebyKeyDirectory, getTestnetKeyDirectory, isValidAddress, isValidAddress, isValidPrivateKey, loadBip39Credentials, loadCredentials, loadCredentials, loadJsonCredentials
public static org.web3j.crypto.Bip39Wallet generateBip44Wallet(java.lang.String password, java.io.File destinationDirectory) throws org.web3j.crypto.CipherException, java.io.IOException
password
- Will be used for both wallet encryption and passphrase for BIP-39 seeddestinationDirectory
- The directory containing the walletCipherException
- if the underlying cipher is not availablejava.io.IOException
- if the destination cannot be written topublic static org.web3j.crypto.Bip39Wallet generateBip44Wallet(java.lang.String password, java.io.File destinationDirectory, boolean testNet) throws org.web3j.crypto.CipherException, java.io.IOException
password
- Will be used for both wallet encryption and passphrase for BIP-39 seeddestinationDirectory
- The directory containing the wallettestNet
- should use the testNet derive pathCipherException
- if the underlying cipher is not availablejava.io.IOException
- if the destination cannot be written topublic static org.web3j.crypto.Bip32ECKeyPair generateBip44KeyPair(org.web3j.crypto.Bip32ECKeyPair master)
public static org.web3j.crypto.Bip32ECKeyPair generateBip44KeyPair(org.web3j.crypto.Bip32ECKeyPair master, boolean testNet)
public static org.web3j.crypto.Credentials loadBip44Credentials(java.lang.String password, java.lang.String mnemonic)
public static org.web3j.crypto.Credentials loadBip44Credentials(java.lang.String password, java.lang.String mnemonic, boolean testNet)