0

i am working on a wallet that is using BIP32 for creating Accounts, addresses, xpub, public keys, transaction and etc. but now i want to switch from BIP32 to BIP 44. how can i do this using bitcoinj i also study this, but there is nothing related to implementation. All i need to know that how can i implement BIP44 using bitcoinj and what is specific changes i have to do.Do i have to change all the hierarchy, if yes, then how can do this

bumped to the homepage by Community yesterday

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

0

Checkout bitcoinj master branch

Discussion https://github.com/bitcoinj/bitcoinj/pull/1341

    Wallet walletBip39 = Wallet.fromSeed(params, seed);
    System.out.println(walletBip39);

    Wallet walletBip44 = Wallet.fromSeed(params, seed, ImmutableList.of(new ChildNumber(44, true), new ChildNumber(0, true), ChildNumber.ZERO_HARDENED, ChildNumber.ZERO));
    System.out.println(walletBip44);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.