Skip to content

Restrict credit amount limit #10

@sunnyk56

Description

@sunnyk56

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions