I’m thinking about creating a system that keeps track of points for users. Wondering how to architect this with a smart contract. (I’m a bit new in my ethereum journey; so far, I’ve created an ERC-20 token and a React site that can transfer/send these tokens… so not too much experience yet).
The system I’m thinking of will have a website that will have users where these users will be able to gain points and redeem points (basically transfer them to someone else).
- Since the points will really “tokenize” something in the real world, this seems to be a good match for a ERC token (20 or 721), I think
- It would seem to me that the number of points a user has could be equal to the number of tokens they own
- Or, would is be better to somehow keep track of the point value in a different way?
When I say off-chain, I’m referring to the data that will be stored in a database and not on the blockchain (including the ethereum account addresses for users); I hope I’m using the “off-chain” term correctly.
Hoping some of you might have experience/best practices in this and be OK to provide your insight. I appreciate the help!