Ethereum is an open software platform based on blockchain technology that enables developers to
build and deploy decentralized applications.
Ethereum is a distributed public blockchain network.
While the Bitcoin blockchain is used to track ownership of digital currency (bitcoins), the Ethereum
blockchain focuses on running the programming code of any decentralized application.
Ether is a cryptocurrency whose blockchain is generated by the Ethereum platform. Ether can be
transferred between accounts and used to compensate participant mining nodes for computations
performed.
3. Ethereum Introduction
3
Ethereum is an open software platform based on blockchain technology that enables developers to
build and deploy decentralized applications.
Ethereum is a distributed public blockchain network.
While the Bitcoin blockchain is used to track ownership of digital currency (bitcoins), the Ethereum
blockchain focuses on running the programming code of any decentralized application.
Ether is a cryptocurrency whose blockchain is generated by the Ethereum platform. Ether can be
transferred between accounts and used to compensate participant mining nodes for computations
performed.
4. History
4
Ethereum was proposed in late 2013 by Vitalik
Buterin, a cryptocurrency researcher and
programmer.
Development was funded by an online
crowdsale that took place between July and
August 2014.
The system went live on 30 July 2015, with 11.9
million coins "premined" for the crowdsale.
This accounts for about 13 percent of the total
circulating supply.
6. Geth & Ethereum Command Line
6
● It is implemented in Go language.
● By installing and running geth, you can take part in the ethereum frontier
network.
● Mine Ether
● Transfer fund between different addresses.
● Create smart contract and deploy it.
● Explore entire block history.
● And much more.
7. Geth Commands
● Use geth command to open console.
● geth --datadir [folder_name] --ethash.dagdir [dag_dir] init
[genesis_location]
● By default it runs on 8545 port, but you can change it by using --rpcport
[port_number].
9. What Geth can do?
● Create a node
● Create an Account
● Check Account Balance
● Unlock Account
● Start Mining (earn ether)
● Create more accounts
● Transfer funds between them
● Create more nodes
● Add Peers
● Attach More Console
● Contract Creation
● Deploy Contract
● Interact with Contract
10.
11. ● Smart Contract is just a phrase used to describe computer code that can facilitate the exchange
of money, content, property, shares, or anything of value.
● When running on the blockchain a smart contract becomes like a self-operating computer
program that automatically executes when specific conditions are met.
● Because smart contracts run on the blockchain, they run exactly as programmed without any
possibility of censorship, downtime, fraud or third party interference
11
Smart Contracts
12. ● Solidity is a contract-oriented, high-level language for implementing smart
contracts.
● It was influenced by C++, Python and JavaScript and is designed to target
the Ethereum Virtual Machine (EVM).
● Solidity is statically typed, supports inheritance, libraries and complex
user-defined types among other features.
12
Solidity
13. pragma solidity ^0.4.0;
contract Counter {
int private count = 0;
function incrementCounter() public {
count += 1;
}
function decrementCounter() public {
count -= 1;
}
function getCount() public constant returns (int) {
return count;
}
}
13
Smart Contracts Sample
14.
15. ● A DApp has its backend code running on decentralized peer-to-peer
network.
● A DApp can have frontend code and user interfaces written in any
language (like any other app) that can makes call to its backend.
● Frontend(HTML+CSS+JS) Web page + Backend(Solidity Smart Contract)
Programing Code + Server(TestRPC) Private Blockchain/Dummy Network
on Ethereum Platform.
15
DApp (Decentralised App)
17. ● Immutability – A third party cannot make any changes to data.
● Corruption & tamper proof – Apps are based on a network formed
around the principle of consensus, making censorship impossible.
● Secure – With no central point of failure and secured using cryptography,
applications are well protected against hacking attacks and fraudulent
activities.
● Zero downtime – Apps never go down and can never be switched off.
17
DApps Advantages