We recently shipped TAVEXA MINI, a free Android app where a one-tap "mining session" runs on a server timer and credits TVX, an in-app unit with no cash value. There's no token, no blockchain and nothing is mined on the phone.
Phone "mining" apps have a deserved bad reputation, mostly because the "value" is just a counter running on the client. We wanted the opposite: nothing important is decided on the phone. This post is about how we set that up.
The rule: the server decides, the client predicts
A session starts with one tap. From that moment, the server owns the clock. The app shows a live countdown and an estimated balance, but that's only a prediction. When the session ends, the server calculates the result and the client accepts it.
This matters because the app also has crews (bonuses when several friends mine on the same day), weekly leagues and badges.…