Skip to content

Commit 541e97f

Browse files
authored
Merge pull request #128 from latent-to/btcli-913
BTCLI v9.13
2 parents f86d1f2 + 491a4cd commit 541e97f

File tree

1 file changed

+73
-22
lines changed

1 file changed

+73
-22
lines changed

docs/btcli/btcli.md

Lines changed: 73 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,6 +1153,55 @@ btcli stake add [OPTIONS]
11531153
| `--json-output`, `--json-out` | | Outputs the result of the command as JSON. |
11541154
| `--help` | | Show this message and exit. |
11551155

1156+
### `btcli stake auto`
1157+
1158+
Display auto-stake destinations for a wallet across all subnets.
1159+
1160+
**Usage:**
1161+
1162+
```bash
1163+
btcli stake auto [OPTIONS]
1164+
```
1165+
1166+
**Parameters:**
1167+
1168+
| Options | Type | Description |
1169+
| --------------------------------------------------------------------------- | ---- | ------------------------------------------------------------------------------------ |
1170+
| `--network`, `--subtensor.network`, `--chain`, `--subtensor.chain_endpoint` | | The subtensor network to connect to. Default: finney. |
1171+
| `--wallet-name`, `--name`, `--wallet_name`, `--wallet.name` | TEXT | Name of the wallet. |
1172+
| `--wallet-path`, `-p`, `--wallet_path`, `--wallet.path` | TEXT | Path where the wallets are located. For example: `/Users/btuser/.bittensor/wallets`. |
1173+
| `--ss58`, `--coldkey_ss58`, `--coldkey.ss58_address`, `--coldkey.ss58` | | Coldkey address of the wallet |
1174+
| `--quiet` | | Display only critical information on the console. |
1175+
| `--verbose` | | Enable verbose output. |
1176+
| `--json-output`, `--json-out` | | Outputs the result of the command as JSON. |
1177+
| `--help` | | Show this message and exit. |
1178+
1179+
### `btcli stake set-auto`
1180+
1181+
Set the auto-stake destination hotkey for a coldkey.
1182+
1183+
**Usage:**
1184+
1185+
```bash
1186+
btcli stake set-auto [OPTIONS]
1187+
```
1188+
1189+
**Parameters:**
1190+
1191+
| Options | Type | Description |
1192+
| --------------------------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------ |
1193+
| `--network`, `--subtensor.network`, `--chain`, `--subtensor.chain_endpoint` | | The subtensor network to connect to. Default: finney. |
1194+
| `--wallet-name`, `--name`, `--wallet_name`, `--wallet.name` | TEXT | Name of the wallet. |
1195+
| `--wallet-path`, `-p`, `--wallet_path`, `--wallet.path` | TEXT | Path where the wallets are located. For example: `/Users/btuser/.bittensor/wallets`. |
1196+
| `--netuid` | INTEGER | The netuid of the subnet in the network, (e.g. 1). |
1197+
| `--quiet` | | Display only critical information on the console. |
1198+
| `--verbose` | | Enable verbose output. |
1199+
| `--prompt/--no-prompt`, ` /--yes`, ` /--no_prompt`, ` /-y` | | Enable or disable interactive prompts. |
1200+
| `--wait_for_inclusion` | | If `True`, waits until the transaction is included in a block. |
1201+
| `--wait_for_finalization` | | If `True`, waits until the transaction is finalized on the blockchain. |
1202+
| `--json-output`, `--json-out` | | Outputs the result of the command as JSON. |
1203+
| `--help` | | Show this message and exit. |
1204+
11561205
### `btcli stake remove`
11571206

11581207
Unstake TAO from one or more hotkeys and transfer them back to the user's coldkey wallet.
@@ -1322,23 +1371,23 @@ btcli stake move [OPTIONS]
13221371

13231372
**Options**:
13241373

