Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
0100d8d
WIP checkin
thewhaleking Aug 8, 2025
9de4ccf
Merge branch 'staging' into feat/thewhaleking/disk-cache-config
thewhaleking Aug 12, 2025
5f52258
Optimise btcli s list for disk caching
thewhaleking Aug 12, 2025
4f77804
Ruff
thewhaleking Aug 12, 2025
fc69e80
Better arg naming + type annotations
thewhaleking Aug 13, 2025
bbc4705
Merge pull request #590 from opentensor/chore/thewhaleking/better-naming
thewhaleking Aug 13, 2025
ab51411
Merge pull request #588 from opentensor/feat/thewhaleking/disk-cache-…
thewhaleking Aug 13, 2025
74aa598
Ensure hotkeys are into lists before any processing
thewhaleking Aug 13, 2025
97b2b75
Correct type annotations
thewhaleking Aug 13, 2025
bfe2048
Raises to returns
thewhaleking Aug 13, 2025
a698c01
Formatting line length
thewhaleking Aug 13, 2025
3921e84
Error if using ambiguous args
thewhaleking Aug 13, 2025
4eb75af
Fix typing
thewhaleking Aug 13, 2025
ddd01c0
Fix typing
thewhaleking Aug 13, 2025
1a5f10f
fix typo and wording
camfairchild Aug 13, 2025
563a750
Update bittensor_cli/cli.py
thewhaleking Aug 13, 2025
7da9dd5
Update wording
thewhaleking Aug 13, 2025
2511eb2
Update wording
thewhaleking Aug 13, 2025
2d81d05
This can probably be further improved, but adds a helper function to …
thewhaleking Aug 13, 2025
e96a5c8
Update text
thewhaleking Aug 14, 2025
e22b8c6
Merge branch 'fix/thewhaleking/no-prompts' into feat/thewhaleking/not…
thewhaleking Aug 14, 2025
aeedbf8
Merge conflict
thewhaleking Aug 14, 2025
2497c06
Return
thewhaleking Aug 14, 2025
c11773e
Merge pull request #591 from opentensor/fix/thewhaleking/no-prompts
thewhaleking Aug 14, 2025
fb10995
Initial add for just the async-substrate-interface logger
thewhaleking Aug 14, 2025
bd4de55
WIP check-in
thewhaleking Aug 14, 2025
ddd6766
Added most things
thewhaleking Aug 14, 2025
2732227
Added `--debug`
thewhaleking Aug 14, 2025
d01778f
Merge branch 'staging' into feat/thewhaleking/debug-cmd
thewhaleking Aug 14, 2025
9dfa055
ruff
thewhaleking Aug 14, 2025
d79248c
Fixes the example config.yml in the README, and adds a section on env…
thewhaleking Aug 14, 2025
04ca8b1
Merge branch 'chore/thewhaleking/expand-readme' into feat/thewhalekin…
thewhaleking Aug 14, 2025
616efd1
Merge pull request #598 from opentensor/chore/thewhaleking/expand-readme
thewhaleking Aug 14, 2025
2960cde
Expand README
thewhaleking Aug 14, 2025
ca035cb
Merge branch 'staging' into feat/thewhaleking/debug-cmd
thewhaleking Aug 14, 2025
2e6a7ef
Merge pull request #592 from opentensor/feat/thewhaleking/not-ugly-args
thewhaleking Aug 14, 2025
c82f079
Missed indent
thewhaleking Aug 15, 2025
750221d
Add info about async substrate interface and bt-wallet
thewhaleking Aug 15, 2025
5580ee2
Add system info
thewhaleking Aug 15, 2025
fac14cc
Additional debug info
thewhaleking Aug 15, 2025
5ab9e8b
Update README
thewhaleking Aug 15, 2025
8be86e7
Merge branch 'staging' into feat/thewhaleking/debug-cmd
thewhaleking Aug 15, 2025
fb400e7
Adds a command to compare latencies of given connections to help the …
thewhaleking Aug 15, 2025
96539e9
Also send a real request
thewhaleking Aug 15, 2025
293e349
Fix help
thewhaleking Aug 15, 2025
3398925
No longer hide utils
thewhaleking Aug 15, 2025
ada539c
Ruff
thewhaleking Aug 15, 2025
418ec07
Update childkey proportion CLI argument in docs
HudsonGraeme Aug 19, 2025
ba95a07
Merge pull request #602 from inference-labs-inc/staging
camfairchild Aug 20, 2025
65c3baf
Update example for show command
HudsonGraeme Aug 22, 2025
96b5053
Merge pull request #604 from inference-labs-inc/staging
basfroman Aug 23, 2025
047fb48
Update cli.py to remove double negative typo
calebcgates Aug 28, 2025
fcdc1c9
PR suggestions
thewhaleking Sep 1, 2025
9d03b55
Merge pull request #599 from opentensor/feat/thewhaleking/add-latency…
thewhaleking Sep 2, 2025
8391861
fixes registration check on new hotkey
ibraheem-abe Sep 5, 2025
db8a45e
Merge pull request #608 from opentensor/fix/swap-hotkey-reg-check
ibraheem-abe Sep 5, 2025
3f5d558
bumps version and changelog
ibraheem-abe Sep 5, 2025
49f4af9
Better shows hotkeypubs in `w list`
thewhaleking Sep 8, 2025
b65a548
Merge pull request #606 from calebcgates/patch-1
thewhaleking Sep 8, 2025
da8215c
Adds cmd for setting subnet symbol.
thewhaleking Sep 8, 2025
1694d4c
Add test
thewhaleking Sep 8, 2025
438a6a5
Forgot to include the actual run logic.
thewhaleking Sep 8, 2025
1ee8160
debug
thewhaleking Sep 8, 2025
e13f1a0
Debug
thewhaleking Sep 8, 2025
7e215b9
Debug
thewhaleking Sep 8, 2025
e64fd59
Symbol didn't exist.
thewhaleking Sep 8, 2025
e24801a
Merge pull request #611 from opentensor/fix/thewhaleking/better-show-…
thewhaleking Sep 8, 2025
0c5b70a
Update docstrings
thewhaleking Sep 8, 2025
8a6c025
Merge pull request #613 from opentensor/feat/thewhaleking/subnet-symb…
thewhaleking Sep 8, 2025
49b8384
Merge pull request #597 from opentensor/feat/thewhaleking/debug-cmd
thewhaleking Sep 8, 2025
2bd89de
Merge branch 'staging' into changelog/9.11.0
thewhaleking Sep 8, 2025
0a6692a
Update changelog
thewhaleking Sep 8, 2025
2869808
Adds parent path creation for debug log.
thewhaleking Sep 8, 2025
b4560e1
Error handling
thewhaleking Sep 8, 2025
6ec1ad3
Update error message
thewhaleking Sep 8, 2025
52f58fb
Ensure that bool config items are bool.
thewhaleking Sep 8, 2025
8c3ecc2
Merge pull request #615 from opentensor/chore/thewhaleking/add-parent…
thewhaleking Sep 8, 2025
439371d
Merge branch 'staging' into changelog/9.11.0
thewhaleking Sep 8, 2025
a6d2f66
Changelog
thewhaleking Sep 8, 2025
8d78fbd
Merge pull request #609 from opentensor/changelog/9.11.0
thewhaleking Sep 8, 2025
2713779
Merge branch 'staging' into backmerge/9.10.2
thewhaleking Sep 8, 2025
26ea2fa
Merge pull request #617 from opentensor/backmerge/9.10.2
thewhaleking Sep 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## 9.11.0 /2025-09-05
* Better arg naming + type annotations by @thewhaleking in https://github.com/opentensor/btcli/pull/590
* disk cache in config by @thewhaleking in https://github.com/opentensor/btcli/pull/588
* Unstake no prompts by @thewhaleking in https://github.com/opentensor/btcli/pull/591
* expand readme by @thewhaleking in https://github.com/opentensor/btcli/pull/598
* Better arg formatting for readability by @thewhaleking in https://github.com/opentensor/btcli/pull/592
* Update childkey proportion CLI argument in docs by @HudsonGraeme in https://github.com/opentensor/btcli/pull/602
* Update example for show command by @HudsonGraeme in https://github.com/opentensor/btcli/pull/604
* New cmd: `btcli utils latency` by @thewhaleking in https://github.com/opentensor/btcli/pull/599
* Fix: Swap hotkey - new hotkey reg check by @ibraheem-abe in https://github.com/opentensor/btcli/pull/608
* Update cli.py to remove double negative typo by @calebcgates in https://github.com/opentensor/btcli/pull/606
* Better shows hotkeypubs in `w list` by @thewhaleking in https://github.com/opentensor/btcli/pull/611
* subnet symbol set command by @thewhaleking in https://github.com/opentensor/btcli/pull/613
* Debug log by @thewhaleking in https://github.com/opentensor/btcli/pull/597
* Debug log additional by @thewhaleking in https://github.com/opentensor/btcli/pull/615

