Bitcoinjs-lib: What format is node variable storing data in ?

Created on 7 Apr 2018  路  4Comments  路  Source: bitcoinjs/bitcoinjs-lib

Ref:https://github.com/bitcoinjs/bitcoinjs-lib/blob/058fa24e094ce98e6709689210d6c344a16399e3/test/integration/bip32.js#L18

I'm trying to log the contents of the node variable but when I do so in its raw format, I'm unable to make much sense out of it.

typeof(node) returns object

What's a good resource to read and understand more about HDnodes ?

how to / question / docs

All 4 comments

String converts it to base58 and it's much more comprehensible

but still what would be a good resource to understand HDnodes ?

https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/hdnode.js

Basically the object contains all info needed to generate child keys from the current node.

HDNodes are an implementation of BIP32
https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki

@prahaladbelavadi Let us know if you have any further questions.

Thanks @dabura667
I'm going through the links and I feel there is still a lot I don't understand about BIP32's wallet structure regarding extended keys, child key derivation and so much more.
It'll probably take me some time before I understand it.
Thanks for the support @junderw @dabura667
I certainly will :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tuyennvtb picture tuyennvtb  路  3Comments

ishwarchandratiwari picture ishwarchandratiwari  路  3Comments

yakitorifoodie picture yakitorifoodie  路  3Comments

panpan2 picture panpan2  路  3Comments

Mr-Mondragon picture Mr-Mondragon  路  3Comments