uncooked transaction – Spend from a number of P2SH addresses with Bitcoin Core

on

|

views

and

comments


I’ve P2SH pockets keys from block io backup. The keys and the redeem script instance:

BIP32 Public Key:
xpub661MyMwAqRbcGWq****************************************quehCZj42NvVEb2JqxHvqhZRWUmxA6fMsbvBf9HdVvsuJSEpQFCq

BIP32 Personal Key:
xprv9s21ZrQH143K42mUNcqG5iTh5Fr4DQetaDWvKW****************************************c5zaFcSQDJMDN74TErcxmFKTNYGvo

BIP32 Derivation Path: m/i/0

Main Public Key: 0236e9c18411163****************************************ea43e4c048d

Main Personal Key (WIF): KzFw2RvM****************************************hYxV

Main Personal Key (Hex): 5aa7ab****************************************d6bc6d5dbee2a14ef8

Required Signatures: 2

Redeem Script Format: 2 <bip32_public_key_at_node_i> <primary_public_key> 2 OP_CHECKMULTISIG

I wish to import them into Bitcoin Core to spend (from all of the wallets derived on that key).

If it isn’t attainable I would love (if I can) to create a uncooked transaction with a number of inputs derived from my xprv key and likewise utilizing the redeem script

As I perceive if it was not a P2SH pockets I simply may import my BIP32 Personal key, set BIP32 Derivation Path and able to go. However as a result of it is P2SH I want to make use of Redeem script and there’s no such choices in GUI.

======================

I’ve tried to:

  1. Create a brand new (legacy, not Descriptor) pockets in Bitcoin Core; downloaded full blockchain
  2. Add a number of wallets utilizing console and a few Python magic (modified bip32 public key on the derivation path)
"addmultisigaddress ___bip 32 public key from xprv on bip32 derivation path 0, 1, 2, 3.. 100 etc___ ___primary public key from backup__  __label__ p2sh-segwit"

Nonetheless not with the ability to spend Bitcoins I googled and located that perhaps I want so as to add additionally these addresses with “importaddress” and sync on the finish

  1. So each handle that I’ve beforehand added with “addmultisigaddress” I’ve additionally added as “importaddress” and did sync ultimately.
"importaddress 3*********************************"

Now I used to be in a position to watch my balances however nonetheless cannot spend

======================

What can I do now?

Share this
Tags

Must-read

Waymo raises $16bn to gas international robotaxi enlargement | Know-how

Self-driving automobile firm Waymo on Monday stated it raised $16bn in a funding spherical that valued the Alphabet subsidiary at $126bn.Waymo co-chief executives...

Self-driving taxis are coming to London – ought to we be anxious? | Jack Stilgoe

At the top of the nineteenth century, the world’s main cities had an issue. The streets had been flooded with manure, the unintended...

US regulators open inquiry into Waymo self-driving automobile that struck youngster in California | Expertise

The US’s federal transportation regulator stated Thursday it had opened an investigation after a Waymo self-driving car struck a toddler close to an...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here