### New Contributors
* @calebcgates made their first contribution in https://github.com/opentensor/btcli/pull/606

**Full Changelog**: https://github.com/opentensor/btcli/compare/v9.10.1...v9.11.0

## 9.10.2 /2025-09-05
* Fixes swap-hotkey in by @ibraheem-abe in https://github.com/opentensor/btcli/commit/aec630ec06fb679957c1c2940f37a28751fd427f

Expand Down
32 changes: 29 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,13 @@ You can set the commonly used values, such as your hotkey and coldkey names, the
The default location of the config file is: `~/.bittensor/config.yml`. An example of a `config.yml` is shown below:

```yaml
chain: ws://127.0.0.1:9945
network: local
no_cache: False
wallet_hotkey: hotkey-user1
use_cache: true
dashboard_path: null
disk_cache: false
rate_tolerance: null
safe_staking: true
wallet_hotkey: default
wallet_name: coldkey-user1
wallet_path: ~/.bittensor/wallets
metagraph_cols:
Expand All @@ -165,6 +168,29 @@ metagraph_cols:
btcli config --help
```

### ENV VARS
BTCLI accepts a few environment variables that can alter how it works:
- USE_TORCH (default 0): If set to 1, will use torch instead of numpy
- DISK_CACHE (default 0, also settable in config): If set to 1 (or set in config), will use disk caching for various safe-cachable substrate
calls (such as block number to block hash mapping), which can speed up subsequent calls.
- BTCLI_CONFIG_PATH (default `~/.bittensor/config.yml`): This will set the config file location, creating if it does not exist.
- BTCLI_DEBUG_FILE (default `~/.bittensor/debug.txt`): The file stores the most recent's command's debug log.

---

## Debugging
BTCLI will store a debug log for every command run. This file is overwritten for each new command run. The default location
of this file is `~/.bittensor/debug.txt` and can be set with the `BTCLI_DEBUG_FILE` env var (see above section).

The debug log will **NOT** contain any sensitive data (private keys), and is intended to be sent to the developers
for debugging. This file contains basic information about the command being run, the config, and the back and forth of requests and responses
to and from the chain.

If you encounter an issue, and would like to save the file somewhere it won't be overwritten, run `btcli --debug`,
and set the save file location. We recommend doing this first before anything, and then starting your debugging with
us on our [Discord](https://discord.gg/bittensor), or by opening an issue on [GitHub](https://github.com/opentensor/btcli/issues/new)
(where you can also upload your debug file).

---

## License
Expand Down
Loading
Loading