1325-
| Option | Type | Description |
1326-
| ------------------------------------------------------------------------------------------ | ------- | ------------------------------------------------------------------------------------ |
1327-
| `--network`, `--subtensor.network`, `--chain`, `--subtensor.chain_endpoint` | TEXT | The subtensor network to connect to. Default: finney. |
1328-
| `--wallet-name`, `--name`, `--wallet_name`, `--wallet.name` | TEXT | Name of the wallet. |
1329-
| `-p`, `--wallet-path`, `--wallet_path`, `--wallet.path` | TEXT | Path where the wallets are located. For example: `/Users/btuser/.bittensor/wallets`. |
1330-
| `-H`, `--hotkey`, `--wallet_hotkey`, `--wallet-hotkey`, `--wallet.hotkey`, `--hotkey-ss58` | TEXT | Hotkey name or SS58 address of the hotkey |
1331-
| `--origin-netuid` | INTEGER | Origin netuid. |
1332-
| `--dest-netuid` | INTEGER | Destination netuid. |
1333-
| `--dest-ss58`, `--dest` | TEXT | Destination hotkey. |
1334-
| `--amount` | FLOAT | The amount of TAO to stake |
1335-
| `--stake-all`, `--all` | | Stake all. |
1336-
| `--period`, `-era` | INTEGER | Length (in blocks) for which the transaction should be valid. |
1337-
| `--prompt`, `--prompt`, `--no-prompt`, `--yes`, `--no_prompt`, `-y` | | Enable or disable interactive prompts. |
1338-
| `--quiet` | | Display only critical information on the console. |
1339-
| `--verbose` | | Enable verbose output. |
1340-
| `--json-output`, `--json-out` | | Outputs the result of the command as JSON. |
1341-
| `--help` | | Show this message and exit. |
1374+
| Option | Type | Description |
1375+
| -------------------------------------------------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------ |
1376+
| `--network`, `--subtensor.network`, `--chain`, `--subtensor.chain_endpoint` | TEXT | The subtensor network to connect to. Default: finney. |
1377+
| `--wallet-name`, `--name`, `--wallet_name`, `--wallet.name` | TEXT | Name of the wallet. |
1378+
| `-p`, `--wallet-path`, `--wallet_path`, `--wallet.path` | TEXT | Path where the wallets are located. For example: `/Users/btuser/.bittensor/wallets`. |
1379+
| `from`, `-H`, `--hotkey`, `--wallet_hotkey`, `--wallet-hotkey`, `--wallet.hotkey`, `--hotkey-ss58` | TEXT | Validator hotkey or SS58 where the stake is currently located. |
1380+
| `--origin-netuid` | INTEGER | Origin netuid. |
1381+
| `--dest-netuid` | INTEGER | Destination netuid. |
1382+
| `to`, `--dest-ss58`, `--dest` | TEXT | Destination validator hotkey SS58. |
1383+
| `--amount` | FLOAT | The amount of TAO to stake |
1384+
| `--stake-all`, `--all` | | Stake all. |
1385+
| `--period`, `-era` | INTEGER | Length (in blocks) for which the transaction should be valid. |
1386+
| `--prompt`, `--prompt`, `--no-prompt`, `--yes`, `--no_prompt`, `-y` | | Enable or disable interactive prompts. |
1387+
| `--quiet` | | Display only critical information on the console. |
1388+
| `--verbose` | | Enable verbose output. |
1389+
| `--json-output`, `--json-out` | | Outputs the result of the command as JSON. |
1390+
| `--help` | | Show this message and exit. |
13421391

13431392
### `btcli stake transfer`
13441393

@@ -1971,7 +2020,7 @@ alias: mech
19712020
- `count`: Display how many mechanisms are registered under a subnet.
19722021
- `set`: Configure how many mechanisms are registered for a subnet.
19732022
- `emissions`: Display the current emission split across mechanisms for a subnet.
1974-
- `emissions-split`: Update the emission split across mechanisms for a subnet.
2023+
- `split-emissions`: Update the emission split across mechanisms for a subnet.
19752024

19762025
#### `btcli subnet mechanisms count`
19772026

@@ -2067,7 +2116,7 @@ btcli subnet mechanisms emissions [OPTIONS]
20672116
| `--json-output`, `--json-out` | | Outputs the result of the command as JSON. |
20682117
| `--help` | | Show this message and exit. |
20692118

2070-
#### `btcli subnet mechanisms emissions-split`
2119+
#### `btcli subnet mechanisms split-emissions`
20712120

20722121
Update the emission split across mechanisms for a subnet.
20732122

@@ -2078,19 +2127,21 @@ Common Examples:
20782127
1. Configure the split interactively:
20792128

20802129
```bash
2081-
btcli subnet mechanisms emissions-split --netuid 12
2130+
btcli subnet mechanisms split-emissions --netuid 12
20822131
```
20832132

20842133
2. Apply a 70/30 distribution in one command:
20852134

20862135
```bash
2087-
btcli subnet mechanisms emissions-split --netuid 12 --split 70,30 --wallet.name my_wallet --wallet.hotkey admin
2136+
btcli subnet mechanisms split-emissions --netuid 12 --split 70,30 --wallet.name my_wallet --wallet.hotkey admin
20882137
```
20892138

20902139
**Usage:**
20912140

20922141
```bash
2093-
btcli subnet mechanisms emissions-split [OPTIONS]
2142+
btcli subnet mechanisms split-emissions [OPTIONS]
2143+
2144+
alias: emissions-split
20942145
```
20952146

20962147
**Parameters:**

0 commit comments

Comments
 (0)