forc-wallet
forc-wallet copied to clipboard
Faucet integration?
Raised by @Braqzen, it would be great to have some sort of faucet for getting test funds on the CLI.
Currently our web faucet uses a captcha as a kind of rate-limit to stop folks programmatically rinsing the faucet. It might be tricky to achieve something as effective on a CLI that cannot be trivially worked around.
At the very least, we should provide a link to the web faucet for the user in the default help output or something along these lines.
We do now provide a link to the faucet for the user in the case that they query their balance(s) and one or more balances are empty, but I'll leave this open so that we can explore CLI-faucet options in the future.
I came across https://crates.io/crates/figlet-rs recently totally randomly. Maybe something like that can be used to have some sort of captcha in CLI which may enable us to introduce a CLI-faucet option.