Ethereum - MacKittipat/note-developer GitHub Wiki

What is it ?

  • Open source, decentralize blockchain platform that can execute smart contract.
  • Bitcoin was designed to be digital currency but Ethereum was designed to be general purpose Blockchain.

Smart Contract

  • A Computer code that establishes agreements between parties and then executes the transaction when certain conditions are met.

Smart Contract Language

  • Examples : Solidity, Vyper
  • Compiled into bytecode and executed by EVM (Ethereum Virtual Machine).

DApp

  • A Smart Contract with a Web UI

Basic

Currency

  • ETH or ether
  • Wei is smallest unit of ether
    • 10^18 wei = 1 ETH

Gas fee

  • Every Ethereum transaction require transaction fee called "gas"
  • gas can be paid by ETH

Account

  • EOA or Externally Own Account
    • Have private key
  • Contract Account
    • Have smart contract code