joinmarket-clientserver icon indicating copy to clipboard operation
joinmarket-clientserver copied to clipboard

Can't recover wallet from seed or wallet.jmdat

Open UncleElephant2 opened this issue 10 months ago • 2 comments

Since my old install of JM was having connectivity and python version issues I started fresh on new fresh up to date ubuntu and latest JM version fresh as well and latest bitcoin core fully synced with full data.

I tried recovering form seed, but recovered wallet is empty even with "python wallet-tool -g 1000 wallet.jmdat" and "bitcoin-core.cli rescanblockchain"

then tried moving the old wallet.jmdat to the new install, but result was same as above, empty wallet on the new install.

I just double confirmed it indeed does show balance on the old install and when imported in electrum for the specific depth. Also I haven't used custom depths in the old install, so haven't played with recovering those.

Any ideas please?

UncleElephant2 avatar Feb 03 '25 14:02 UncleElephant2

seed recover wallet addresses start with bc1 wallet.jmdat files recovered wallet addresses start with 3

after another rescan (even if it says rescan should be done only if seed recover, not file) it seems to show the balances for the wallet.jmdat recovered ones, still doesn't show anything for the seed recovered one, but since the addresses are different there (bc1 starting) I guess I have done something else wrong there?

UncleElephant2 avatar Feb 03 '25 16:02 UncleElephant2

seed recover wallet addresses start with bc1 wallet.jmdat files recovered wallet addresses start with 3

Native segwit (bc1) or nested segwit (3) is controlled by native setting in ~/.joinmarket/joinmarket.cfg, you should change that.

https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/954dc36e75eecaa873630bf194ee1087c5c657a8/src/jmclient/configure.py#L246-L250

kristapsk avatar Feb 07 '25 16:02 kristapsk