Ethereum Basics and Solidity Programming

ethereum basics solidity programming ethereum n.w
1 / 9
Embed
Share

Discover the fundamental concepts of Ethereum, including its architecture, blockchain implementation, transaction initiation, and more. Dive into Solidity programming, the high-level language used to interact with the Ethereum Virtual Machine.

  • Ethereum
  • Solidity
  • Blockchain
  • Programming
  • Cryptocurrency

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Ethereum Basics & Solidity Programming Ethereum Basics & Solidity Programming TAU March 2019 Adapted from Stanford CS359B Spring 2018

  2. Blockchain as a replicated state machine Transaction tx ? ? (?,?) txi txi+1 Si Si+1 Si+n Oi+1 Mined Block

  3. Ethereum implementation Transaction tx ? ? (?,?) Ethereum defines interface S, I, O EVM bytecode contracts implement it (Turing complete!) Solidity is a high-level front end to EVM bytecode (Turing complete!) txi Si Si+1 Oi+1

  4. Transaction initiation Account identification based on asymmetric cryptography Alice signs txs with her private key, sent to network Blockchain miners verify Alice s identity Source: Wikipedia

  5. Ethereum architecture high level overview - States Address State id : pubkey 160b balance : 256b storage : 256b -> 256b code: blob metadata : Event log Si Block State Tx log number : 256b hash : 256b timestamp : 256b

  6. Ethereum architecture high level overview - States Address State id : pubkey 160b balance : 256b storage : 256b -> 256b code: blob metadata : Event log Si Contract if exists Account othewise Block State Tx log number : 256b hash : 256b timestamp : 256b

  7. Ethereum architecture high level overview Inputs/Outputs Input parameters to a transaction message: Target address Amount of ether (atomic balance update) Source address (auto-filled) Gas (Limit execution time) Gas price bid per unit of gas Data (blob) Identifies source-level function called Formal parameters Output Blob

  8. Ethereum architecture high level overview Inputs/Outputs Input parameters to a transaction message: Target address Amount of ether (atomic balance update) Source address (auto-filled) Gas (Limit execution time) Gas price bid per unit of gas Data (blob) Identifies source-level function called Formal parameters Output Blob

  9. Ethereum in action

Related


More Related Content