From c8c2b594de698f243f3acf42e05b85ff6cb9e3e8 Mon Sep 17 00:00:00 2001 From: Tyler Gates <65058265+Tyler-Gates@users.noreply.github.com> Date: Sun, 7 Jul 2024 16:49:33 -0500 Subject: [PATCH] Update cycles convert command command was missing --amount --- docs/developer-docs/defi/cycles/cycles-ledger.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-docs/defi/cycles/cycles-ledger.mdx b/docs/developer-docs/defi/cycles/cycles-ledger.mdx index 5d2ec72b51..1febb833dd 100644 --- a/docs/developer-docs/defi/cycles/cycles-ledger.mdx +++ b/docs/developer-docs/defi/cycles/cycles-ledger.mdx @@ -110,7 +110,7 @@ dfx cycles balance --network ic To convert ICP into cycles using the cycles ledger, use the command: ``` -dfx cycles convert AMOUNT --network ic +dfx cycles convert --amount AMOUNT --network ic ``` Replace `AMOUNT` with the number of ICP to convert into cycles, such as `2.7`. Alternatively, the amount can be specified in terms of ICP and e8s (where `100,000,000 e8s = 1 ICP`) using the options `--icp` and `--e8s`. For example, `2.7` would be expressed as `--icp 2 --e8s 70_000_000`.