Independent third-party site · Not the official OKX website · Check any link in the OKX app under “Official verification channel” · Disclaimer
Chapter 2 · Blockchain in plain English

What is blockchain?
A public ledger nobody can edit.

Blockchain sounds mysterious, but it’s just a way of keeping records. Once it clicks, words like “on-chain”, “gas” and “wallet address” stop being confusing.

Updated Referral code OK66688Independent · not official OKX

Blockchain, explained with a ledger

Imagine a village with no bank. Everyone agrees that each person keeps an identical ledger. When someone pays someone else, they announce it and everyone writes it down.

  1. Every so often, recent payments are bundled into a page. That page is a block.
  2. Each page carries a “fingerprint” (hash) of the page before it, so pages link into a chain.
  3. Secretly changing an earlier page breaks every fingerprint after it, and everyone notices.
  4. Who writes the next page? Bitcoin runs a computing race (mining); Ethereum picks from people who lock up coins (staking).

So the heart of blockchain isn’t coins; it’s letting strangers agree on records without a middleman. Coins are just what’s written in the ledger.

What does decentralized mean?

Centralized means one party is in charge, like a bank that alone can edit its books. Decentralized means no single party is in charge: many participants keep the ledger, so one of them going offline or cheating doesn’t matter.

Centralized vs decentralized
Centralized (banks, payment apps)Decentralized (bitcoin network)
Who keeps recordsOne institutionThousands of nodes worldwide
Can payments be reversedYesConfirmed on-chain transfers can’t be undone
Forgot your passwordSupport can reset itLose the private key and it’s gone
Who fixes mistakesThe institutionOnly you

Note that exchanges are centralized. Coins in your OKX account are held by the platform, so a forgotten password can be recovered. Moving them to your own wallet is what real self-custody means.

What is a public blockchain? Which ones matter?

A public chain is one anyone can join, read and use. Each has a native coin used to pay fees.

Public chains beginners run into
ChainNative coinIn one line
BitcoinBTCThe first and most secure; mainly for transfers and saving
EthereumETHRuns smart contracts; most tokens and apps live here
SolanaSOLFast and cheap, home to many meme coins
TronTRXOne of the most used networks for USDT transfers
X LayerOKBOKX’s Ethereum layer-2 network

The key lesson: the same coin on different chains uses different networks, and choosing the wrong one when withdrawing can lose funds.

What is a smart contract?

A smart contract is a program stored on a blockchain that runs automatically when its conditions are met, with nobody able to change it midway. For example: “when 1 ETH arrives, send back 3,000 tokens”, no middleman needed.

  • Decentralized exchanges, lending, stablecoins and NFTs are all smart contracts underneath.
  • Buggy code can be exploited; many contracts have been drained by hackers.
  • The most common beginner risk is “approvals”: approving a contract on a shady site can let it move coins out of your wallet.

Why do I pay gas fees?

Every action on a public chain pays a small fee to whoever records it; on Ethereum it’s called gas. The busier the network, the higher the fee.

Exchange fees vs on-chain fees
SituationPay gas?Notes
Buying and selling on OKXNoOnly the trading fee, 20% lower with a referral code
Internal transfer between OKX accountsNoNot on-chain, usually free
Withdrawing from OKX to an outside walletYesThe network fee is shown on the withdrawal page
Using apps directly on-chainYesPaid in the chain’s native coin

Ready to open an account? Enter code OK66688 at sign-up for 20% off every trading fee, for life.

How do wallet addresses, public keys and private keys relate?

Think of it this way: a wallet address is like an account number you can share so people can pay you; a private key is like your PIN plus signature, and whoever has it can move the coins. The public key is derived from the private key and the address from the public key, and none of it can be reversed.

Anyone asking for your private key or seed phrase is a scammer. Exchange support, project teams and group admins never need it.

What is Layer 2? A layer 2 is a “fast lane” built on top of a main chain like Ethereum. It bundles many transactions and settles them back on the main chain, so it’s faster and cheaper. OKX’s X Layer, Arbitrum and Base are examples.

What is blockchain?: FAQ

Blockchain basics
FAQ.

How are blockchain and bitcoin related?

Bitcoin was the first use of blockchain. Blockchain is the record-keeping method; bitcoin is what’s recorded. Later chains like Ethereum used the same idea to do more.

Can records on a blockchain be deleted?

No. Once a transaction is in a block and later blocks confirm it, it’s practically impossible to change or remove, which also means mistaken transfers can’t be reversed.

Is decentralized always safer?

Not always. The network is hard to tamper with, but stolen keys, phishing approvals and buggy contracts can still lose your coins, and nobody can recover them for you.

Why are gas fees sometimes so high?

Gas is priced by demand. When the network is congested people bid more to get in. Layer 2 networks or quieter times are much cheaper.

Do I need to run a node?

No. Exchanges and wallets let ordinary users use blockchains; miners, validators and companies run the nodes.

What is blockchain used for besides trading?

Cross-border payments, stablecoins, supply-chain tracking and tokenizing real-world assets are all being explored.

Related questions
Next chapter

Finished this chapter?
Read the next one.

Understand bitcoin and blockchain first, then the types of coins and mining, then how money is made, cashed out and kept safe. Each chapter takes about ten minutes.

OKX referral code OK66688

Learn first, then start small, and enter OK66688 when you sign up.

Get to know buying and selling with a small amount. Every trade costs 20% less, so practice is cheaper.

Go to OKX sign-up
Sign up · 20% off fees