Skip to content

Commit

Permalink
Update dfx-ledger.md
Browse files Browse the repository at this point in the history
Fix the sample for `dfx ledger fabricate-cycles`.
  • Loading branch information
vincent-dfinity authored Jan 8, 2024
1 parent 4346ed7 commit 07b1c2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/cli-reference/dfx-ledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,14 @@ If no amount is specified, 10T cycles are used by default.
If you are developing locally and want to add 8T cycles to all your canisters in your procject, you can do so like this:

```
dfx ledger fabricate-cycles --all --amount 8000000000000
dfx ledger fabricate-cycles --all --cycles 8000000000000
```

The command displays output similar to the following:

```
Fabricating 8000000000000 cycles onto hello_backend
Fabricated 8000000000000 cycles, updated balance: 11_899_662_119_932 cycles
Fabricating 8000000000000 cycles onto hello_frontend
Fabricated 8000000000000 cycles, updated balance: 11_899_075_504_924 cycles
```

If you would rather only add the cycles to the canister called 'hello' and don't want to type all the zeros, you can do it like this:
Expand Down

0 comments on commit 07b1c2d

Please sign in to comment.