Blockchain and distributed ledger technologies Single channel
Chair (Coordinator) and Rapporteur: MASSIMO LA MORGIA
Lecturers
Objectives
General goals:
Blockchains emerged as a novel, game-changing paradigm for the distributed management of transactional systems. A blockchain is a protocol for the management of distributed ledgers, that is for the decentralised storage of a tamper-proof sequence of transactions (ledger), maintained and verified by the nodes participating in the network. A combination of peer-to-peer networks, consensus-making, cryptography, and market mechanisms is at the core of blockchains, which ensure data integrity and transparency thereby. An increasing number of blockchain platforms provides support for so-called smart contracts, that is, executable code expressing how business is to be conducted among contracting parties (e.g., transfer digital assets after a condition is fulfilled). The design of a secure, verifiable and efficient blockchain-based application requires the capability of properly architecting the behavioural structures amid the involved parties. The course covers in details the principles and technologies underpinning blockchain platforms and the properties they guarantee, on one hand, and is aimed at providing the means for the creation and analysis of blockchain-based solutions and applications, on the other hand.
Specific goals:
The course revolves around four main topics: 1) fundamentals of blockchains and distributed ledger technologies; 2) smart contracts programming; 3) development of a full-stack blockchain-based application; 4) assessment and analysis of a blockchain-based application.
Knowledge and understanding:
Students will learn the basics of blockchain technologies and the interplay of the underlying techniques that lead to the immutability, persistency, security and eventual consistency of the blockchain platforms. Furthermore, they will learn how to encode smart contracts and, thereupon, create full-stack Decentralised Applications (DApps). To properly design DApps and the token systems they rely upon, learners will apply the principles of process behaviour modelling and execution. To that end, an overview of cybersecurity challenges, as well as legal and privacy aspects, will also be provided.
Application of knowledge and understanding:
At the end of the course, students will have gained a better understanding of the fundamental pillars of distributed ledger technologies and blockchains. Also, they will have the ability to design and implement blockchain-based systems. Furthermore, they will produce reports in a manner that provides the most value to the stakeholders of decentralised applications.
Critical and judgmental skills:
Learners will develop the ability to assess the quality of decentralized applications and blockchain-based solutions at large from the perspectives of reliability, behavioural soundness, execution cost, on-chain and off-chain load balance, applicability, cybersecurity, and privacy.
Communication skills:
Students will learn how to document their choices, including through the use of diagramming and reporting tools. They will also have acquired the ability to prepare presentations on scientific subjects.
Learning ability:
The notions acquired during the course will provide students with solid knowledge in order to further investigate the most advanced technical aspects and to keep themselves informed about the continuous developments and updates of blockchain and distributed ledger technologies.
Learning outcomes
1. Knowledge and understanding
At the end of the course, students will have an in-depth understanding of the theoretical foundations and architectures of blockchain technologies, with a specific focus on Bitcoin and Ethereum. They will understand the principles of distributed consensus, the structure and properties of immutable ledgers, the economic models underlying cryptocurrencies, and the cryptographic mechanisms that ensure their security.
Students will also gain a comprehensive understanding of the main Decentralized Finance (DeFi) protocols and of the most common vulnerabilities, attacks, and scams in the cryptocurrency ecosystem.
2. Applying knowledge and understanding
Students will be able to analyze blockchain and DeFi protocols, interpret their technical components, and assess their properties in terms of security, efficiency, and scalability. They will be able to apply theoretical models and analytical tools to evaluate real-world cases, including security incidents and fraudulent schemes in cryptocurrency systems.
3. Making judgements
Students will develop the ability to critically evaluate the strengths and limitations of blockchain technologies and to form independent judgements about the reliability, sustainability, and ethical implications of decentralized systems. They will be able to identify and assess risks, vulnerabilities, and fraudulent behaviors within blockchain and DeFi environments.
4. Communication skills
Students will be able to communicate complex concepts and analyses related to blockchain, consensus protocols, DeFi, and distributed system security in a clear, rigorous, and structured manner. They will be capable of presenting and discussing case studies and critical analyses effectively in both academic and professional contexts, using appropriate technical terminology.
5. Learning skills
Students will acquire the ability to independently update and expand their knowledge in the fields of blockchain, cryptocurrencies, and decentralized finance. They will be able to read, understand, and critically evaluate scientific papers and technical documentation, maintaining an informed and analytical approach to emerging technologies and risks in the blockchain domain.
Prerequisites
No prerequisites required.
Programme
Bitcoin
Hash and Data Structure based on Hash
Digital Signatures
Consensus on Bitcoin and PoW
Incentives in Bitcoin
Mining and mining pool
51% Attacks
Bitcoin Transactions
Bitcoin Script and scripts applications
Bitcoin Blocks
Soft and Hard Forks
Wallet and Bitcoin Storage
Ethereum
EOA and Smart Contracts Accounts
PATRICIA Merkle Trie
Gas and Gas Fee
Ethereum PoS Consensus protocols, Casper and GHOST
Ethereum Incentive Layer
MEV
Advanced Topics:
Pump and Dump.
NFT WashTrading.
Liquidity Pool and Rug Pull.
Books
Bitcoins:
Bitcoin and Cryptocurrency Technologies: A Comprehensive Introduction, Arvind Narayanan, Joseph Bonneau, Edward Felten, Andrew Miller, and Steven Goldfeder.
Bitcoin: A Peer-to-Peer Electronic Cash System, Satoshi Nakamoto. Link: https://bitcoin.org/bitcoin.pdf
Ethereum:
White paper: https://ethereum.org/en/whitepaper/
Ethereum documentation: https://ethereum.org/en/developers/docs/
Ethereum book: https://eth2book.info
Additional materials:
Mastering Bitcoin: https://github.com/bitcoinbook/bitcoinbook/tree/develop
Mastering Ethereum: https://github.com/ethereumbook/ethereumbook
Lessons mode
In-person lectures.
Frequency
While in-person attendance is not mandatory, the latter is strongly recommended.
Exam mode
The exam is composed of two sections: Written Exam and Practical Tasks.
1. Written Exam
The written exam will be held on the scheduled exam date. It consists of open questions, multiple-choice questions, and exercises.
2. Report and Presentation
This activity involves writing a short report on a topic agreed upon with the instructor, followed by an oral presentation.
3. Practical Tasks
These tasks involve hands-on applications of blockchain concepts and will be assigned throughout the course.
Example exam questions
Report and presentation on an advanced topic, practical exercises such as performing transactions on the Bitcoin network, and a written exam.
Examples of questions for the written exam:
What are Bitcoin “UTXOs”? Explain their role in tracking Bitcoin balances and enabling transaction verification
A is a Bitcoin address, let K be a public key. A=RIPEMD160(SHA256(K)). The length of A expressed in bytes is: ________________. (fill in the gap)
Arguments
- Introduction and fundamentals
- Bitcoin
- Ethereum
- Advanced topics
Sustainability goals
- Academic year2026/2027
- Degree program to which the course belongsCybersecurity
- Lesson code10600490
- Year and semester2nd year - 1st semester
- Activity typeAttività formative affini ed integrative
- Academic areaAttività formative affini o integrative
- SSDINF/01
- Mandatory presenceNo
- Languageita
- CFU6 CFU
- Total duration60 hours
- Hours distribution36 classroom hours, 24 training hours