this.publishProgress(""); walletApplication.setEmptyWallet(); wallet = new Wallet(seedWords, seedPassword); KeyParameter aesKey = null; if (password != null && !password.isEmpty()) {
@Before public void setup() throws IOException, MnemonicException { BriefLogFormatter.init(); wallet = new Wallet(MNEMONIC); ImmutableList<CoinType> typesToCreate = ImmutableList.of(BitcoinMain.get(), LitecoinMain.get(), DogecoinMain.get()); wallet.createAccounts(typesToCreate, true, aesKey); }
KeyUtils.getDeterministicKey(walletProto.getMasterKey(), null, crypter); Wallet wallet = new Wallet(masterKey, seed);
@Before public void setup() throws MnemonicException, UnreadableWalletException { DeterministicSeed seed = new DeterministicSeed(recoveryPhrase, null, "", 0); DeterministicKey masterKey = HDKeyDerivation.createMasterPrivateKey(seed.getSeedBytes()); hierarchy = new DeterministicHierarchy(masterKey); wallet = new Wallet(recoveryPhrase); nxtAccount = (NxtFamilyWallet)wallet.createAccount(NXT, null); otherAccount = new NxtFamilyWallet(hierarchy.get(NXT.getBip44Path(1), false, true), NXT); }