Want to build a deflationary staking/farm with no minting - need help on rewards

Hi Folks,

I'm looking at building in staking/lp farm or both for my token. However, I don't want it to be a minting farm which kills the token value as staking rewards are sold.

Instead, the rewards will sent to the staking contract via transaction tax (or other mechanism). This keeps the token deflationary, but introduces additional complexity as the rewards rate needs to be variable and driven by the amount of the rewards token available in the contract.

I'm trying to find other projects that have done this, but am struggling to find any, and would rather not have to develop it from scratch. Anyone point me in the right direction?