Good day, I need to add a new reward system to my coin, which has never been done before, I would like to create a Dapp which moniters my tokens transactions, as well as how long a user has been holding without selling for, and allocate and send them rewards when they hold for longer and longer, is this possible with moralis?
you could sync all the transfer events in your moralis database for that specific token, and then process that information in order to get what you want
Please could you show me some source code as to how to achieve this, how would I go about sending holders Tokens based on what they buy?