Digital currencies in a game

Recently i've been thinking about why are we collecting coins in a freemium app/any video game. Probably its related with the arcade saloon culture. You can't put your own money in a machine because of some security and maintenance reasons so you'll need a unified currency to spend. The most simple solution is to invent a replica coin which replaces the regular money we spend. »