Is there a way to import bitcoin wallet into BitcoinJ? I tried to create bitcoin wallet that could be available as from BitcoinJ as from standart desktop wallet client (Bitcoin.com client e.g.) but it seems that I don't get something important.
I exported the wallet from desktop client which looks like
this.
After decrypting it with https://bitwiseshiftleft.github.io/sjcl/demo/, I got this.
The problem is the Wallet.class methods to import wallets are all eventually have seed creation time as a parameter, which is not stated in exported version of the wallet (setting it randomly doesn't help).
So basically I need any options to transform this exported data into working BitcoinJ wallet.
Any help or advices would be gratelly appreciated!
You need to pass DeterministicHierarchy.BIP32_STANDARDISATION_TIME_SECS if you want to use it as a normal BIP 32 wallet. The sample code that you have should do the rest.