2

It seems like a smart contract would be the most natural mechanism to use for implementing a automatic rewards payment system to a baker's delegators, and I'm curious if such a contract is possibly to write.

Is this possible?

Admittedly, I know close to nothing about writing actual smart contracts, thus the question.

(I'm also aware there are other solutions like Backerei and now TAPS to help with this, but these are off-chain).

Regarding a smart contract solution, one thing I'm definitely unsure about, is how would a baker be able to apply variable fees to delegators (maybe some delegators delegated to the baker during a cheaper promotion period, etc...), and how would a baker be able to dynamically update fee rates.

I recently read about a new upgrade that will be proposed to Tezos called Burebrot. Maybe it is not possible to automate rewards via smart contract until this or a similar proposal is integrated into the system?

Thoughts?

  • After more digging aroudn, I guess this article on bakerei pretty much confirms smart contracts can't do this yet: medium.com/cryptium/… – lostdorje Apr 2 at 9:25
  • Thanks for citing TAPS. Give it a try ;) Being off-chain has the advantage that it does not need to run on a Tezos node. You may have a dedicated computer to make payments. TAPS has its own native wallet which you may fund with just enough to planned rewards distribution period. – Luiz Milfont Apr 5 at 14:52
0

I'm not sure it's impossible today either, give some thought out scheme (a smart contract is just some logic over a state) but it's not straight forward, no.

The "Burebrot" upgrade has an explicit goal of Moving payments of rewards on-chain so yes, that should help a great deal 😉👍

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.