From d31937068b0da6b038da2c1ae485c3ca125a5a21 Mon Sep 17 00:00:00 2001 From: Samuel Dare Date: Sun, 19 May 2024 15:21:34 +0400 Subject: [PATCH 1/2] chore: delegate take instructions --- docs/btcli.md | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/docs/btcli.md b/docs/btcli.md index 1a8302505e..c85eb7323e 100644 --- a/docs/btcli.md +++ b/docs/btcli.md @@ -397,28 +397,44 @@ Delegate TAO from the coldkey balance to the hotkey staking account of a delegat ```bash btcli root delegate ``` - + +### Additional Notes +- **Take Range**: Ensure the `--take` value is within the range of `0` to `0.18`. +- **Wallet and Hotkey**: If not specified, the command will prompt for the wallet name and hotkey. + +### Example Usage + +1. **Set Delegate Take to 10%**: + ```bash + btcli root set_take --take 0.1 + ``` + +2. **Set Delegate Take to 10% using a specific wallet**: + ```bash + btcli root set_take --wallet.name my_wallet --wallet.hotkey my_hotkey --take 0.1 + ``` ### Undelegate Tao From 4cf813b5e0dce6ff407720467acea50adfc7b8f7 Mon Sep 17 00:00:00 2001 From: Raj Karamchedu Date: Mon, 20 May 2024 12:13:32 -0700 Subject: [PATCH 2/2] Minor fixes to formatting --- docs/btcli.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/btcli.md b/docs/btcli.md index c85eb7323e..c620123d11 100644 --- a/docs/btcli.md +++ b/docs/btcli.md @@ -398,7 +398,7 @@ Delegate TAO from the coldkey balance to the hotkey staking account of a delegat btcli root delegate ``` -### Set Delegate Take +### Set delegate take ```bash btcli root set_take [OPTIONS] @@ -420,18 +420,17 @@ To use a specific wallet: btcli root set_take --wallet.name my_wallet --wallet.hotkey my_hotkey --take 0.1 ``` -### Additional Notes -- **Take Range**: Ensure the `--take` value is within the range of `0` to `0.18`. -- **Wallet and Hotkey**: If not specified, the command will prompt for the wallet name and hotkey. +- **Allowed `take` values**: Ensure the `--take` value is within the range of `0` to `0.18`. +- **`wallet.name` and `wallet.hotkey`**: If not specified, the command will prompt for the wallet name and hotkey. -### Example Usage +Examples: -1. **Set Delegate Take to 10%**: +1. Set delegate take to 10%: ```bash btcli root set_take --take 0.1 ``` -2. **Set Delegate Take to 10% using a specific wallet**: +2. Set delegate take to 10% using a specific wallet: ```bash btcli root set_take --wallet.name my_wallet --wallet.hotkey my_hotkey --take 0.1 ```