I am planning on setting up a small staking service and accept delegations. My question is what is the best way to get the reward to be paid out to each of my delegators. Is there an optimal method to calculate this? Do I have to take periodic snapshots myself and store in a DB?
Ideally I would like to calculate this amount and perform this payout myself after I receive the reward without using something like TAPS.