mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-10-31 10:27:29 +00:00 
			
		
		
		
	Update and rename X_X_Multisigs to 6_1_Sending_a_Transaction_to_a_Multisig.md
This commit is contained in:
		
							parent
							
								
									99c5b72039
								
							
						
					
					
						commit
						a95711cb6e
					
				| @ -1,5 +1,18 @@ | |||||||
|  | # 6.1: Sending a Transaction with a Multisig | ||||||
|  | 
 | ||||||
|  | > **NOTE:** This is a draft in progress, so that I can get some feedback from early reviewers. It is not yet ready for learning. | ||||||
|  | 
 | ||||||
|  | The first way to vary how you send a basic transaction is to use a multisig. This gives you the ability to require that multiple people (or at least multiple private keys) authorize the use of funds. | ||||||
|  | 
 | ||||||
|  | ## Understand How Multisigs Work | ||||||
|  | 
 | ||||||
|  | [m of n] | ||||||
|  | 
 | ||||||
|  | ## Create a Multisig Address | ||||||
|  | 
 | ||||||
| EXAMPLES FOR LATER: | EXAMPLES FOR LATER: | ||||||
| 
 | 
 | ||||||
|  | ``` | ||||||
| bitcoin-cli -named createmultisig nrequired=2 keys='''["'$address1'","'$address2'","'$address3'"]''' | bitcoin-cli -named createmultisig nrequired=2 keys='''["'$address1'","'$address2'","'$address3'"]''' | ||||||
| { | { | ||||||
|   "address": "2MuuAVa8xVRq6GbirCQHsYR9wvVNtWooEz7", |   "address": "2MuuAVa8xVRq6GbirCQHsYR9wvVNtWooEz7", | ||||||
| @ -15,3 +28,14 @@ $ bitcoin-cli -named createmultisig nrequired=1 keys='''["'$address1'","'$addres | |||||||
|   "address": "2MyKi9zjfdJVy7UpS4GUD2od4PhHQNaFPMV", |   "address": "2MyKi9zjfdJVy7UpS4GUD2od4PhHQNaFPMV", | ||||||
|   "redeemScript": "51210215a369d12f462ad9e909356afad1dc6b8002cf4b59c9609114d0a86654d6bc642102f367a7cdaa87301ca8c68bd33797e11cc0edccf1bc9e6306171d16bb843c4beb21025a21ac5b7616c777c70a0b615255139dc43b700201a576acb34ec43c25b87fde53ae" |   "redeemScript": "51210215a369d12f462ad9e909356afad1dc6b8002cf4b59c9609114d0a86654d6bc642102f367a7cdaa87301ca8c68bd33797e11cc0edccf1bc9e6306171d16bb843c4beb21025a21ac5b7616c777c70a0b615255139dc43b700201a576acb34ec43c25b87fde53ae" | ||||||
| } | } | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | ## Record a Multisig Address | ||||||
|  | 
 | ||||||
|  | ## Send to a Multisig Address | ||||||
|  | 
 | ||||||
|  | ## Spend Funds Sent to a Multisig Address | ||||||
|  | 
 | ||||||
|  | ## Summary: Sending a Transaction to a Locktime | ||||||
|  | 
 | ||||||
|  | _What is the power of multisignatures?_ | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user