Faucet software for Cosmos chain
Hi. I am looking to deploy a faucet for a chain. Can you recommend something?
I found the following one:
GitHubping-pub/modules
Contribute to ping-pub/modules development by creating an account on GitHub.
But it requires the person asking for tokens already have some as the request is an on-chain TX that needs gas.
Thoughts?
Thanks.
If it helps, we (at MESG) created an account in the genesis with a lot of token (pretty much all the supply for the testnet) and have an API to ask funds to this address.
This will not mint new token but just transfer from an existing account.
For the rate limit, we have a twitter verification (as twitter doesn’t allow to do the same tweet before a certain amount of time).
You can have a look to
- The script that send the token: https://github.com/mesg-foundation/explorer/blob/master/api/tendermint/faucet.js
- The API with the twitter verification: https://github.com/mesg-foundation/explorer/blob/93a1aa9ee00a33884ea46cb2b85d0efed79a6e05/api/tendermint/index.js#L49
Hope this helps 
Thanks! I will look at this option too. I skimmed your code and it looks pretty interesting.