Skip to content

Blockchain 101

What is a blockchain and when is it useful?

A blockchain is a shared ledger maintained by a network of computers. Transactions are grouped into blocks. Each block refers to the one before it through a cryptographic fingerprint, so changes to the history are detectable. The network uses a consensus protocol to agree on which history to follow.

Think of several organisations that need to record transfers and verify the same history, with no one organisation in charge of the ledger. A blockchain can give them shared rules for accepting updates. When everyone already trusts one administrator, a database with an audit log is usually simpler, faster and easier to correct.

Technology

A database can also replicate its data. In a blockchain, nodes can independently verify updates under shared rules. The history becomes independently verifiable, with extra work to coordinate nodes and agree on updates.

Trust and governance

Participants can check the ledger without asking its operator. Trust shifts towards the protocol and the people who run and change it. Who can participate, validate or change the rules depends on the network.

Economics

A shared ledger can reduce the work of reconciling records between organisations. It introduces costs for running the network, and some systems charge transaction fees or reward validators. These choices affect who can afford to participate.

Key concepts

Ledger and transactions

Distributed ledger (DLT)

A record shared and synchronised across multiple participants. A blockchain is one way to organise a distributed ledger, using blocks linked by hashes.

Transaction

A request to change the ledger, such as transferring a token or calling a smart contract. The network checks whether the request follows its rules before accepting it.

Block

A batch of transactions with metadata, usually including a reference to the preceding block. Changing an earlier block changes its fingerprint and breaks the link to the next one.

Try the lab
Hash

A fixed-length fingerprint of a piece of data. A small change to the input typically gives a very different fingerprint. Nodes can recalculate it to check whether the data has changed.

Try the lab
Merkle tree

A tree of hashes that summarises many items in one fingerprint. A short proof can show that a transaction belongs to a block without downloading every transaction in it.

Ledger state

The current snapshot produced by applying accepted transactions in order. It can contain account balances, unspent outputs or values stored by smart contracts.

Try the lab

Network and consensus

Nodes and P2P networks

Nodes are computers that run the protocol. In a peer-to-peer network they pass transactions and blocks to one another. The path a message takes depends on how the nodes are connected.

Try the lab
Consensus

The protocol rules that let nodes agree on which history to follow. Some protocols rely on a quorum of votes, while others choose a chain by comparing accumulated work.

Try the lab
Finality

The point or degree of confidence at which a transaction can be treated as settled. Some protocols declare finality after a quorum, while in others confidence grows as more blocks are added.

Try the lab
Fork and reorganisation

A fork can arise when nodes see competing blocks. If the network adopts a different branch, previously included transactions may need to be included again. A fork can also refer to a split after a rule change.

Proof of Work (PoW)

Miners spend computing power to produce a block with a hash that meets a target. Producing valid work is costly and other nodes can check it quickly.

Try the lab
Proof of Stake (PoS)

Validators commit tokens as collateral to participate in consensus. The protocol defines how they are selected, rewarded and, in some cases, penalised for breaking rules.

Keys, access and privacy

Private and public keys

A private key lets its holder sign actions. The corresponding public key lets anyone verify those signatures. If someone obtains the private key, they can authorise actions with it.

Try the lab
Digital signature

A cryptographic proof that a specific message was signed with a particular key. Verification fails if the signed message changes.

Try the lab
Wallet

An app or device that manages keys and helps authorise transactions. The ledger records the assets and their ownership. In a custodial service, the provider may manage the keys on the user's behalf.

Try the lab
Address

A protocol-specific identifier used to refer to an account, contract or transfer destination. An address may be derived from a key, but can also identify a smart contract or another spending rule.

Permissionless / permissioned

In permissionless networks, anyone can seek to participate in validation by meeting the protocol's conditions. In permissioned networks, validation is restricted to approved participants. Read access is a separate design choice.

Try the lab
Privacy and pseudonymity

An address need not include a real name, yet public transactions can often be linked to one another or to known identities. Some systems use cryptographic proofs or keep sensitive data off-chain.

Execution and scaling

Smart contract

A program whose execution can update the ledger according to predefined rules. A contract can manage balances or access rights, and nodes can verify the resulting changes.

Try the lab
Oracle

A mechanism that supplies external information to a blockchain, such as a price or the outcome of an event. A contract can verify who supplied the data, while its accuracy depends on the sources and the oracle design.

Gas and fees

In systems such as Ethereum, gas measures the resources used by an operation. The fee depends on gas used and its price. Gas limits help bound the work each block can require.

Try the lab
Layer 1 / Layer 2

Layer 1 is the base network, with its own consensus and settlement rules. A Layer 2 processes activity outside the base chain and relies on Layer 1 for settlement or dispute resolution, depending on its design.

Rollup

A scaling system that executes batches of transactions outside the base chain and posts data to it for verification. Optimistic rollups use a challenge process, while validity rollups use cryptographic proofs.

Bridge

A mechanism for transferring messages or representing assets across networks. Its guarantees depend on how it verifies events on the source network and who can control it.

Digital assets and finance

Fungible token

A unit that can be exchanged for another unit of the same type. Tokens can represent value, voting power or access rights. The protocol or smart contract defines how they are issued and transferred.

Try the lab
NFT

A token with a distinct identifier. It may point to a digital item or entitlement. Any legal rights over the associated item depend on the terms of issue and applicable law.

Stablecoin

A token designed to track a reference value, often a currency. The mechanisms that maintain the peg vary, and it can fail if reserves, collateral or market incentives prove insufficient.

DeFi

Financial services implemented through blockchain protocols and smart contracts. Examples include exchanges and lending. Control and risk can still be concentrated in oracles, administrators or governance.

CBDC

Digital money issued as a liability of a central bank. Its payment infrastructure can use a conventional centralised architecture or distributed ledger technology.

Tokenisation

Representing a right or asset with a token. For an off-chain asset such as a bond, a legal and operational arrangement must connect the token to the underlying asset.

Incentives, governance and time

Blockspace

The capacity available for transactions in a block, often limited by size or gas. When demand exceeds supply, some users may have to wait or pay more to be included.

Try the lab
Incentives

Rewards, fees and penalties that shape how participants act. For example, block rewards can pay validators for their work, while penalties can make certain rule violations costly.

Try the lab
Governance

How a network proposes, approves and adopts changes. Decisions may involve developers, node operators, validators, users and token holders, through votes or through coordination outside the chain.

Try the lab
Decentralisation

How control is distributed among independent actors. A network can have many nodes while a small number of entities control validation, software updates or infrastructure.

Expiry

A rule that ends the validity of a digital resource after a given time or block height. For example, an access right can expire even though its creation remains in the ledger history.

Renewal

An authorised operation that extends or restores a resource's validity under the system's rules. The protocol must define who can renew it, when and with what consequences.

Interactive labs

Cryptography playground Understand hashing, tamper detection, and why blocks can be linked through cryptographic fingerprints.

SHA-256 hash

Click “Compute hash”.

Toy block

Previous hash: 0000previousblock

Nonce: -

Block hash: -

Lesson

Hashes are deterministic fingerprints: the same input gives the same output, but a tiny change creates a very different hash.

Lab guide
Where it appears
Blockchains use cryptographic hashes to fingerprint data and digital signatures to prove that an action was authorized by the holder of a private key.
How to use it
Edit the transaction text, compute its hash, mine a toy block, and then tamper with the data.
What to observe
A tiny input change produces a completely different hash. This is why tampering becomes visible when blocks and transactions are fingerprinted.
What to try next
After hashes, open Wallets, keys & ownership to understand how users authorize transactions.
Wallets, keys & ownership See how private keys, public keys, addresses, and signatures connect users to blockchain assets.

Wallet identity

Address: -

Public identity: -

Signature

Generate a wallet and sign a transaction.

Status

A wallet authorizes actions by signing messages.

Lab guide
Where it appears
A wallet does not literally store coins. It manages keys. The private key authorizes actions, the public key helps verify signatures, and the address identifies an account or destination.
How to use it
Generate a toy identity, sign a transaction, then try to verify it or tamper with the message.
What to observe
The same signature only works for the original message and the matching public identity. If the message changes, verification fails.
What to try next
After signatures, open Quantum & blockchain impact to see why future quantum computers matter for some signature schemes.
P2P network simulator Move nodes, remove peers, split the network, and broadcast a transaction across a distributed network.

Selected node

A

Click a node to select it. Drag nodes to move them.

Status

Select a node and broadcast a transaction.

