Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict credit amount limit #10

Open
sunnyk56 opened this issue Sep 28, 2021 · 0 comments
Open

Restrict credit amount limit #10

sunnyk56 opened this issue Sep 28, 2021 · 0 comments

Comments

@sunnyk56
Copy link

Hi,
I am trying to limits the faucet because a user can take all the tokens via one call. How can restrict users to call many times call this command for the same account in a day or some hours?

I am trying to limits the faucet using the flag credit-amount=100,000,000 -max-credit=200,000,000
if I try for 200,000,001 goes fail but when trying call request 2,000,000,000 it goes successful.

faucet -cli-name=gravity -keyring-backend=test -mnemonic="lstate lady near aware season unique crew clever easy gasp often average galaxy athlete silly rail strike peanut sign gain slight" credit-amount=100000000 -max-credit=200000000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant