i am using this to drive addresses along with wallet path int i = 0; while (i < 1000) { System.out.println(wallet.freshReceiveKey()); System.out.println(wallet.freshReceiveAddress()); i++; } //Output
DeterministicKey{pub= 0366b8dbd08729c30e89b7ded964340cef1fdc242c87b78f263368fa49370c5fc3, chainCode=daec01ad1433036495c481e59d454c426889535b918931d33146527259a75fa9, path=M/0H/0/0, isEncrypted=false, isPubKeyOnly=false} mwKwy5bW2wsgnbMAVffnAjY3b6MkZRHSDq //and so on //after running this loop 2 or 3 times it start printing only odd or even number of wallet path like this DeterministicKey{pub= 0366b8dbd08729c30e89b7ded964340cef1fdc242c87b78f263368fa49370c5fc3, chainCode=daec01ad1433036495c481e59d454c426889535b918931d33146527259a75fa9, path=M/0H/0/0, isEncrypted=false, isPubKeyOnly=false} mwKwy5bW2wsgnbMAVffnAjY3b6MkZRHSDq DeterministicKey{pub= 023308963dff0ab887a401a57d48be1330da4017d27e0b442380195f5cd4e8a412, chainCode=8b414a715c0fb792f50ba22fcbd1285e4a5ade41609c72663dfe6bdfe6664e1a, path=M/0H/0/2, isEncrypted=false, isPubKeyOnly=false} mjM8Fx6gntMUGULTrQGMXZDoreBvv7q4Ge DeterministicKey{pub= 02750837c37eaebf071152376e24efe8c09f00b595026b052e9627db4bdbfcb0a3, chainCode=0b888586c9bde0a2a753ba0795fb1b8b73241cc331e4d04c7da3faf92afda315, path=M/0H/0/4, isEncrypted=false, isPubKeyOnly=false} mzbMquG2ksco6YNpat83ugg2ChSefuTA3t DeterministicKey{pub= 0261be11f3a024b57d2dc1c37867487485f3369c836e2409aeaaab8f8669ea95aa, chainCode=bfad423c4fa8e0401a69c3fae835f941260d16454c75860298e7d28abb25d69f, path=M/0H/0/6, isEncrypted=false, isPubKeyOnly=false} mkD1sJxQx2JSB12mwo71njArASLmYXBGfp why is this happening ? also my wallet is offline can't link with blockchian Another question is @Jose Luis Estevez when i run your code snippet i can only drive addresses upto 125 why ? and also why the path address is differ like moL4SbJFQnRBwtabB3GDdB73BZmWM3cPFD M/0H/0/10 // this is the address of path that i am printing using your code // and DeterministicKey{pub= 0366b8dbd08729c30e89b7ded964340cef1fdc242c87b78f263368fa49370c5fc3, chainCode=daec01ad1433036495c481e59d454c426889535b918931d33146527259a75fa9,* path=M/0H/0/0*, isEncrypted=false, isPubKeyOnly=false} *mwKwy5bW2wsgnbMAVffnAjY3b6MkZRHSDq* //this is the address that i am printing using above code snippet why the both addresses are different while the path of both are same ? -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.