bitcoinj – Change derive path


I’ve used bitcoinj pockets and used derive path as under.

public static closing ImmutableList<ChildNumber> ACCOUNT_ZERO_PATH = ImmutableList.of(ChildNumber.ZERO_HARDENED);

However I made modifications in above path for producing bip44 normal addresses.

public static closing ImmutableList<ChildNumber> BIP44_ACCOUNT_ZERO_PATH =ImmutableList.of(new ChildNumber(44, true), new ChildNumber(1, true), new ChildNumber(0, true));

Now As I load pockets in software then it masses from backup and app crashes as a result of it took outdated derive path and I already modified it.

So it will not discover outdated derive path and app crashes.

How can I alter derive path?

Please assist.


Supply hyperlink

Leave a reply