Lectures Publications Theses Events

Blockchain (BlCh)

The course covers blockchain foundations up to current platforms and applications, with weekly pre-recorded videos plus a news segment on recent developments. Content may vary from year to year. The practical part is the Challenge Task: students build a working decentralized app, which is required to pass this course. The practical work matters as much as understanding the theory.

Topics / Dates

The lectures will be pre-recorded and will up uploaded before the lecture on Friday at 18:55. 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.

NrDate (Exercises)Topics
0115.09.2026Admin (lecture and challenge task), Repetition / Introduction Blockchain
0222.09.2026Ethereum
0329.09.2026Solidity
0406.10.20261st hand-in, x402, UCP
0513.10.2026Fungible Tokens, Stablecoins, Non-Fungible Tokens
0620.10.2026Wallets and Seed Phrases
0727.10.20262nd hand-in, DeFi
0803.11.2026DEX
0910.11.2026Account Abstraction, DAOs
1017.11.20263rd hand-in, Interview / Guest, HTLCs, Cross-chain Atomic Swaps
1124.11.2026Scaling, Layer 2, Payment Channels
1201.12.2026Exam Preparation
1308.12.2026Final hand-in, Challenge Task Presentations / Expert Discussions
1415.12.2026Q&A and Challenge Task Award Winner Announcement

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

Online Lectures & Offline Exercises

I will be present in the exercise room 1.201 from 17:00 - 18:35. During exercises, you can work on your blockchain project (challenge task). You do not need to be present in the exercises, 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 1

Admin
News
Repetition DSy

The admin part gives an overview on the lecture content and presents the challenge task for this course (Slides: HS26-BlCh-01-admin_v3.pdf). The second video (news) reports on distributed systems and blockchain news. The first article covers how a company building AI coding agents factored RSA-260, the largest RSA challenge number solved publicly so far, by taking the standard general number field sieve off CPUs and onto GPUs: about 10 times cheaper than the previous state of the art, roughly 13.5 GPU-years or some 400'000 US dollars, done in about three weeks, with most of the engineering done by agent sessions and the human setting goals and benchmarks. Cryptography ages. Then a phishing wave against Trezor and BitBox users, via a breached shared email provider, echoing a real Coldcard seed bug that drained 1'370 Bitcoin. Finally Tor's Android VPN Beta: one circuit per app, Rust-based, used most in censored countries. (Slides: HS26-BlCh-01-news.pdf). The third video is the repetition of Distributed Systems (DSy) (Slides: HS26-BlCh-01-rep.pdf). [88min]

Lecture 2

Admin
News
Ethereum

The admin part gives an overview on the lecture content and presents the challenge task for this course (Slides: HS26-BlCh-02-admin.pdf). The second video (news) reports on distributed systems and blockchain news. The first article is about AWS losing customer data in the Persian Gulf after its facilities in Bahrain and the UAE were hit by Iranian drones, illustrating how distributing a system across availability zones does not make it safe if all the zones sit in one region, and why the 3-2-1 backup rule still matters. The next article shifts to the Ethereum Foundation's priorities for the Hegotá upgrade, with two 'must ship' proposals on censorship resistance and Frame Transactions, bringing account abstraction to Ethereum and turning accounts into something programmable. The next topic is about Shopify moving its mobile apps from React Native back to native code, emphasizing how good-enough AI coding tools make a shared cross-platform codebase less necessary. The final article serves as a reminder on the vulnerability of smart contract modules, highlighting how an MEV bot front-ran an attacker trying to steal about 7.7 million dollars from an Ethereum wallet by copying the attack and paying a block builder to be placed first (Slides: HS26-BlCh-02-news.pdf). The third video is the introduction of Ethereum (Slides: HS26-BlCh-02-ethereum.pdf). [80min]

Lecture 3

Admin
News
Solidity

The admin part gives an overview on the lecture content and presents the challenge task for this course (Slides: HS26-BlCh-03-admin.pdf). The second video (news) covers distributed systems and blockchain. Block (formerly Square) joins the x402 Foundation and adds Bitcoin Lightning payments to x402, the open standard named after HTTP 402 "Payment Required" that lets AI agents pay for APIs and digital services. Prediction market Trueo, a small player with about $796,000 in total value locked, plans to move from Coinbase's layer 2 Base to Ethereum for broader integrations. An optimization challenge cut the cost of a quantum-safe Bitcoin transaction by about 79%, from roughly $320 to under $67, though its designers call it a last resort and StarkWare still prefers a soft fork. Finally, a former senior GitHub engineer argues in "Plan mode is dead" that plan documents no longer pay off, since models can explore codebases and decide on their own in a loop of understand, act, inspect, clarify, adjust, and act again (Slides: HS26-BlCh-03-news.pdf). The third video is the introduction into Solidity (Slides: HS26-BlCh-03-solidity.pdf, Examples: HS26-BlCh-03-solidity.zip). [76min]

Lecture 4

Admin
News
x402

The admin part gives an overview on the lecture content and presents the challenge task for this course (Slides: HS26-BlCh-04-admin.pdf). The second video (news) covers distributed systems and blockchain. The essay "The Post-AGI Era" argues AGI is already here, depending on how it's defined. "10 tells of a slop UI" lists signs of generic AI-made interfaces, shown on the lecturer's tailon-ng site. A well-known JavaScript and TypeScript author's book income fell to zero by 2026 as AI crawlers replaced human readers. Ethereum's Glamsterdam upgrade hits Sepolia on 6 October with in-protocol proposer-builder separation, block-level access lists and new gas pricing, so contracts relying on fixed gas, like Solidity's transfer and send, need re-testing. Vitalik Buterin's "The cryptographic world computer" predicts that by 2030 Ethereum will rely on cryptographic proofs, fast finality and distributed block building. Finally, Porsche is shutting down its Web3 project after its 911 NFTs drew only about 38'000 dollars in trading last year (Slides: HS26-BlCh-04-news.pdf). The third video is the introduction of x402 (Slides: HS26-BlCh-04-x402, Examples: HS26-BlCh-04-x402.zip). [63min]

Lecture 5

Admin
News
Tokens, NFTs

The admin part gives an overview on the lecture content and presents the challenge task for this course (Slides: HS26-BlCh-05-admin.pdf. The second video (news) reports on distributed systems and blockchain news. The first article, “Software Engineering is Dead. Long Live Product Engineering.”, argues that cheap AI-generated code shifts value to understanding the problem, and warns that juniors are losing the chance to learn through senior-reviewed code. The next article is a serverless horror story: a self-rescheduling Cloudflare Durable Object alarm ran for 23 days without a spending cap and produced a bill of over $10'000. The next topic covers Yandex losing three of its five data centres to drone attacks, which shows that even distributed systems have limits. The next article reports that Ledger customers in Southeast Asia lost an estimated $86 million after buying devices from an official reseller. The final article covers Ethereum’s Glamsterdam upgrade, now live on the Sepolia testnet used in the lecture’s challenge task, so gas costs may differ from older guides (Slides: HS26-BlCh-05-news.pdf). The third video is the introduction of Fungible Tokens, Stablecoins, Non-Fungible Tokens (Slides: HS26-BlCh-05-tokens, Examples: HS26-BlCh-05-tokens.zip). [73min]

Lecture 6

Admin
News
Wallets and Seed Phrases

The admin part gives an overview on the lecture content and presents the challenge task for this course (Slides: HS26-BlCh-06-admin.pdf. The second video (news) reports on distributed systems and blockchain news. A hardware implant in Ledger Nano X devices from Malaysian reseller CryptoBilis steals recovery phrases over LTE (buy direct from the manufacturer). AI agents like OpenAI’s model breaking into Hugging Face aren’t “going rogue”; labs skipped basic sandboxing and egress control. Most submarine cable faults come from anchors and fishing gear, not sabotage, while ownership concentrates with Google. Starknet votes on leaving Ethereum for layer 1 to become quantum-resistant by 2027 (Slides: HS26-BlCh-06-news.pdf). The third video is the introduction of Wallets and Seed Phrases (Slides: HS26-BlCh-06-wallets). [70min]

Lecture 7

Admin
News
DeFi

The admin part gives an overview on the lecture content and presents the challenge task for this course (Slides: HS26-BlCh-07-admin.pdf. The second video (news) reports on distributed systems and blockchain news. The first article covers Switzerland’s first spot Bitcoin ETF and why its structure matters if the issuer goes bankrupt. The next article is OST’s call for company and open-source software projects for students. The next topic is an experiment showing how 50'000 fake AI-generated statistics got cited by ChatGPT and in real research. The next article reports on Russia’s ban on peer-to-peer crypto trades and self-custody transfers. The final article covers eMudhra’s certificate authority keys, which were only a single byte long (Slides: HS26-BlCh-07-news.pdf). The third video is the introduction of decentralized finance (DeFi) (Slides: HS26-BlCh-07-defi). [81min]

Lecture 8

Admin
News
DEX

The admin part gives an overview on the lecture content and presents the challenge task for this course (Slides: HS26-BlCh-08-admin.pdf. The second video covers blockchain and distributed systems news. The Binance hack, the largest crypto theft yet, took about $6.4 billion from hot wallets on ten chains in 20 minutes. It is attributed to North Korea’s TraderTraitor, which used a compromised engineer’s laptop and EIP-7702 delegation. Tether and Circle froze about $2.7 billion, but $2.4 billion in BTC and ETH can’t be frozen, which reopens the debate over forks and central control. A Trezor Safe 5 from CryptoBillies allegedly had an implant that leaked the wallet backup over the mobile network, so buy hardware wallets only from the manufacturer. In Starknet’s vote, about 94% backed research into a post-quantum layer 1, with a whitepaper due in November. Finally, “Black October” brought a backdoored Claude Code extension on the Cursor marketplace that hit about 5,000 developers, incidents at Northflank, Scribd, AO3 and bunny.net, and an unpatched Linux MPTCP flaw (CVE-2026-98432, CVSS 9.8) (Slides: HS26-BlCh-08-news.pdf). The third video is the introduction of decentralized exachanges (DEXs) (Slides: HS26-BlCh-08-dex). [80min]

Lecture 9

Admin
News
Account Abstraction
DAO

The admin part gives an overview on the lecture content and presents the challenge task for this course (Slides: HS26-BlCh-09-admin.pdf. The second video covers blockchain and distributed systems news. The Open Game Jam at OST runs 20–22 November: free, open to all, and it starts with Godot. In the Binance hack, North Korea’s TraderTraitor spent months working through Homebrew, fake job interviews, malware and an AI tool, then drained the wallets with a deployment token from a laptop. Never keep such tokens on laptops. A benchmark of AI-written JavaScript apps found Hono + htmx cheapest at $2.70 per run and Angular priciest at $5, so pick tools on data. A blog post argues AI gave no time back, only constant context switching. Almost 16'000 websites run malicious JavaScript, and CERTs are the pragmatic way to notify owners. Finding flaws is cheap, fixing them still needs people (Slides: HS26-BlCh-09-news.pdf). The third video is the introduction of account abstraction in Ethereum (Slides: HS26-BlCh-09-account). The fourth video is about decentralized autonomous organization (DAOs) (Slides: HS26-BlCh-09-dao). [92min]

Lecture 10

Admin
News
Interview with Carl Mikael Björn
HTLC

The admin part gives an overview on the lecture content and presents the challenge task for this course (Slides: HS26-BlCh-10-admin.pdf. The first article showcases Brave's new x402 support for its Search API: AI agents pay half a cent per request with USDC on Base, no account and no API key, finally giving the HTTP status code 402 Payment Required a use, while a caveat remains that USDC is a centralized stablecoin Circle can freeze. The next article covers Polymarket's push into Europe and why the Swiss supervisor GESPA treats its event contracts as gambling under the 2018 Gambling Act, keeping the platform blocklisted even though almost 45'000 dollars sit on Swiss national votes. The third topic is a security report from Apiiro: Claude Code stores approved commands in .claude/settings.local.json, and over a thousand real secrets have ended up in public copies of that file on GitHub. Next comes a hobbyist running a silent Debian homelab on a 10-dollar OpenStick 4G dongle, ten container services plus an AI agent on Telegram, with root access as the one bad idea. The final article is United Airlines banning personal AI agents from booking flights, the mirror image of Brave's answer to the same flood of agents (Slides: HS26-BlCh-10-news.pdf). The third video is an interview with Carl Mikael Björn. The fourth video introduces hashed time-lock contracts (HTLCs) (Slides: HS26-BlCh-10-htlc). [107min]

Lecture 11

Admin
News
Scaling

The admin part gives an overview on the lecture content and presents the challenge task for this course (Slides: HS26-BlCh-11-admin.pdf. The second video (news) reports on distributed systems and blockchain news. The first article covers the Swedish AI startup Lovable, where you describe a web app in plain language and it builds it for you, including user management and a database. The security firm Crissy Field checked how well those apps protect their data: out of roughly 159'000 Lovable projects found via the Common Crawl archive, about 34'500 used Supabase and almost 25'000 sent database records straight to the browser with no login, exposing everything from an 80'000-profile German lifestyle forum to over 1'000 passport numbers. The next article is about a developer who vibe-coded a Google Forms addon welcome screen that took 15 seconds to load, and the argument that AI tools quietly make architectural decisions for you, so developers should move into the architect role instead of the coding role. After that, DoorDash's CEO admits AI agents have generated only a few hundred orders on a platform that handled almost a billion orders in a quarter, a reminder that agentic commerce is still in its early days, which also ties into the x402 wallet approach the students build in the challenge task. The final and biggest story is Bitcoin dropping below 60'000 dollars on Friday, November 20: about 30% down in a month, more than half its value gone since the October 2025 record, driven by a tech selloff, expected rate hikes, ETF outflows and forced liquidations, with the Fear and Greed Index at extreme fear and the awkward lesson that Bitcoin traded like a tech stock rather than digital gold (Slides: HS26-BlCh-11-news.pdf). The third video is about scaling and payment channels (Slides: HS26-BlCh-11-scaling). [70min]

Lecture 12

Admin
News

The admin is about the exam preparation (Slides: HS26-BlCh-12-admin.pdf, Exam: HS25-BlCh-exam.pdf). The second video (news) reports on distributed systems and blockchain news. The first article is a blog post on why self-hosting is fun again: after years of fading enthusiasm, the author put his whole setup — Docker Compose files, scripts and configuration — into Git, moved his home server to NixOS and let AI coding agents cut a week of work down to half a day, while still warning that every service adds maintenance and every agent change has to be understood. The next topic is what happened after the GTA 6 leak: a community project porting the leaked Xbox build to PC by inviting people to "throw their agents" at GitHub issues, where writing code is no longer the bottleneck — reviewing is, and a repo can even attack the reviewer with hidden instructions in a README. The third article covers a theoretical computer scientist's claim that the AI labs are sitting on cryptography "bombshells", one rumour being a polynomial-time factoring algorithm that would break RSA, on the back of a wave of AI-assisted proofs. The fourth piece asks where AI agents' payments leave crypto: cards make sense when an agent books a flight but fail per API call, where x402 on Base keeps fees at a few cents — yet the question of who pays when an agent errs is still open. The final article is a Polymarket case: the analytics firm Bubblemaps found clusters of accounts that made more than 340'000 dollars betting on Jensen Huang's return to Nvidia, easy to see on a public blockchain but impossible to attribute, since the accounts are only pseudonymous (Slides: HS26-BlCh-11-news.pdf). [63min]

Challenge Task HS 2026

This semester's challenge task (CT) is the design and implementation of a system using x402 with stablecoins.

You will demonstrate how an API can serve autonomous agents or scrapers without accounts, API keys or subscriptions. Requests to a service of your choosing are free up to a rate limit. Once the limit is exceeded, the server responds with 402 Payment Required instead of refusing service. The agent reads the payment requirements from the response, signs a stablecoin payment, and retries the request. It either pays for each request individually, or pays once for a block of requests.

The concepts and technologies around x402 are covered in this lecture series.

Requirements

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

  1. Find a suitable use-case for your system
  2. Frontend: a simple frontend (HTML, Vue, React, Svelte, …) for each of the three components: agent client/scraper, facilitator, and resource server.
  3. Public blockchain: the app runs on a public chain (Ethereum or Ethereum-based like Base, Solana, …). A public testnet is fine.
  4. 402 payments: your system must demonstrate the full x402 flow end to end.
  5. Resource server: serves real data or compute. Enforces a free-tier rate limit. Once the limit is exceeded, it returns a 402 challenge containing price, network, asset and recipient, then verifies and settles the payment before serving the resource.
  6. Agent client/scraper: supports 402, checks price and network against its own budget policy before signing, pays and retries.
  7. Settlement: stablecoin (e.g. USDC) on a public testnet, via EIP-3009 transferWithAuthorization or the equivalent on the chosen chain.
  8. You can use an existing facilitator if you work alone (e.g., launa, Cloudflare, …). Groups must implement their own facilitator (/verify and /settle).

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 at most 2 students 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.

NrNameTopicsHand-in 3
01Michael S.StudyStash✓
02Andrin K.Code-Review-API✓
03Lukas B.x402 Compute✓
04David B.godocs402✓
05Mawule A.PixelBattle✓
06Michael A.Smart Travel✓
07Joys G.MarketPulse402✓
08Martin A.Hiking Advisor✓
09Zhili Z.SwissTransit402✓