Ethereum
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Agenda
ETHEREUM
ETHEREUM ACCOUNTS
ETHEREUM VIRTUAL MACHINE
DApps and DAOsSMART CONTRACTS
DEPLOYING SMART CONTRACTS
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Why Ethereum?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Why Ethereum?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What is Ethereum ?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What is Ethereum?
Ethereum is an open-source, publicly distributed computing platform, featuring smart contract
functionality to build decentralized apps on top of this platform.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Ethereum Network and Token
The value token of the Ethereum blockchain
is called Ether.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What was the need of
developing Ethereum when
Bitcoin already existed ?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Comparing Ethereum and Bitcoin
Bitcoin Ethereum
Concept Digital money World Computer
Cryptocurrency Token BTC Ether
Scripting language Turing incomplete Turing complete
Consensus Algorithm SHA256 Ethash
Coin Release Method Early mining Through ICO
Average block time ~10 minutes ~12-15 seconds
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
EXTERNALLY OWNED
ACCOUNTS
CONTRACT
ACCOUNTS
Owned by people or organisations
Controlled by private keys
Autonomous accounts
Controlled by code </>
ETHEREUM ACCOUNTS
Types of Ethereum Accounts
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Smart Contract is a computerized protocol wherein you write a standard contract rule that is immutable.
Smart Contracts
Smart contract v1.0
{
if (England wins the match):
send(10 eth, Bob)
else:
send(10eth, Andy)
def send(amt, to):
this.balance -= amt
send.balance += amt
}
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What was the need to develop
a contract-specific language?
Why couldn’t we use the
already existing languages?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Solidity for Smart Contracts
Solidity is a contract-oriented, high-level
language for implementing smart contracts
on the Ethereum Virtual Machine (EVM).
SOLIDITY
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Ethereum Virtual Machine
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Contracts written in a smart contract-specific programming language are compiled into ‘bytecode’, which an
EVM can read and execute.
Ethereum Virtual Machine (EVM)
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What’s preventing a piece
of code from running
forever and overloading
the network?
So if the EVM is running
application code….
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Ethereum Gas
GAS GAS LIMIT
Gas is the unit for the amount of
computational work done by the
computer for one cycle of the contract
Gas Limit is the maximum amount of
gas the contract can use for its
computations
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Deploying Smart Contracts
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Ethereum Platform.
Smart Contracts.
DApps and DAOs.
Ethereum as a Platform
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Decentralized Applications (DApps)
OPEN SOURCED
DECENTRALIZEDCONSENSUS MECHANISM
TOKENS
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Decentralized Autonomous Organisations
▪ These are organisations that exist entirely on a
blockchain and are governed by its protocols
▪ DAOs comprise a global network of nodes and
members that all work together and create a
unison to manage their distribution
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Future of Ethereum
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Ethereum Accounts
Summary
Ethereum AccountsWhat is Ethereum? Smart Contracts
Future of DAppsEVM Deploy Smart Contracts
Smart ContractsEthereum Accounts
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
THANK YOU
Copyright © 2017, edureka and/or its affiliates. All rights reserved.

Ethereum Smart Contracts Tutorial | Deploying Smart Contracts | Blockchain Training | Edureka

  • 1.
  • 2.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Agenda ETHEREUM ETHEREUM ACCOUNTS ETHEREUM VIRTUAL MACHINE DApps and DAOsSMART CONTRACTS DEPLOYING SMART CONTRACTS
  • 3.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Why Ethereum?
  • 4.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Why Ethereum?
  • 5.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved.Copyright © 2017, edureka and/or its affiliates. All rights reserved. What is Ethereum ?
  • 6.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. What is Ethereum? Ethereum is an open-source, publicly distributed computing platform, featuring smart contract functionality to build decentralized apps on top of this platform.
  • 7.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Ethereum Network and Token The value token of the Ethereum blockchain is called Ether.
  • 8.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. What was the need of developing Ethereum when Bitcoin already existed ?
  • 9.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Comparing Ethereum and Bitcoin Bitcoin Ethereum Concept Digital money World Computer Cryptocurrency Token BTC Ether Scripting language Turing incomplete Turing complete Consensus Algorithm SHA256 Ethash Coin Release Method Early mining Through ICO Average block time ~10 minutes ~12-15 seconds
  • 10.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. EXTERNALLY OWNED ACCOUNTS CONTRACT ACCOUNTS Owned by people or organisations Controlled by private keys Autonomous accounts Controlled by code </> ETHEREUM ACCOUNTS Types of Ethereum Accounts
  • 11.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Smart Contract is a computerized protocol wherein you write a standard contract rule that is immutable. Smart Contracts Smart contract v1.0 { if (England wins the match): send(10 eth, Bob) else: send(10eth, Andy) def send(amt, to): this.balance -= amt send.balance += amt }
  • 12.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. What was the need to develop a contract-specific language? Why couldn’t we use the already existing languages?
  • 13.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Solidity for Smart Contracts Solidity is a contract-oriented, high-level language for implementing smart contracts on the Ethereum Virtual Machine (EVM). SOLIDITY
  • 14.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved.
  • 15.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved.Copyright © 2017, edureka and/or its affiliates. All rights reserved. Ethereum Virtual Machine
  • 16.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Contracts written in a smart contract-specific programming language are compiled into ‘bytecode’, which an EVM can read and execute. Ethereum Virtual Machine (EVM)
  • 17.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. What’s preventing a piece of code from running forever and overloading the network? So if the EVM is running application code….
  • 18.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Ethereum Gas GAS GAS LIMIT Gas is the unit for the amount of computational work done by the computer for one cycle of the contract Gas Limit is the maximum amount of gas the contract can use for its computations
  • 19.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved.
  • 20.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved.
  • 21.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved.Copyright © 2017, edureka and/or its affiliates. All rights reserved. Deploying Smart Contracts
  • 22.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Ethereum Platform. Smart Contracts. DApps and DAOs. Ethereum as a Platform
  • 23.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Decentralized Applications (DApps) OPEN SOURCED DECENTRALIZEDCONSENSUS MECHANISM TOKENS
  • 24.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Decentralized Autonomous Organisations ▪ These are organisations that exist entirely on a blockchain and are governed by its protocols ▪ DAOs comprise a global network of nodes and members that all work together and create a unison to manage their distribution
  • 25.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Future of Ethereum
  • 26.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. Ethereum Accounts Summary Ethereum AccountsWhat is Ethereum? Smart Contracts Future of DAppsEVM Deploy Smart Contracts Smart ContractsEthereum Accounts
  • 27.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved. THANK YOU
  • 28.
    Copyright © 2017,edureka and/or its affiliates. All rights reserved.