Bitcoin Forum
June 17, 2024, 02:11:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain.info BIP32 (xpub)  (Read 1831 times)
CODERsp (OP)
Full Member
***
Offline Offline

Activity: 185
Merit: 100


View Profile WWW
November 29, 2015, 02:08:38 PM
 #1

Hi! I'm trying to use BIP32 & https://blockchain.info/xpub/....., but have no luck. I've used Bitwasp PHP Library and https://bip32jp.github.io/english/ & http://bip32.org/ to verify addresses. So, the task is to use unique addresses & posibility for users to view all incoming transactions to all addresses. I've created random master key and generated prime key, one time it was BIP44 key (m/44'/0'/0'/0) and another time it was BIP32 sample key (m/0'/0). Using these keys I'm creating child keys&addresses from prime key with derivations 0,1,2,etc... I'm sending BTC to them, but nothing happens on https://blockchain.info/xpub/....., and I hope to see my transaction. Please, help me, I can't solve this problem several days.

I.E:

https://blockchain.info/xpub/xpub6AoynT2YixgjHK2yNTDPJGmbFaNfiKTVNb4zVygVmSfhWktotj8woL2nT7FALSFEhggNemiy5KEGWxRpNYtsHVVvWCC99WuhzvAvZTJD1SH

This extended public key was generated from prime key with derivation 0'/0

https://blockchain.info/address/1CdzzqmF2YkRWCZhirUAvBmgsjhT5PeC4X

This key is child from previous extended key. It's derivation 0'/0/0.

I tried to do the same using BIP44 derivation path's.

P.S. As I understand, third-party services can look only for non-prime defs (m/i), because it gets public key only.

https://www.goocha.in/s?s=xpub6AoynT2YixgjHK2yNTDPJGmbFaNfiKTVNb4zVygVmSfhWktotj8woL2nT7FALSFEhggNemiy5KEGWxRpNYtsHVVvWCC99WuhzvAvZTJD1SH&extserv=blocktrail&dstart=0&dstop=0&min=&max=

And this service shows my TX, but I want to use exactly blockchain.info, because it has more trust.

Thanks.
CODERsp (OP)
Full Member
***
Offline Offline

Activity: 185
Merit: 100


View Profile WWW
November 30, 2015, 01:55:31 PM
 #2

I found the solution (if somebody will search). You need to use BIP44 derivation path: m/44'/0'/0' and child keys with def 0/0, 0/1, etc. instead of m/44'/0'/0'/0 & 0,1,2,etc.
HeadsOrTails
Full Member
***
Offline Offline

Activity: 233
Merit: 100



View Profile
December 07, 2015, 07:47:17 AM
 #3

I found the solution (if somebody will search). You need to use BIP44 derivation path: m/44'/0'/0' and child keys with def 0/0, 0/1, etc. instead of m/44'/0'/0'/0 & 0,1,2,etc.

I'm 99% certain you can use:

Code:
m/44'/0'/0'/0/0, m/44'/0'/0'/0/1 etc
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!