freeCodeCamp/guide/english/blockchain/smart-contracts/index.md

21 lines
762 B
Markdown
Raw Normal View History

2018-10-19 12:53:51 +00:00
---
title: Smart Contracts
---
## Smart Contracts
Transactions in a blockchain are a very basic contract - One party sends resources to another.
2018-10-19 12:53:51 +00:00
In the Ethereum blockchain, transactions can support any kind of logic. They have the expressive
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.
## Blockchain Technologies
Two of the most common technologies used are :
- Ethereum: generally made with Solidity
- Hyperledger: generally made with Go, or Java