What is blockchain? A blockchain is a type of digital ledger in which records are grouped into blocks and linked in a sequence using cryptographic techniques. Copies of the ledger may be maintained by multiple computers in a network, and agreed rules determine which new transactions are accepted. Blockchains are designed so that changing old records is difficult to do unnoticed, but they do not make data automatically true, private or impossible to alter.
The simplest way to understand blockchain is as a shared record book with rules for adding new pages. Each page, or block, refers cryptographically to the block before it. Network participants use a consensus mechanism to agree on the ledger’s accepted state. This can reduce reliance on one central record keeper in some settings, but it introduces trade-offs involving speed, cost, governance, security and energy use.
Quick notes: A block contains a batch of records and a cryptographic reference to an earlier block. A hash is a fixed-length output calculated from data. Nodes store or verify ledger information. Consensus mechanisms coordinate agreement about valid updates. Public blockchains are open to participation under protocol rules; permissioned blockchains restrict participation. Cryptocurrency is one possible application, not the definition of blockchain.
How a blockchain works
- A transaction is created: a participant proposes a record, such as a transfer or update.
- The transaction is checked: network rules and cryptographic signatures help determine whether it is properly authorised and formatted.
- Valid transactions are grouped: a block producer or validator assembles transactions according to the protocol.
- The network reaches agreement: nodes follow a consensus mechanism to determine which proposed block is accepted.
- The block is linked: the new block refers to the previous block through a cryptographic hash.
- Nodes update their records: participants verify and store the accepted ledger state according to the network design.
This is a simplified overview. Different blockchains use different data structures, consensus methods, validator rules, finality guarantees and ways of handling upgrades. Some systems use a chain of blocks; others use additional structures alongside blocks. Always examine the particular protocol rather than assuming every blockchain works identically.
What is a block?
A block is a data structure that groups records or transactions. It commonly includes transaction data, a timestamp or ordering information, and a cryptographic reference to a previous block. Many blockchains also include a summary such as a Merkle root, which allows efficient verification that a transaction is included in a block.
The block’s structure is defined by the protocol. A block does not necessarily contain a full copy of every piece of information ever recorded, and it may refer to external data or other structures. The word ‘block’ describes the unit used by that particular ledger system.
What is a hash?
A cryptographic hash function takes input data and produces a fixed-length output. A small change in the input is expected to produce a very different hash. Hashes are useful for identifying data, linking blocks and checking whether content has changed.
A hash is not encryption. Encryption is designed so that authorised parties with the correct key can recover protected information. A hash is generally a one-way transformation; it does not provide a way to decrypt the original data. Hashes also do not prove that a statement is true. They help verify that data matches a particular fingerprint.
What is a distributed ledger?
A distributed ledger is a record of information shared and maintained across multiple participants or systems. Blockchain is one way to organise a distributed ledger. Not every distributed ledger uses blocks linked in a chain, and not every shared database needs a blockchain.
A conventional database may be faster and simpler when one trusted organisation can manage access and changes. A blockchain may be useful when several parties need to share a record and have reasons not to rely entirely on one central operator. The technology should fit the governance problem rather than be selected because it is fashionable.
What is consensus in blockchain?
Consensus is the process by which nodes in a distributed system agree on an accepted sequence or state of records. It helps the network handle conflicting proposals and prevent invalid updates under the protocol’s assumptions. Consensus is not the same as every participant voting on every detail in an ordinary meeting.
Proof of Work
Proof of Work requires participants competing to produce a valid block to perform computational work. The system makes block production costly under specified conditions, while other nodes can verify a proposed result more cheaply. Proof of Work can provide security properties, but its design may involve significant energy consumption and hardware competition.
Proof of Stake
Proof of Stake selects or rewards validators partly according to assets they commit or stake under the protocol. Penalties may apply when validators violate rules. Security depends on the design, distribution of stake, validator behaviour, software and governance—not merely on the presence of a stake mechanism.
Other consensus approaches exist, and some networks combine or modify mechanisms. The details matter: how validators are selected, how conflicts are resolved, how finality is reached and what happens when participants disagree.
Public versus permissioned blockchains
Public blockchains allow broad participation in reading or submitting transactions, subject to the network’s rules. The identities of participants may be represented by cryptographic addresses rather than real names, but public data can often be analysed and linked to activity.
Permissioned blockchains restrict who can read, submit or validate records. They may be used by a consortium or organisation that wants a shared, auditable system with controlled access. Permissioned systems still require trust in governance, administrators and participating institutions.
The difference is not simply ‘public is secure, private is not’. Both designs have assumptions and risks. A private system may be easier to govern but relies on known operators; a public system may reduce some central control but expose transaction data and introduce complex economic incentives.
Blockchain and cryptocurrency: are they the same?
No. A cryptocurrency is a digital asset that may use a blockchain or another type of ledger to record ownership and transfers. Blockchain is the underlying data and coordination approach in some cryptocurrency systems. A blockchain can also be used for records that are not currencies, such as tokenised claims, supply-chain events or software-based agreements.
A cryptocurrency’s value is not guaranteed by the ledger itself. Prices can be volatile, systems can have technical vulnerabilities, and users can lose access to assets if they lose control of credentials. A transaction being recorded on a blockchain does not prove that the underlying real-world claim is accurate.
What are smart contracts?
A smart contract is code deployed to a blockchain or related execution environment that runs when specified conditions are met. It can transfer digital assets, enforce rules within a protocol or coordinate actions between participants. The code executes according to its implementation, not according to what a programmer intended it to do.
Smart contracts can contain bugs, depend on external data sources called oracles and be difficult to change after deployment. A smart contract cannot independently verify every real-world event. If it relies on a price feed, delivery report or identity claim, the system must trust the source and method used to bring that information on-chain.
What blockchain can and cannot guarantee
- It can: provide a shared transaction history under protocol rules, support cryptographic verification and make unauthorised history changes more difficult to conceal.
- It cannot guarantee: that entered data is factually correct, that users are honest or that a real-world asset is legally owned by the address recorded.
- It can: reduce reliance on a single database administrator in some multi-party settings.
- It cannot guarantee: privacy, low fees, instant finality, regulatory compliance or complete resistance to software bugs.
- It can: make some records publicly auditable.
- It cannot: remove governance decisions, upgrade risks or the need to secure keys and endpoints.
Common blockchain risks
- Key loss or theft: users may lose control of digital assets if private keys or recovery methods are compromised.
- Smart-contract bugs: code vulnerabilities can lead to unintended transfers or system failures.
- Protocol and validator risks: concentration, collusion, software faults or attacks can affect network operation.
- Privacy risks: public transaction patterns may reveal information when addresses are linked to people or organisations.
- Scams: impersonation, fake applications and fraudulent token offers can target users outside the protocol itself.
- Legal and governance uncertainty: rules, ownership rights and dispute processes vary by jurisdiction and application.
A secure ledger does not make every wallet, exchange, application or project safe. Many losses happen through phishing, compromised devices, fraudulent promotions or mistakes in how a service is used.
When should an organisation use a blockchain?
A blockchain may be worth evaluating when several independent organisations need to update a shared record, cannot easily agree on one central operator, and can define a workable governance and validation model. It is less compelling when one trusted operator can manage a conventional database more efficiently, cheaply and privately.
- Define the problem: what records need to be shared, and which parties need to trust them?
- Map the participants: who can read, submit, verify and correct information?
- Compare alternatives: evaluate a conventional database, signed logs and shared services as well as blockchain.
- Define governance: decide how software upgrades, disputes, errors and participant exits are handled.
- Assess costs and risks: include performance, privacy, security, energy, compliance and user support.
- Test with real constraints: use a limited pilot and independent security review before relying on the system.
Frequently asked questions about blockchain
What is blockchain in simple words?
It is a shared digital record system that groups records into blocks linked with cryptographic references and uses agreed rules to accept updates.
Is blockchain the same as Bitcoin?
No. Bitcoin is one cryptocurrency network that uses blockchain technology. Blockchain describes a broader class of ledger systems.
Can blockchain be hacked?
Blockchains have different security designs. A network’s history may be difficult to alter under its assumptions, but software bugs, compromised keys, scams, governance failures and other attacks can still cause losses.
Is blockchain anonymous?
Not necessarily. Some networks use addresses rather than real names, but transactions may be public and can sometimes be linked to identities through other information.
What is a smart contract?
It is code that runs according to defined conditions in a blockchain or related platform. The code can still contain errors and depend on external information.
Does every organisation need blockchain?
No. A conventional database may be simpler, faster and cheaper when one trusted party can manage the records.
Continue learning at eduKateSG
For advanced examples, explore the Blockchain Data Availability and Validity guide and the Chain ID and Network Safety explanation. For a general security foundation, read What Is Phishing?.
Sources and further reading
The US National Institute of Standards and Technology’s Blockchain Technology Overview (NISTIR 8202) explains distributed ledgers, blocks, hashes and consensus. The Bank for International Settlements’ work on distributed ledger technology discusses financial-system applications and trade-offs. The examples here are general educational explanations, not investment advice or an endorsement of any cryptocurrency or blockchain product.