opentensor / bittensor

Internet-scale Neural Networks
https://www.bittensor.com/
MIT License
862 stars 301 forks source link

Error when encrypting hotkey #1653

Closed buidles closed 7 months ago

buidles commented 8 months ago

Describe the bug

Following instructions here when trying to encrypt the hotkey I get the error:

Error: argument command: invalid choice: 'new_hotkey' (choose from 'subnets', 's', 'subnet', 'root', 'r', 'roots', 'wallet', 'w', 'wallets', 'stake', 'st', 'stakes', 'sudo', 'su', 'sudos', 'legacy', 'l', 'info', 'i')

To Reproduce

  1. Create hotkey as per documentation
  2. Run btcli new_hotkey --use_password

Expected behavior

Not to get error.

Screenshots

No response

Environment

MacOS 14.1, Bittensor 6.6.0

Additional context

No response

ifrit98 commented 7 months ago

This is an error in documentation, nice catch! We will update this in the next release

here is the correct usage: btcli wallet new_hotkey

Bittensor's btcli uses subcommands.