Hi,

Thanks for reply.
I got mnemonicCode by below:

        kit.wallet().decrypt(-------key------);
        DeterministicSeed seed = kit.wallet().getKeyChainSeed();
        LOGGER.info("PayConfig_backupWalletToMnemonicSeed: Seed=" + 
seed.toString());

        LOGGER.info("PayConfig_backupWalletToMnemonicSeed: Creation time= " 
+ seed.getCreationTimeSeconds());
        LOGGER.info("PayConfig_backupWalletToMnemonicSeed: mnemonicCode= " 
+ Joiner.on(" ").join(seed.getMnemonicCode()));
kit.wallet().encrypt("------key-----");

mnemonicCode is plain collection of words like "yard impulse luxury drive 
today throw farm pepper survey wreck glass federal"

Q1. How to keep this secure ? keep mnemonicCode in encrypted form ?
Q2. I tried to run RestoreFromSeed which given in sample examples. It is 
running from last 4-5 hours. How much time required to restore wallet ?





On Thursday, 13 July 2017 19:55:38 UTC+5:30, Anton wrote:
>
> you can call `wallet.getKeyChainSeed` while it's decrypted and then 
> something like `TextUtils.join("\u0020", seed.getMnemonicCode)` to get a 
> readable mnemonic.
>

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to