Hey what's up,
Just fooling around on FF as usual and i'm wondering what could be the best way to create and use an in-ap currency. Let's say i have a store with items, the store currency is "FF coins". I want FF coins to be 1/10 of a euros (so 0.10โฌ).
Im thinking the best way is to create a "wallet" row for every user, this row would represent how much FF coins they have and it would be a simple integer. Then i would create a shopping page to buy FF coins with euros and increment the user_wallet with the number of purchased FF coins.
Of course, i'd create a specific document in my back-end as well to store every transaction from euros to FF coins and from FF coins to Item.
What are your thoughts on this subject ! ๐
ps : Laws on in-app currency is not the subject ๐ด ๐