Study-unit BLOCKCHAIN AND SMART CONTRACTS

Course name Informatics
Study-unit Code A004650
Curriculum Artificial intelligence
Lecturer Leonardo Mostarda
Lecturers
  • Leonardo Mostarda
  • Ivan Mercanti (Codocenza)
  • Stefano Bistarelli (Codocenza)
Hours
  • 28 ore - Leonardo Mostarda
  • 28 ore (Codocenza) - Ivan Mercanti
  • 7 ore (Codocenza) - Stefano Bistarelli
CFU 6
Course Regulation Coorte 2023
Supplied 2024/25
Learning activities Affine/integrativa
Area Attività formative affini o integrative
Sector INF/01
Type of study-unit Opzionale (Optional)
Type of learning activities Attività formativa monodisciplinare
Language of instruction English
Contents 1)Introduction and Bitcoin 2)Blockchains and DLT in general 3)Element of cryptography4)Blockchain consensus protocols6)Ethereum 7)Scalability issues and second layer
Reference texts 1) Mastering Bitcoin
Author: Anas M. Antonopoulos
Editor: O'Reilly Media, Inc.
ISBN: 9781491902646, 9781491921982, 9781322403748, 1491902647, 1491921986, 1322403740
2) Mastering Ethereum : building smart contracts and DApps
Authors: Andreas M. Antonopoulos, Gavin Wood
Editor: O'Reilly Media, Inc.
ISBN: 9781491971949, 1491971940
3) Mastering Blockchain
Author: Lorne Lantz, Daniel Cawrey
Editor: O'Reilly Media, Inc.
ISBN: 1147974642

Educational objectives Understand the meaning of Blockchain and the various types and consent algorithms behind it.
Understand the most important notions of Bitcoin and Ethereum. Principles on how to make Smart Contracts.
Prerequisites None
Teaching methods Face-to-face and laboratory. Possibility of seminars by external guests
Other information The frequency of the lectures is strongly suggested
Learning verification modality The exam will be divided into two parts:
-Oral interview lasting an average of 30 minutes on topics of covering all the program of the course. Possibility of specific projects or seminars.
- Specific project on course topics, assigned by professors.

At the request of the student examination can 'be done in Italian or English.
Extended program Introduction and Bitcoin
-Course information: resources, labs and exam
-bitcoin history
-transactions and addresses
-wallets (full miner node, router node)
-proof-of-work consensus and forks
-Blocks verification and propagation
-bitcoin scripting language
-bitcoin transaction types
- bitcoin transaction statistics
-Bitcoin: contract examples, escrow, multisignatures



Blockchains and DLT in general
-Blockchain architecture
-Types of blockchains
-Blockchain limitations and second layer

Element of cryptography
-Elliptic curve
-ECDSA
-Bitcoin example

Blockchain consensus protocols:
-Byzantine general problem
-PBFT
- BESU
-Proof of stake
-The tangle: IOTA
-More consensus protocols

Ethereum
-What Is Ethereum
-Ethereum Basics
-Ethereum Clients
-Wallets
-Transactions
-Smart Contracts and Solidity
-Tokens
-Oracles
-Decentralized Applications (DApps)
-The Ethereum Virtual Machine
Scalability issues and second layer:
-Sharding
-Payment channel and state channels
-Sidechain
-Delegation

Obiettivi Agenda 2030 per lo sviluppo sostenibile yes