Ethereum Basics: Accounts, Transactions, Gas, the EVM and How Ethereum Differs From Bitcoin

Blockchain Developer 55 min min read Updated: Nov 17, 2026 Beginner
Ethereum Basics: Accounts, Transactions, Gas, the EVM and How Ethereum Differs From Bitcoin
Beginner Topic 1 of 3

What Is Ethereum?

  • A blockchain that can run programs called smart contracts
  • Its coin is Ether (ETH), used to pay fees and secure the network
  • Launched in 2015, with ideas from Vitalik Buterin and co-founders
  • Often described as a world computer that nobody owns

Bitcoin Versus Ethereum

BitcoinEthereum
Main goalDigital money, store of valueProgrammable platform for apps and tokens
ModelUTXOAccounts and balances
ScriptingSimple, limitedFull smart contract languages (Solidity)
Block timeAbout 10 minutesAbout 12 seconds (a slot)
ConsensusProof of workProof of stake since 2022

Two Kinds of Accounts

AccountControlled byHas code?
Externally owned account (EOA)A private key (a person)No
Contract accountIts own codeYes

Each account has an address, an ETH balance and a nonce (count of transactions sent, which stops replays). Contract accounts also have code and storage.

Units of Ether

UnitValue
weiSmallest unit. 1 ETH = 10^18 wei
gwei1 gwei = 10^9 wei. Used to quote gas prices
etherThe main unit

Transactions

A transaction can send ETH, call a contract function or deploy a contract. It contains: recipient, value, data, gas limit, fee settings and a signature.

Gas

Every operation costs gas, a unit measuring computation. Gas stops infinite loops and pays validators.

text Fee = gas used x (base fee + priority tip) Example: 21,000 gas (simple ETH transfer) x 20 gwei = 420,000 gwei = 0.00042 ETH
  • Base fee is set by the protocol from network demand and is burned (EIP-1559)
  • Priority tip goes to the validator, so a higher tip is included sooner
  • Gas limit is the most gas you allow. Unused gas is returned. If you run out, the transaction fails but you still pay for the gas used

The EVM

  • The Ethereum Virtual Machine runs contract bytecode the same way on every node
  • Solidity is compiled to EVM bytecode
  • Because every node runs the code, results are deterministic and verified by all

State

Ethereum is a state machine. The state (all balances, code, storage) changes only through valid transactions in blocks.

Practice

  1. Difference between an EOA and a contract account?
  2. Compute the fee for 50,000 gas at 30 gwei
  3. Why does a failed transaction still cost gas?

Conclusion

Ethereum runs smart contracts on the EVM, uses accounts and gas, and has moved to proof of stake. Gas pays for computation and protects against abuse.

Quick Summary: what; vs Bitcoin; accounts; units; transactions; gas; EVM; state.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators