Blockchain and distributed ledger technologies

Course 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.

Channel 1
MASSIMO LA MORGIA Lecturers' profile

Program - Frequency - Exams

Course program
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
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 3 or 4 open questions. 2. Practical Tasks: - These tasks involve hands-on applications of blockchain concepts and will be assigned throughout the course. Passing Requirements - Written Exam: A minimum score of 18 points is required to pass this section. - Practical Tasks: Completion of all assigned tasks is mandatory to pass this section.
Bibliography
The doge of wall street: Analysis and detection of pump and dump cryptocurrency manipulations: Massimo La Morgia, Alessandro Mei, Francesco Sassi, Julinda Stefa A game of NFTs: Characterizing NFT wash trading in the Ethereum blockchain: Massimo La Morgia, Alessandro Mei, Alberto Maria Mongardini, Eugenio Nerio Nemmi Token Spammers, Rug Pulls, and Sniper Bots: An Analysis of the Ecosystem of Tokens in Ethereum and in the Binance Smart Chain : Federico Cernera, Massimo La Morgia, Alessandro Mei, Francesco Sassi
MASSIMO LA MORGIA Lecturers' profile

Program - Frequency - Exams

Course program
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
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 3 or 4 open questions. 2. Practical Tasks: - These tasks involve hands-on applications of blockchain concepts and will be assigned throughout the course. Passing Requirements - Written Exam: A minimum score of 18 points is required to pass this section. - Practical Tasks: Completion of all assigned tasks is mandatory to pass this section.
Bibliography
The doge of wall street: Analysis and detection of pump and dump cryptocurrency manipulations: Massimo La Morgia, Alessandro Mei, Francesco Sassi, Julinda Stefa A game of NFTs: Characterizing NFT wash trading in the Ethereum blockchain: Massimo La Morgia, Alessandro Mei, Alberto Maria Mongardini, Eugenio Nerio Nemmi Token Spammers, Rug Pulls, and Sniper Bots: An Analysis of the Ecosystem of Tokens in Ethereum and in the Binance Smart Chain : Federico Cernera, Massimo La Morgia, Alessandro Mei, Francesco Sassi
  • Lesson code10600490
  • Academic year2025/2026
  • CourseCybersecurity
  • CurriculumSingle curriculum
  • Year2nd year
  • Semester1st semester
  • SSDINF/01
  • CFU6