@cosmjs/faucet server. Useful for testnet development.
FaucetClient
Usage
credit method sends a POST to {baseUrl}/credit. It will throw on network errors (e.g. unreachable host) but does not inspect the HTTP response status code for faucet-level errors such as cooldowns or insufficient funds.