flow-cli
flow-cli copied to clipboard
Account creation with faucet
Creating a new account on testnet consists of several steps:
- creating keys using
flow keys generate
- going to faucet and inserting those keys
- copying the create account back to flow.json
This process should be automated by integrating faucet into the CLI using an API. Proposed process should look like:
- running the command
flow accounts create --faucet
- browser window with captcha would open (after solving it it would close)
- newly created account would automatically be saved to flow.json
In order to achieve this we need to implement a server in CLI but also support that in the faucet repo.