I recently fell victim to an inferno contract that took a significant amount of my ERC-20 coins. I realize that this is a Bitcoin site, but a white hat hacker approached and offered to help, and told me that I am able to recover my funds, but I first needed to create a signature transaction by sending 0 ETH to myself but placing my BTC derived BIP32 root key that was converted into the hexidecimal form into the hex data portion of the Metamask transaction.

I first responded that I did not see how I could recover the funds, and secondly, if I place the converted root key in the data field, anyone could view the Tx, convert it back, and steal my private keys. He then said that this is not possible anymore due to the way elliptic curve keys are now, and directed me to this taproot link: https://cronokirby.com/posts/2021/08/taproot-and-bip32/. This is all way above my head and if anyone is able to provide some information, I would greatly appreciate it. Is giving out your BIP32 irrelevant now like he said and is there such thing as creating a signature transaction? I know that my tokens likely cannot be recovered, but of course, there is always a small hope that something may be able to be done.

Thank you.

  • 4
    Never, under any circumstances, give anyone else a private key of yours. In many cases the root private key can be computed back from the derived key. This is almost certainly a scam. Citing BIP32 itself: "One weakness that may not be immediately obvious, is that knowledge of a parent extended public key plus any non-hardened private key descending from it is equivalent to knowing the parent extended private key (and thus every private and public key descending from it)." Nov 20, 2023 at 21:24
  • Thank you so much Pieter for the quick response. You confirmed my suspicions and will definitely keep from giving the root key out. But this shows how much I need to learn besides just buying BTC. Sorry, can I ask is the non-hardened private key the regular private key, and is the parent extended private key the BIP root key?
    – rnaka
    Nov 20, 2023 at 21:39
  • That really depends on the context. The root key is the root from which all other keys are derived, directly on indirectly (there is a hierarchy). Derivations can be hardened or non-hardened; which one is used depends on the standard/wallet/software/setting. Nov 20, 2023 at 22:05
  • I see, thank you so much Pieter. Sorry, if I could ask I more question as I was trying to learn more about the signatures. He mentioned that I needed to create a transaction to myself. Is this even closely how it is performed? It just does not make sense to me.
    – rnaka
    Nov 20, 2023 at 22:27
  • I know nothing about ERC-20 or Ethereum Nov 21, 2023 at 3:17