We analyze retail central bank digital currency (CBDC) in a two-tier monetary system with bank deposit market power and externalities from liquidity transformation. Resource costs of liquidity provision determine the optimal monetary architecture and modified Friedman (1969) rules the optimal...