Lab guide
Where it appears
A blockchain network is a peer-to-peer system: transactions and blocks must propagate across many nodes before the network can converge on a shared view.
How to use it
Select a node, drag nodes around, remove a node, create a partition, and broadcast a transaction.
What to observe
Connectivity affects propagation. If nodes are offline or the network splits, some peers may not receive the transaction.
What to try next
After propagation, open Consensus game to see how validators agree on blocks.
Consensus game Simulate validators voting on blocks and see why failures, delays, and quorum thresholds matter.

Consensus status

Online honest votes
0
Required quorum
5

Toggle validators and propose a block.

Lab guide
Where it appears
Consensus protocols let distributed validators agree on which block becomes part of the chain, even when some validators are offline, delayed, or faulty.
How to use it
Toggle validators between honest, offline, and faulty states, then propose a block.
What to observe
Finality requires enough valid votes. If too many validators fail, the block cannot be finalized.
What to try next
After consensus, open Public vs permissioned networks to compare different validator-access models.
Smart contract sandbox Interact with a tiny contract state machine to understand balances, rules, and deterministic execution.

Contract state

Execution result

Submit a transfer to execute the contract rules.

Rule

A transfer succeeds only if sender and receiver are different, the amount is positive, and the sender has enough balance.

Lab guide
Where it appears
A smart contract is code that updates blockchain state according to predefined rules. Every node must be able to reproduce the same result.
How to use it
Choose sender, receiver, and amount. Execute valid and invalid transfers.
What to observe
The contract changes state only when its rules are satisfied. Invalid transactions are rejected.
What to try next
After contract execution, open Fees, blockspace & scalability to understand why execution capacity is limited.
Public vs permissioned networks Compare open and controlled blockchain networks by changing who can join, validate, read, and govern.

Scenario

Choose a scenario to compare network models.

Lab guide
Where it appears
Not all blockchains are open in the same way. Public systems prioritize open participation, while permissioned systems restrict who can join, validate, or read.
How to use it
Switch between public and permissioned modes, then test joining, validating, and reading.
What to observe
The trust model changes depending on who controls access and validation.
What to try next
After access models, open Tokens, incentives & ownership to see how economic power can concentrate.
Tokens, incentives & ownership Explore token distribution, rewards, concentration, and how incentives can affect ownership structures.

Concentration meter

Largest holder
-
HHI-style score
-

Try different distribution events.

Lab guide
Where it appears
Tokens can represent value, governance power, access rights, rewards, or ownership claims. Their distribution affects decentralization and economic power.
How to use it
Trigger an equal airdrop, whale accumulation, or staking rewards.
What to observe
Some mechanisms preserve concentration, while others can spread or concentrate ownership.
What to try next
After ownership, open Fees, blockspace & scalability to see how demand and fees affect users.
Fees, blockspace & scalability Experiment with transaction demand, block capacity, fees, congestion, and throughput limits.
Included now
-
Pending queue
-
Congestion
-

Interpretation

Move the sliders to simulate different demand and capacity conditions.

Lab guide
Where it appears
Blockchains have limited capacity. When transaction demand exceeds available blockspace, users compete through fees and some transactions are delayed.
How to use it
Change transaction demand, block capacity, and average fee willingness.
What to observe
Congestion increases when demand exceeds capacity. Higher fee pressure can prioritize some transactions while pricing out others.
What to try next
After fees, explore smart contracts or consensus again to connect execution, capacity, and finality.
Quantum & blockchain impact Understand what quantum computing could affect, what it would not magically break, and why post-quantum migration matters.

Impact level

-

Explanation

Choose a component and evaluate the scenario.

Mitigation idea

Post-quantum migration is about replacing vulnerable cryptographic assumptions before they become practically exploitable.

Lab guide
Where it appears
Quantum computing would not automatically destroy every part of a blockchain. The main concern is that sufficiently powerful quantum computers could threaten some classical digital signature schemes, while hashes are affected differently.
How to use it
Switch between blockchain components and attacker scenarios to see which parts are exposed and which mitigations are possible.
What to observe
Signatures, exposed public keys, validator keys, and migration strategy matter more than vague claims that quantum computers break all blockchain security.
What to try next
After this, revisit Wallets, keys & ownership and Cryptography playground to connect keys, signatures, hashes, and post-quantum migration.

Pills of Blockchain

Video series Instagram Reels Italian audio

Short educational videos created to explain blockchain concepts in a simple and accessible way. The videos are embedded from the original public Instagram archive, keeping this website lightweight while still allowing in-page playback.

