lotion icon indicating copy to clipboard operation
lotion copied to clipboard

fees handling and/or prevent spam

Open harpagon210 opened this issue 6 years ago • 1 comments

Hi,

First, this project looks amazing, thanks for working on that!

Now I am wondering how do you handle the transaction fees? As of now I'm not sure if this should be done at the lotion layer or anywhere else? (Tendermint level?)

I'm trying to find the right path agains spamming

I checked the docs but didn't really find any answer that could help.

Thanks in advance

harpagon210 avatar Jun 21 '18 17:06 harpagon210

I'd suggest doing this in your application code. Each transaction should authorize a certain amount of gas that you deduct from the sender's account or the relayer's account. If you are not using your own token you'll need to have an eth or btc bridge and do it that way...you might have to have the authorization be a signed and valid eth/btc transaction that you verify. Micropaymets are hard though so maybe these link to some kind of plasma channel?

skilesare avatar Jun 17 '19 16:06 skilesare