Physical to digital cash, and back again