How do I generate master key from the root seed

This page summarizes the projects mentioned and recommended in the original post on /r/Bitcoin

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • bips

    Bitcoin Improvement Proposals

  • 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

  • bip39

    A web tool for converting BIP39 mnemonic codes

  • 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

  • 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.

    SurveyJS logo
  • python-mnemonic

    :snake: Mnemonic code for generating deterministic keys, BIP39

  • Checkout the bip https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki and this code https://github.com/trezor/python-mnemonic

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts