CS 251: Bitcoin and Cryptocurrencies

Cryptocurrencies, blockchains, and smart contracts

Autumn 2016

The course covers all aspects of cryptocurrencies, including distributed consensus, blockchains, smart contracts and applications. We will focus in detail on Bitcoin and Ethereum as case studies.


Course syllabus (and readings)
Course overview (grading, textbooks, coursework, exams)
CS251 Lectures: Monday, Wednesday:   15:00-16:20,   Skilling Aud.
Sections: Friday:   15:30-16:20,   Gates B03.
CA mailing list: cs251ta@cs.stanford.edu

Final Exam

Students may take the final at either one of the following two dates:

  • Option 1: (scheduled)   Mon., Dec. 12,  15:30-18:00pm, Skilling Aud.
  • Option 2: (alternate)   Tue., Dec. 13,  15:30-18:00pm, Herrin T175

Previous final exams:   [2015]    [2016]

For remote SCPD students: Please email the TAs with your email address, the email address of your SCPD monitor if you have one, and which day you would like to take the exam. We will email a pdf to you which you should print, complete, and email back to us. Hold on to your completed exam until you receive confirmation. Note that if you are local to the bay area, you must come to one of the two exam slots, unless you contact us in advance.


Homework #1:    [pdf]
Due: 2016-10-10
Homework #2:    [pdf]
Due: 2016-11-02
Homework #3:    [pdf]
Due: 2016-11-28


Project #1: Perform Bitcoin transactions using bitcoinj
Assignment: [instructions] [starter code]
Due: 2016-10-19
Project #2: Experiment with mining strategies
Assignment: [instructions] [starter code]
Due: 2016-10-27
Project #3: Explore the block chain
Due: 2016-11-14
Project #4: Smart contracts
Due: 2016-12-07