user101483: I am little bit confused or not able to get the right Address Node Public key from Account XPUB.
What I have done :

Get the Account XPUB [78Bytes]

SHA-256

SHA-256 Again

Created Extended XPUB (XPUB + 4 Start Byte of Step 3)

Base 58 ENC

hdnode_deserialize()

Account Node  Change Node

Change Node  Address Node.


But am not able to get the right Public Address.
Please let me know if I have done something wrong.

user100415: To go from account xpub to address, you must first derive an xpub at the External index (0) or Internal index (1), then derive another xpub from the External/Internal xpub. Take the public key from the resulting xpub and this is the public key used for the address.
For a detailed explanation of extended public keys and how to derive child public keys, take a look at the BIP32 documentation. For a not-as-in-depth breakdown of deriving addresses from an extended public key (which is exactly what you're trying to do), I have written this writeup.

101483: <p>I am little bit confused or not able to get the right Address Node Public key from Account XPUB.</p>
<p>What I have done :</p>
<ol>
<li><p>Get the Account XPUB [78Bytes]</p>
</li>
<li><p>SHA-256</p>
</li>
<li><p>SHA-256 Again</p>
</li>
<li><p>Created Extended XPUB (XPUB + 4 Start Byte of Step 3)</p>
</li>
<li><p>Base 58 ENC</p>
</li>
<li><p>hdnode_deserialize()</p>
</li>
<li><p>Account Node  Change Node</p>
</li>
<li><p>Change Node  Address Node.</p>
</li>
</ol>
<p>But am not able to get the right Public Address.</p>
<p>Please let me know if I have done something wrong.</p>
 100415: <p>To go from account xpub to address, you must first derive an xpub at the External index (0) or Internal index (1), then derive another xpub from the External/Internal xpub. Take the public key from the resulting xpub and this is the public key used for the address.</p>
<p>For a detailed explanation of extended public keys and how to derive child public keys, take a look at the <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#public-parent-key--public-child-key" rel="nofollow noreferrer">BIP32 documentation</a>. For a not-as-in-depth breakdown of deriving addresses from an extended public key (which is exactly what you're trying to do), I have written <a href="https://github.com/EAWF/BTC-Toolbox/blob/old-master/Address-Derivation.md" rel="nofollow noreferrer">this writeup</a>.</p>
