From fdbe67652c7cf72012c54c9836fc860330a4ffaf Mon Sep 17 00:00:00 2001 From: Ian Pun Date: Thu, 4 Jan 2024 14:57:46 -0800 Subject: [PATCH 1/5] add account fund page --- docs/tools/flow-cli/accounts/account-fund.md | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/tools/flow-cli/accounts/account-fund.md diff --git a/docs/tools/flow-cli/accounts/account-fund.md b/docs/tools/flow-cli/accounts/account-fund.md new file mode 100644 index 0000000000..283875c9e6 --- /dev/null +++ b/docs/tools/flow-cli/accounts/account-fund.md @@ -0,0 +1,31 @@ +--- +title: Funding a Testnet Account +description: How to fund a Testnet Flow account from the command line +sidebar_position: 7 +--- + +Fund a valid Testnet Flow Account using the Flow CLI. + +```shell +flow accounts fund
+``` + +## Example Usage + +```shell +> flow accounts fund 8e94eaa81771313a + +Opening the faucet to fund 0x8e94eaa81771313a on your native browser. + +If there is an issue, please use this link instead: https://testnet-faucet.onflow.org/fund-account?address=8e94eaa81771313a + +``` + +## Arguments + +### Address + +- Name: `address` +- Valid Input: Flow Testnet account address. + +Flow [account address](../../../build/basics/accounts.md) (prefixed with `0x` or not). From d732ed0d001fd8e52f8207452e5ccaa473a08028 Mon Sep 17 00:00:00 2001 From: Ian Pun Date: Thu, 4 Jan 2024 15:02:26 -0800 Subject: [PATCH 2/5] update --- docs/tools/flow-cli/accounts/account-fund.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tools/flow-cli/accounts/account-fund.md b/docs/tools/flow-cli/accounts/account-fund.md index 283875c9e6..fcaeabddc2 100644 --- a/docs/tools/flow-cli/accounts/account-fund.md +++ b/docs/tools/flow-cli/accounts/account-fund.md @@ -12,7 +12,7 @@ flow accounts fund
## Example Usage -```shell +``` > flow accounts fund 8e94eaa81771313a Opening the faucet to fund 0x8e94eaa81771313a on your native browser. From b015c98bdc03d7120ef1135edb220f9b6dd6222e Mon Sep 17 00:00:00 2001 From: Ian Pun Date: Mon, 8 Jan 2024 13:11:04 -0800 Subject: [PATCH 3/5] add info box about the faucet --- docs/tools/flow-cli/accounts/account-fund.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/tools/flow-cli/accounts/account-fund.md b/docs/tools/flow-cli/accounts/account-fund.md index fcaeabddc2..6e7f5935a2 100644 --- a/docs/tools/flow-cli/accounts/account-fund.md +++ b/docs/tools/flow-cli/accounts/account-fund.md @@ -6,6 +6,12 @@ sidebar_position: 7 Fund a valid Testnet Flow Account using the Flow CLI. +:::info + +The [Flow Testnet Faucet](https://testnet-faucet.onflow.org/) allows users to create accounts and receive 1,000 Testnet FLOW tokens for testing and development purposes. You can also fund an existing Testnet accounts without needing to create one through the site. + +::: + ```shell flow accounts fund
``` From 2715b5ef3966322a1d806530fed9645438d03b19 Mon Sep 17 00:00:00 2001 From: Ian Pun Date: Mon, 8 Jan 2024 13:11:34 -0800 Subject: [PATCH 4/5] update --- docs/tools/flow-cli/accounts/account-fund.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tools/flow-cli/accounts/account-fund.md b/docs/tools/flow-cli/accounts/account-fund.md index 6e7f5935a2..604f819671 100644 --- a/docs/tools/flow-cli/accounts/account-fund.md +++ b/docs/tools/flow-cli/accounts/account-fund.md @@ -8,7 +8,7 @@ Fund a valid Testnet Flow Account using the Flow CLI. :::info -The [Flow Testnet Faucet](https://testnet-faucet.onflow.org/) allows users to create accounts and receive 1,000 Testnet FLOW tokens for testing and development purposes. You can also fund an existing Testnet accounts without needing to create one through the site. +The [Flow Testnet Faucet](https://testnet-faucet.onflow.org/) allows users to create accounts and receive 1,000 Testnet FLOW tokens for testing and development purposes. You can also fund an existing Testnet accounts without needing to create one through the site, or through the CLI. ::: From fa6953bde7bd150ae30fe1c6eab1814e2a80beac Mon Sep 17 00:00:00 2001 From: Ian Pun Date: Mon, 8 Jan 2024 13:14:28 -0800 Subject: [PATCH 5/5] update --- docs/tools/flow-cli/accounts/account-fund.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tools/flow-cli/accounts/account-fund.md b/docs/tools/flow-cli/accounts/account-fund.md index 604f819671..a983b8fe7d 100644 --- a/docs/tools/flow-cli/accounts/account-fund.md +++ b/docs/tools/flow-cli/accounts/account-fund.md @@ -4,14 +4,14 @@ description: How to fund a Testnet Flow account from the command line sidebar_position: 7 --- -Fund a valid Testnet Flow Account using the Flow CLI. - :::info The [Flow Testnet Faucet](https://testnet-faucet.onflow.org/) allows users to create accounts and receive 1,000 Testnet FLOW tokens for testing and development purposes. You can also fund an existing Testnet accounts without needing to create one through the site, or through the CLI. ::: +Fund a valid Testnet Flow Account using the Flow CLI. + ```shell flow accounts fund
```