Lectures Publications Theses Events

Blockchain (BlCh)

Important dates: (always check https://unterricht.ost.ch)

Topics / Dates

The lectures will be pre-recorded and will up uploaded before the lecture on Monday at 13:10. The length of the videos will be ~60 minutes (2 x 30 min. lectures) divided into segments. The news segment (~10 min) will cover news around the topics blockchain and distributed systems and are not part of the exam. It should serve as on overview of current topics in this field.

NrDateTopics
0115.09.2025Admin (lecture and challenge task), Repetition DSy (part 1) - no exercises
0222.09.2025Repetition DSy (part 2), Introduction Blockchain
0329.09.2025Ethereum Components / Architecture, Account Abstraction
0406.10.20251st hand-in, Solidity
0513.10.2025Fungible Tokens, Non-Fungible Tokens, part 1
0620.10.2025Fungible Tokens, Non-Fungible Tokens, part 2
0727.10.20252nd hand-in, DeFi
0803.11.2025DEX
0910.11.2025Wallets and Seed Phrases, POAP, HTLCs, Cross-chain Atomic Swaps, Payment Channels, Algorithms/Mechanisms for Fully Distributed Systems
1017.11.20253rd hand-in, Guest
1124.11.2025Ethereum Layer 2, Stablecoins
1201.12.2025Exam Preparation
1308.12.2025Final hand-in, Challenge Task Presentations
1415.12.2025Q&A and Challenge Task Award Winner Announcement - no exercises

(those are preliminary topics, may be subject to change)

Online/Offline Lectures & Exercises

I will be present in the lecture room 1.257 from 13:10 - 18:40. In the lecture, I will give a brief summary of the video, and if you have not watched the lectures, you can watch it in the lecture (13:10 - 14:50). During exercises (15:10 - 18:40), you can work on your blockchain project (challenge task). You do not need to be present on Monday, but it is highly recommended to discuss your issues and problems with the challenge task with the lecturer. On request, you can also join the exercises remotely via MS Teams.

The online lectures and PDFs can be accessed from outside the OST network (also on YouTube), the exercise and admin material only with VPN.

Lecture

Lecture 1

Admin News
Repetition DSy part 1

The admin part gives an overview over this lecture and presents the challenge task for this course (Slides: HS25-BlCh-01-admin.pdf). The weekly news summary covers four articles. The first article covers undersea cable cuts in the Red Sea that disrupted global internet connectivity, demonstrating hardware failure inevitability in distributed systems. The next article discusses Switzerland's launch of Apertus, an open-source multilingual language model representing sovereign AI infrastructure development. The third topic examines Stripe's Tempo blockchain for stablecoin payments, emphasizing the importance of truly permissionless networks over private implementations. The final article covers World Liberty Financial's token freezing controversy, illustrating the contradiction between blockchain's decentralized promises and centralized control mechanisms (Slides: HS25-BlCh-01-news.pdf). The third video starts with the repetition (part 1) of Distributed Systems (DSy) (Slides: HS25-BlCh-01-rep1.pdf). [81min]

Lecture 2

Admin News
Repetition DSy part 2

The admin part gives an update over this lecture and challenge task (Slides: HS25-BlCh-02-admin.pdf). The second video (news) reports on distributed systems and blockchain news. The first article covers a supply chain attack where compromised NPM maintainers injected crypto-stealing malware into popular packages. The next article shows WSL2 delivering 87% of bare metal performance with I/O slowdowns. The third topic details SwissBorg's $41.5 million loss through their staking partner's compromised API. The fourth article discusses NGINX's new built-in SSL certificate management. The final article mentions PayPal's cryptocurrency payment integration (Slides: HS25-BlCh-02-news.pdf). The third video is the repetition (part 2) of Distributed Systems (DSy), including the Bitcoin/Blockchain introduction. (Slides: HS25-BlCh-02-rep2.pdf). [75min]

Lecture 3

Admin News
Ethereum Account Abstraction

The admin part gives an update over this lecture and challenge task (Slides: HS25-BlCh-03-admin.pdf). The second video (news) reports on distributed systems and blockchain news. The first article covers a sophisticated NPM supply chain attack that used worm-like propagation to compromise over 500 packages, targeting cloud credentials on Linux/macOS systems. The next article introduces PrevelteKit, a minimalistic web framework that generates static files at build time for CDN deployment. The third article explains building Docker-like containers from scratch using standard Linux tools and namespace isolation. The cryptocurrency section covers Bitcoin's decline due to ETF outflows and liquidations. The multikernel proposal discusses running multiple Linux kernels on single machines with dedicated CPU cores. The GenAI article argues AI amplifies senior developers rather than democratizing coding. The final article covers Switzerland's successful deposit token proof-of-concept enabling blockchain-based programmable payments using traditional bank deposits (Slides: HS25-BlCh-03-news.pdf). The third video introduces Ethereum and shows how to deploy a smart contract on the Ethereum testnet (Slides: HS25-BlCh-03-ethereum.pdf). The fourth video introduces account abstraction (Slides: HS25-BlCh-03-account-abstraction.pdf). [122min]

Lecture 4

Admin News
Solidity Account Abstraction Demo

The admin part gives an update over this lecture and challenge task (Slides: HS25-BlCh-04-admin.pdf). The second video (news) reports on distributed systems and blockchain news. The first article covers a record 22 Tbps DDoS attack by the Aisuru botnet, reinforcing network unreliability. The next discusses Afghanistan's September 2025 internet blackout affecting 43 million people. The third topic presents nine European banks launching a MiCA-compliant euro stablecoin in 2026, though permissioned blockchain choices may hinder adoption. The fourth article announces Cloudflare's NET Dollar stablecoin for AI-driven payments. The final topic examines Circle's reversible USDC transactions, which contradicts blockchain's core immutability principle (Slides: HS25-BlCh-04-news.pdf). The third video introduces Solidity (Slides: HS25-BlCh-04-solidity.pdf). The fourth video shows the ERC 4437 account abstraction on the Ethereum testnet. (Slides: HS25-BlCh-04-account-abstraction.pdf). [136min]

Lecture 5

Admin News
Tokens and NFTs, part 1

The admin part gives an update over this lecture and challenge task (Slides: HS25-BlCh-05-admin.pdf). The second video (news) reports on distributed systems and blockchain news. The first two articles show self-hosting email is feasible with proper SPF, DKIM, and DMARC configuration. The next article explains consistent hashing, which minimizes data movement when nodes change by using circular mapping. The following article details the AT protocol's URI resolution in Bluesky, which separates user identity from hosting location for portability. The final article describes South Korea's data center fire that destroyed 750,000 civil servants' files with no external backups, demonstrating why redundancy is critical (Slides: HS25-BlCh-05-news.pdf). The third video introduces fungible tokens (Slides: HS25-BlCh-05-tokens-ft.pdf). [53min]

Lecture 6

Admin News
Tokens and NFTs, part 2

The admin part gives an update over this lecture and challenge task (Slides: HS25-BlCh-06-admin.pdf). The second video reports on distributed systems and blockchain news. The first article advocates owning your email domain but oversells "full control" when only providing backups. The next discusses self-hosting benefits despite hardware reliability issues. The third exposes Bluesky's centralization problem—despite decentralization claims, alternatives depend on Bluesky's infrastructure, similar to OpenSea's marketplace dominance. The fourth examines how AI assistants enable building small utilities economically, introducing "vibe engineering" as skilled AI-assisted development. The final covers a $192 million Bitcoin short timed minutes before Trump's tariff announcement, linked to BitForex's former CEO, illustrating unpunished manipulation in crypto markets (Slides: HS25-BlCh-06-news.pdf). The third video introduces non-fungible tokens (Slides: HS25-BlCh-06-tokens-nft.pdf). [64min]

Lecture 7

Admin News
DeFi

The admin part gives an update over this lecture and the 2nd hand-in of the challenge task (Slides: HS25-BlCh-07-admin.pdf). The second video (news) reports on distributed systems and blockchain news. The first article examines homelab complexity, showing self-hosting requires handling storage failures and system deadlocks that cloud providers automate. Next, two companies demonstrate infrastructure optimization: one cut cloud costs 76% by migrating to Hetzner, another gained 6x performance by replacing serverless with stateful Go servers to eliminate caching latency. The following article covers Go 1.25's CSRF protection and authentication security tradeoffs. Next is a warning about fake job interview scams distributing malware-infected code to steal cryptocurrency. The penultimate article describes Paxos accidentally minting then burning 300 trillion PYUSD tokens, exposing centralized control risks. The final article reports the DOJ's largest seizure: 15 billion dollars in bitcoin from a Cambodian pig butchering operation (Slides: HS25-BlCh-07-news.pdf). The third video introduces decentralized finance - DeFi (Slides: HS25-BlCh-07-defi.pdf). [91min]

Challenge Task HS 2025

This semester's challenge task (CT) is the design and implementation of a gasless application using account abstraction (we will talk in the lecture what account abstraction is). Students demonstrate how users can interact with blockchain applications without owning or paying gas fees. This could be an application where users: vote on governance proposals without needing gas fees, mint and trade NFTs while the platform sponsors all transaction costs, play blockchain games with in-game actions sponsored by the game developer, participate in DeFi (staking, swapping, lending) without gas fee barriers, complete online courses and earn certificates/tokens gaslessly, ...

Requirements

All requirements below must be met in order to pass this lecture.

  1. A working prototype demonstrating gasless user interactions
  2. Use latest stable releases of chosen libraries and frameworks
  3. Interaction with a public blockchain (can be testnet)
  4. At least 2 participants need to be involved.
  5. Gasless transaction implementation using account abstraction
  6. Status and process need to be shown in the frontend

Deliverables

You are allowed to use any language, framework, and platforms. However, the supervisors are familiar with those: Golang, Java, JavaScript/TypeScript, Ethereum, Sui, Bitcoin, Linux.

Groups

There will be groups of 2-3 for the challenge task. During the challenge task, the group shall meet every week during exercise hours to work on the task and discuss the next steps. The groups shall utilize their homework times to work on the challenge task, besides the exercise time slots. The groups shall determine and set-up an internal project plan and shall distribute the workload so that each group member gets a fair load of work. Group results will be only accessible via VPN.

NrName 1Name 2Name 3ProjectHand-in1
01Diego F.Pietro L.Leandra M.NFT-Quiz
02Arnel V.Fabio G.Gasless Crowdfunding
03Silvan L.Doriano P.Sara O.Mensa Menu Voting
04Stefanie J.Mona P.Laura T.Voting App
05Nico H.Baru B.Etienne K.Flatfeestack
06Timo S.Sven E.Davide F.gaslessCert
07Jovin R.Lenny M.VoteV3
08Marcel S.Colin L.Tareq K.PollChain