0

I would like to sign a transaction from a wallet which is derived from a seed, and sign it with master seed private key, can I sign any tx of any derived wallet address after the master seed wallet?

thanks a lot.

andrew007
  • 21
  • 1
  • 4

1 Answers1

0

The master private key is derived from the seed and all child private keys are derived from the master private key. Knowledge of the child private keys lets you sign transaction spending coins sent to the corresponding addresses. So yes if you have the master private key you can derive the child private keys and use those to sign any transactions related to that wallet.

Abdussamad
  • 2,699
  • 12
  • 19
  • ok, thanks for the response, I have a 12 word seed phrase, but I don't know how to do it using javascript there any any guide that you can share me, thanks a lot :) – andrew007 May 23 '20 at 16:07
  • what I meant was I have 12 word seed phrase, and it will generate a master private key, and I want to have another derived wallet using the same seed, then with with the second wallet send a tx no signed with its own derived private key instead I will sign it using master private key can I do that? if so there any guide or link for explaining using any programming language. thanks a lot – andrew007 May 23 '20 at 16:17
  • @andrew007 master private key can't be used to sign transactions. also do learn the difference between a wallet and an address. a wallet contains many addresses. bitcoins are sent to addresses and spending transactions are signed with child private keys corresponding to those addresses. – Abdussamad May 24 '20 at 11:18