Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a command for funding an account on testnet #1213

Closed
chasefleming opened this issue Sep 22, 2023 · 2 comments · Fixed by #1326
Closed

Add a command for funding an account on testnet #1213

chasefleming opened this issue Sep 22, 2023 · 2 comments · Fixed by #1326
Assignees
Labels
Feature A new user feature or a new package API Feedback

Comments

@chasefleming
Copy link
Member

chasefleming commented Sep 22, 2023

Having to manually add your address to fund an account from the Faucet site while developing is a little tedious. It would be nice if you could run a command like the following to fund an account:

flow fund testnet-acct

This would take the account from your flow.json and send it 1000 like on the Faucet site. We could also add a --amount flag if the dev wanted to customize the amount but it could also be added later. Not sure the flag is necessary.

Note: should error with a message if you try to fund an account that isn't testnet.

@chasefleming chasefleming added Feature A new user feature or a new package API Feedback labels Sep 22, 2023
@chasefleming chasefleming self-assigned this Sep 22, 2023
@chasefleming chasefleming moved this to 🔖 Ready for Pickup in 🌊 Flow 4D Oct 3, 2023
@chasefleming chasefleming removed their assignment Oct 25, 2023
@sideninja
Copy link
Contributor

I like the fact we would have a group of common interactions made simple during development (emulator, testnet). This also falls under similar category than #1286
A new developer should have a very easy way to do these actions with 0 configuration.

@ianthpun
Copy link
Contributor

@bthaile mind if i take this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature A new user feature or a new package API Feedback
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants