Bitcoin vending machine core code