<p>You need to pass <code>DeterministicHierarchy.BIP32_STANDARDISATION_TIME_SECS</code> if you want to use it as a normal BIP 32 wallet. The <a href="https://stackoverflow.com/a/58048256">sample code</a> that you have should do the rest.</p>

CC BY-SA 4.0
2021-01-11T23:20:50.817Z
I tried the method described on the link, but got the wallet with 0 balance.(send some btc to the wallet in desktop client for test). Thought that it's related to BIP32 hierarchy used by bitcoinj (desktop wallet has BIP44). Tried to create wallet with BIP44 following the example given [here](https://bitcoin.stackexchange.com/questions/69928/how-can-i-switch-from-bip32-to-bip44-using-bitcoinj) but that changed nothing
Innokentiy
CC BY-SA 4.0
2021-01-09T17:37:10.483Z
2021-01-09T17:37:10.483Z
MCCCS
<p>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.</p>
<p>I exported the wallet from desktop client which looks like
<a href="https://i.sstatic.net/nd5Xa.png" rel="nofollow noreferrer">this</a>.
After decrypting it with <a href="https://bitwiseshiftleft.github.io/sjcl/demo/" rel="nofollow noreferrer">https://bitwiseshiftleft.github.io/sjcl/demo/</a>, I got <a href="https://i.sstatic.net/DT4Hs.png" rel="nofollow noreferrer">this</a>.</p>
<p>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).</p>
<p>So basically I need any options to transform this exported data into working BitcoinJ wallet.
Any help or advices would be gratelly appreciated!</p>

<bitcoinj><java>
Is there a way to import bitcoin wallet into BitcoinJ?
Innokentiy
# Is there a way to import bitcoin wallet into BitcoinJ?

(Asked by: username_0 on 2021-01-09)

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](https://i.sstatic.net/nd5Xa.png).
After decrypting it with <https://bitwiseshiftleft.github.io/sjcl/demo/>, I got [this](https://i.sstatic.net/DT4Hs.png).

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!

**Tags:** bitcoinj, java


---

## 1 answers

### Answer by username_1 on 2021-01-09. Score: 1

You need to pass `DeterministicHierarchy.BIP32_STANDARDISATION_TIME_SECS` if you want to use it as a normal BIP 32 wallet. The [sample code](https://stackoverflow.com/a/58048256) that you have should do the rest.

> **Comments:**
> **username_0**: I tried the method described on the link, but got the wallet with 0 balance.(send some btc to the wallet in desktop client for test). Thought that it's related to BIP32 hierarchy used by bitcoinj (desktop wallet has BIP44). Tried to create wallet with BIP44 following the example given [here](https://bitcoin.stackexchange.com/questions/69928/how-can-i-switch-from-bip32-to-bip44-using-bitcoinj) but that changed nothing  

---

