Introduction — A general equilibrium monetary model is developed to study the optimal design of a cryptocurrency system based on a blockchain. The model is then calibrated to Bitcoin transaction data to perform a quantitative assessment of the scheme. We formalize the critical elements of a cryptocurrency: the blockchain to keep a…