1

I know that transactions require certain fees to ensure the correctness of the network, but i was wondering if it is possible to do the reverse operation. I want to give users that send transactions Balance.

2
  • 1
    I think that's technically possible, but why? This has the same ramifications as having no fees (e.g. DoS) but it also adds incentive to do that on top.
    – pepyakin
    Apr 28, 2022 at 20:51
  • I'm not thinking of a decentralized network, I was thinking about a private network where there are already well known addresses and if they send transactions with some information, It is already assumed to be correct. On a decentralized network I guess it will require some validators to ensure that the information is correct and later on award the providers and also the validators, but its not the case
    – andresvsm
    Apr 29, 2022 at 6:59

1 Answer 1

3

The transaction fees are charged by the ChargeTransactionPayment signed extension. I don't believe you could configure that thing to "charge" negative amounts. But I think you can just reimplement your own SignedExtension, maybe potentially based on top of that, that will reward each transactor and replace/add to your signed extras (like here).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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