forc-wallet icon indicating copy to clipboard operation
forc-wallet copied to clipboard

Faucet integration?

Open mitchmindtree opened this issue 2 years ago • 2 comments

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.

mitchmindtree avatar Feb 13 '23 05:02 mitchmindtree

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.

mitchmindtree avatar Mar 30 '23 02:03 mitchmindtree

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.

kayagokalp avatar Mar 30 '23 06:03 kayagokalp