Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
The seed created by HMAC hashing the recovery mnemonic is the output of BIP39 and the input to BIP32 https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki
I created a mnemonics and it is hashed using pbdkf2 function and I got a root seed. So this root seed should be hashed again with HMAC-SHA512 to get the master key (Master private key and chain code). So for a HMAC-SAH512 we need a key and data, so in this case what should be the key? Data should be the root seed and what should I give as key in hmac function. I gave "Bitcoin Seed" as key and generated a hash, but it is not matching the output showed in https://iancoleman.io/bip39/ website
Checkout the bip https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki and this code https://github.com/trezor/python-mnemonic