From 1a50bbeb4cf52febc659ed5bd104a72f914cfc03 Mon Sep 17 00:00:00 2001 From: Ori Pomerantz Date: Tue, 7 Nov 2023 19:28:15 -0600 Subject: [PATCH 1/4] docs(cli): add faucet to newdocs --- next-docs/pages/cli/faucet.mdx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/next-docs/pages/cli/faucet.mdx b/next-docs/pages/cli/faucet.mdx index 57009e3305..844c803ce9 100644 --- a/next-docs/pages/cli/faucet.mdx +++ b/next-docs/pages/cli/faucet.mdx @@ -1 +1,27 @@ # mud faucet + +Ask a [faucet service](/services/faucet) for test ETH. + +## Sample use + +```sh copy +ADDR=0x863DEAFF47BF8bF8cb4B9AB0F49360aD7046713b +cast to-unit `cast balance --rpc-url https://follower.testnet-chain.linfra.xyz $ADDR` eth +pnpm mud faucet --address $ADDR +sleep 10 +cast to-unit `cast balance --rpc-url https://follower.testnet-chain.linfra.xyz $ADDR` eth +``` + +Note that we have the `sleep 10` because the faucet's transaction transferring the ETH does not happen immediately.] + +## Options + +These are the command line options you can specify on `mud faucet`: + +| Option | Meaning | Type | Default value | +| ------------- | ------------------------------------ | ------- | --------------------------------------------------------------------------------------- | +| `--version` | Show version number | boolean | false | +| `--dripDev` | Request a drip from the dev endpoint | boolean | true | +| `--faucetUrl` | URL of the MUD faucet | string | The faucet for the Lattice test network, https://faucet.testnet-mud-services.linfra.xyz | +| `--address` | The address to fund | string | Empty | +| `--help` | Show help | boolean | false | From 9ef3a07e233f6242040f7187d28de140ff91122b Mon Sep 17 00:00:00 2001 From: Ori Pomerantz Date: Fri, 10 Nov 2023 08:09:57 -0600 Subject: [PATCH 2/4] commented out (because it's not yet available) --- next-docs/pages/cli/faucet.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/next-docs/pages/cli/faucet.mdx b/next-docs/pages/cli/faucet.mdx index 844c803ce9..242062e10c 100644 --- a/next-docs/pages/cli/faucet.mdx +++ b/next-docs/pages/cli/faucet.mdx @@ -1,5 +1,9 @@ # mud faucet +**Coming soon** + +{/\* + Ask a [faucet service](/services/faucet) for test ETH. ## Sample use @@ -25,3 +29,5 @@ These are the command line options you can specify on `mud faucet`: | `--faucetUrl` | URL of the MUD faucet | string | The faucet for the Lattice test network, https://faucet.testnet-mud-services.linfra.xyz | | `--address` | The address to fund | string | Empty | | `--help` | Show help | boolean | false | + +\*/} From cc6a9258f80f0c8740cdfe00024b0892729d5045 Mon Sep 17 00:00:00 2001 From: alvarius Date: Mon, 13 Nov 2023 10:49:37 +0300 Subject: [PATCH 3/4] Update next-docs/pages/cli/faucet.mdx --- next-docs/pages/cli/faucet.mdx | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/next-docs/pages/cli/faucet.mdx b/next-docs/pages/cli/faucet.mdx index 242062e10c..a06ce83534 100644 --- a/next-docs/pages/cli/faucet.mdx +++ b/next-docs/pages/cli/faucet.mdx @@ -2,32 +2,3 @@ **Coming soon** -{/\* - -Ask a [faucet service](/services/faucet) for test ETH. - -## Sample use - -```sh copy -ADDR=0x863DEAFF47BF8bF8cb4B9AB0F49360aD7046713b -cast to-unit `cast balance --rpc-url https://follower.testnet-chain.linfra.xyz $ADDR` eth -pnpm mud faucet --address $ADDR -sleep 10 -cast to-unit `cast balance --rpc-url https://follower.testnet-chain.linfra.xyz $ADDR` eth -``` - -Note that we have the `sleep 10` because the faucet's transaction transferring the ETH does not happen immediately.] - -## Options - -These are the command line options you can specify on `mud faucet`: - -| Option | Meaning | Type | Default value | -| ------------- | ------------------------------------ | ------- | --------------------------------------------------------------------------------------- | -| `--version` | Show version number | boolean | false | -| `--dripDev` | Request a drip from the dev endpoint | boolean | true | -| `--faucetUrl` | URL of the MUD faucet | string | The faucet for the Lattice test network, https://faucet.testnet-mud-services.linfra.xyz | -| `--address` | The address to fund | string | Empty | -| `--help` | Show help | boolean | false | - -\*/} From f703f482ed7395905959ce7d1f8a7deff4f1ccb1 Mon Sep 17 00:00:00 2001 From: alvrs Date: Mon, 13 Nov 2023 10:50:19 +0300 Subject: [PATCH 4/4] prettier --- next-docs/pages/cli/faucet.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/next-docs/pages/cli/faucet.mdx b/next-docs/pages/cli/faucet.mdx index a06ce83534..e5f27e4da6 100644 --- a/next-docs/pages/cli/faucet.mdx +++ b/next-docs/pages/cli/faucet.mdx @@ -1,4 +1,3 @@ # mud faucet **Coming soon** -