symbol / faucet

Faucet application for Symbol
https://testnet.symbol.tools
MIT License
7 stars 6 forks source link

Blacklist acount address after the first claim #64

Open OlegMakarenko opened 3 years ago

OlegMakarenko commented 3 years ago

It is possible to drain the faucet just by clicking the claim button many times image image

jabo38 commented 3 years ago

I wouldn't blacklist on the first try. Maybe the 5th time or something. Lots of people need to claim more than once.

Also, the faucet doesn't give enough for people to harvest.

So we should either increase the faucet amount to allow people to harvest on the testnet or allow them to claim up to enough times to allow them to harvest.

jabo38 commented 3 years ago

another option is to not allow them to claim if their XYM balance is below a certain amount or if that account has pending txs current waiting to go through.

AnthonyLaw commented 3 years ago

If you keep clicking on claim if too much transaction is pending (detect from network), you should see this notice. image

If the account has more than enough xym (detect from network) will see this notice.

image