Ethereum Virtual Machine
, a stack based VM that executes bytecode)Merkle Patricia Tree
)Casper
in Eth 1, PoS in Eth2)Gas
, a metric to measure cost of each operation on ethereum. This limits the usage and helps in solving lot of problems. More on gas in later chapters.Web3
which means the 3rd version of web, representing a new vision and focus for web apps: from centrally owned and managed apps to those built on decentralized protocols.Ether
also identified as ETH
.wei
which is 10^(-18) ETH.IN
transaction (acc. to etherscan terms), while the contract calls and transfers and showed in the Internal Transactions
.Keys and Addresses
Additional notes on symmetric and asymmetric cryptography (Taken from here)
Symmetric Cryptography
Asymmetric Cryptography
Digital Signatures
Usage in Blockchain
seed
.mnemonic code words
.nonce: A scalar value equal to the number of transactions sent from this address or, in the case of accounts with associated code, the number of contract-creations made by this account.
account-based
protocol in contract to bitcoin's UTXO (Unspent Transaction Output)
mechanism.recall
or undo
a transaction.gasPrice
: price the originator is willing to pay for a transaction in exchange for gas. Measured in wei per gas unit. For e.g., a gasPrice value of 3 gwei means that a user is willing to pay upto 3 gwei for 1 gas unit.gasLimit
: Maximum units of gas the user is willing to buy for completing the transaction.currentGasPrice * gasUnitsConsumed*
to
address. Can be an EOA or Contract Address.payload
of transaction is contained in 2 fields: value and data. All 4 combinations of their existance are valid.zero address
i.e. 0x00, which represents neither a EOA address nor a Contract address.Virtual Machine
referring to virtualization of a real computer or of an entire OS provide a software abstraction, respectively, of actual hardware, and of system calls and other kernel functionality.world state
, which is a mapping of ethereum addresses (160 bit / 40 bytes values) to accounts.balance
, nonce
(diff. for both types of account), account storage
and program code
. The last 2 fields are only for contract accounts.