How would you distribute a fee to all token holders?

how would you distribute to all holders?

1 Like

Hi @Saek_1,

Welcome to the community :wave:

If you are distributing Ether, you could look at PaymentSplitter
https://docs.openzeppelin.com/contracts/4.x/api/finance#PaymentSplitter

I am trying to use the payment splitter contract in my project, but i dont know how it really works. Can you please help me figuring out how can I inherit/use payment splitter.

Do I also need to inherit it in my contract like
Contract myContract is PaymentSplitter{ .. }

A payment splitter is not a fee distribution.

This is not funny lol