| 
									
										
										
										
											2018-10-19 13:53:51 +01:00
										 |  |  | --- | 
					
						
							| 
									
										
										
										
											2018-10-12 04:30:38 +05:30
										 |  |  | title: Smart Contracts | 
					
						
							|  |  |  | --- | 
					
						
							|  |  |  | ## Smart Contracts
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Transactions in a blockchain are a very basic contract - One party sends resources to another. | 
					
						
							| 
									
										
										
										
											2018-10-19 13:53:51 +01:00
										 |  |  | In the Ethereum blockchain, transactions can support any kind of logic. They have the expressive | 
					
						
							| 
									
										
										
										
											2018-10-12 04:30:38 +05:30
										 |  |  | power of a Turing-Complete machine - meaning they can be steps for a task that a computer can do. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | As a piece of code that sits on the blockchain, a smart contract can automate tasks. | 
					
						
							|  |  |  | When an account receives money it can automatically distribute it to others. | 
					
						
							|  |  |  | This is entirely transparent so all the nodes(miners) can see what logic is being executed. | 
					
						
							| 
									
										
										
										
											2018-10-14 02:38:38 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Blockchain Technologies
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Two of the most common technologies used are : | 
					
						
							| 
									
										
										
										
											2018-10-25 09:16:49 -04:00
										 |  |  | - Ethereum: generally made with Solidity | 
					
						
							|  |  |  | - Hyperledger: generally made with Go, or Java | 
					
						
							| 
									
										
										
										
											2018-10-14 02:38:38 +05:30
										 |  |  | 
 |