Abstract
This chapter conceptualizes computer code as constitutional rules and constraints governing blockchain technology. The Bitcoin protocol is essentially a set of rules written in computer code, governing what is, and what is not, allowed by the participants in the Bitcoin network. In this sense, it is like a constitution. No single participant can change the rules, but new rules can be advanced by different participants. The key to understanding Bitcoin’s rules is to understand consensus at all levels. In this context, Buchanan’s scholarship analyzing constitutional choice is extremely relevant to blockchain technology in general, and Bitcoin in particular.