flow-cli icon indicating copy to clipboard operation
flow-cli copied to clipboard

Account creation with faucet

Open devbugging opened this issue 2 years ago • 0 comments

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.

devbugging avatar Mar 24 '22 10:03 devbugging