Open @pillsofblockchain

Pills of Blockchain #01

Reel

Pill #1 - Who knows Blockchain? #blockchain #bitcoin #ethereum #nft #phd #blockchainnews

Pills of Blockchain #02

Reel

Pill #2 - Intermediaries #blockchain #bitcoin #ethereum #nft #phd #blockchainnews #bank

Pills of Blockchain #03

Reel

Pill n.3 - Decentralization #blockchain #decentralization #decentralized #bitcoin #bank #instagram #world #italy #phd #phdlife #university

Pills of Blockchain #04

Reel

Pill n.4 - The Bitcoin use case #blockchain #blockchainnews #world #instagram #italy #phd #phdlife #pricecap #bitcoin #bitcoins #bitcoinnews #usa #university #università #ethereum #money #crypto #cryptocurrency

Pills of Blockchain #05

Reel

Pill n.5 - Consensus #cryptomarket #cryptomoney #blockchaintechnology #phdvoice #world #blockchain #blockchainnews #italy #university #università

Pills of Blockchain #06

Reel

Pill n.6 - Miners #phd #bitcoin #blockchain #ethereum #nft #blockchaintechnology #binance #blockchainnews #miners #hashrate #coinbase

Pills of Blockchain #07

Reel

Pill n.7 - Cryptocurrencies #blockchain #blockchaintechnology #crypto #cryptocurrency #cryptocurrencies #investment #digital #world #instagram #bitcoin #ethereum #italy

Pills of Blockchain #08

Reel

Pill n.8 - Security #blockchain #phd #nft #clean #security #attack #51attack #robustness #world #strenght #immutable #immutability

Pills of Blockchain #09

Reel

Pill n.9 - Use Case Ethereum #blockchain #phd #bitcoin #ethereum #nft #token #world #smartcontracts #pos #proofofstake #instagram #italy #university

Pills of Blockchain #10

Reel

Pill n.10 - Smart Contract #blockchain #blockchaintechnology #smartcontract #reliability #versatile #automation #phd #bitcoin #ethereum #defi

Pills of Blockchain #11

Reel

Pill n.11 - NFT #blockchain #blockchaintechnology #smartcontract #nft #ethereum #crypto #asset #trading

Pills of Blockchain #12

Reel

Pill n.12 - Recap #first #blockchaintechnology #blockchain #initiative #begin #phd #new #season

Pills of Blockchain #13

Reel

Pill n.13 - Carpino use case @carpinonelmondo #newseason #blockchain #blockchaintechnology #phd #initiatives #carpino #new #world #gargano #italy #solutions #futuro #share

Pills of Blockchain #14

Reel

Pill n.14 - Supply Chain BuondiOli @buondioli @prolococarpino_official @carpinonelmondo #supplychain #olive #oliobiologico #agricoltura #carpino #blockchain #blockchaintechnology #phd #innovations #future

Pills of Blockchain #15

Reel

Pills n.15 - Insurance Gelata 2018 #carpino #gargano #italy #blockchain #blockchaintechnology #blockchainnews #assicurazioni #fondi #sostegno #tempistiche #calamità #interventi #phd #innovation

Pills of Blockchain #16

Reel

Pill n.16 - Personalized Experience Palio @palio.di.san.rocco @carpinonelmondo @creodraws #palio #carpino #tradizione #innovation #gargano #italy #blockchain #custom #phd #horses #cavalli

Pills of Blockchain #17

Reel

Pill n.17 - DAO Festival Folk #festival #carpino #innovation #phd #blockchain #folk #community #collaboration #tradition #world

Pills of Blockchain #18

Reel

Pill n.18 - Investment and NFT Terra #land #digitalization #blockchain #nft #investment #tokenization #innovations #carpino #gargano #world #phd

Pills of Blockchain #19

Reel

Pill n.19 - Financing Banana Coin #blockchain #financing #startup #phd #research #innovation #opportunity

Scroll horizontally to browse the full video archive.

Suggest a topic

This learning area can grow around new blockchain, distributed systems, digital assets, Web3, RWA, DeFi, CBDCs, quantum security, benchmarking, governance, scalability, and real-world deployment topics.

What should be explained next?

Suggest a concept, a practical problem, a tool, or a real-world use case that would be useful to explain through a short visual lesson or an interactive experiment.

Search the site