Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added address function generateDerivedHDPrivKeyWIF #146

Closed
wants to merge 6 commits into from

Commits on Jul 31, 2023

  1. Added hd_privkey_wif tool and dogecoin_hdnode_serialize_privkey_wif

    In tool.c/tool.h/tool_tests.c
      hd_privkey_wif(hd_privkey, out_privkey_wif, inout_size)
      Convert a BIP32 extended private key to WIF format.
    
    In bip32.c/bip32.h/bip32_tests.c
      dogecoin_hdnode_serialize_privkey_wif(node, chain, outstr, strsize)
      Serialize private key from HD node as WIF private key string.
    
    In chainparams.c/chainparams.h
      chain_from_bip32_prefix(bip32extkey)
      Determine chainparams from BIP32 extended private or public key.
    raffecat committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    e4ea326 View commit details
    Browse the repository at this point in the history
  2. Moved hd_privkey_wif to getPrivKeyWIFForHDAddress in address.c

    It makes more sense as an address function, and should be available
    to language wrappers the same as other address functions.
    
    Added documentation in address.md
    raffecat committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    7c00baa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1084408 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Use dogecoin_privkey_encode_wif to encode privkey

    Removed dogecoin_hdnode_serialize_privkey_wif.
    raffecat committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    c46077a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ac7c31 View commit details
    Browse the repository at this point in the history
  3. Removed more stuff.

    raffecat committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    e6e4c94 View commit details
    Browse the repository at this point in the history