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.
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.
- Every so often, recent payments are bundled into a page. That page is a block.
- Each page carries a “fingerprint” (hash) of the page before it, so pages link into a chain.
- Secretly changing an earlier page breaks every fingerprint after it, and everyone notices.
- 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 (banks, payment apps) | Decentralized (bitcoin network) | |
|---|---|---|
| Who keeps records | One institution | Thousands of nodes worldwide |
| Can payments be reversed | Yes | Confirmed on-chain transfers can’t be undone |
| Forgot your password | Support can reset it | Lose the private key and it’s gone |
| Who fixes mistakes | The institution | Only 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.
| Chain | Native coin | In one line |
|---|---|---|
| Bitcoin | BTC | The first and most secure; mainly for transfers and saving |
| Ethereum | ETH | Runs smart contracts; most tokens and apps live here |
| Solana | SOL | Fast and cheap, home to many meme coins |
| Tron | TRX | One of the most used networks for USDT transfers |
| X Layer | OKB | OKX’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.
| Situation | Pay gas? | Notes |
|---|---|---|
| Buying and selling on OKX | No | Only the trading fee, 20% lower with a referral code |
| Internal transfer between OKX accounts | No | Not on-chain, usually free |
| Withdrawing from OKX to an outside wallet | Yes | The network fee is shown on the withdrawal page |
| Using apps directly on-chain | Yes | Paid 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.
Blockchain basics
FAQ.
01How 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.
02Can 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.
03Is 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.
04Why 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.
05Do I need to run a node?
No. Exchanges and wallets let ordinary users use blockchains; miners, validators and companies run the nodes.
06What is blockchain used for besides trading?
Cross-border payments, stablecoins, supply-chain tracking and tokenizing real-world assets are all being explored.
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.
What is bitcoin?
Who created it, why it has value, how many exist, what one costs today, and whether it’s a scam.
Chapter 3 · Digital yuan vs bitcoinTypes of cryptocurrency
Crypto vs digital currency vs China’s digital yuan, plus majors, altcoins, tokens, NFTs and DeFi.
Chapter 4 · Is Pi Network legit?What is crypto mining?
What miners actually do, whether you can mine at home, where it’s banned, and the truth about phone mining and Pi Network.
Chapter 5 · Whose money are you making?Can you make money with crypto?
Where crypto profits come from, why most beginners lose, and how to take part without getting hurt.
Chapter 6 · Bank account frozen after cryptoHow to cash out USDT
Selling USDT for local currency via P2P, why bank accounts get frozen, and what to do if yours is.
Chapter 7 · Exchange paused withdrawalsWhat if a crypto exchange goes bust?
What CoinEx’s shutdown and the Bitget hack mean for ordinary users, and how to judge an exchange.
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.
