Skip to content

Config + wallet_ask rework, enhancements, fixes#66

Merged
ibraheem-abe merged 4 commits intofix/thewhaleking/raj-fixesfrom
feat/revamps-config-wallet-ask
Sep 12, 2024
Merged

Config + wallet_ask rework, enhancements, fixes#66
ibraheem-abe merged 4 commits intofix/thewhaleking/raj-fixesfrom
feat/revamps-config-wallet-ask

Conversation

@ibraheem-abe
Copy link
Copy Markdown
Contributor

@ibraheem-abe ibraheem-abe commented Sep 12, 2024

  • Adds WalletOptions and WalletValidationTypes
  • Adds pre-check for registration in swap-hotkey
  • Gracefully exit in-case user declines to write to existing wallet file
  • Fixes regen-hotkey always encrypting
  • Fixes transfer history table
  • Adds indication which subtensor network is being used from configs
  • Revamps UX of config commands
  • Revamps wallet_ask module
  • Removes wallet_name_req and wallet_hk_req
  • Removes check_coldkey_swap until we add the feat

@ibraheem-abe ibraheem-abe changed the title Config + wallet_ask reword, enhancements, fixes Config + wallet_ask rework, enhancements, fixes Sep 12, 2024
Comment thread bittensor_cli/cli.py Outdated
wallet_hotkey: Optional[str],
validate: bool = True,
ask_type: str = "name"
ask_for: List[str] = [],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this List rather than list?

@ibraheem-abe ibraheem-abe merged commit 389b692 into fix/thewhaleking/raj-fixes Sep 12, 2024
@thewhaleking thewhaleking deleted the feat/revamps-config-wallet-ask branch September 12, 2024 15:50
ibraheem-abe added a commit that referenced this pull request Sep 12, 2024
* Added an ask type in wallet_ask to specify which aspect of the wallet to prompt users for

* Warns user if setting chain to non-chain address in config.

* Config + wallet_ask rework, enhancements, fixes (#66)

* Enhancements and fixes

* Removes wallet_name_req and wallet_hk_req

* Changes type and adds config for wallet balance

* Removes unused import

* Fixes different quotes in same line

* Removes old wallet_nam_req

* Fixes overview bug + tests

---------

Co-authored-by: ibraheem-opentensor <165814940+ibraheem-opentensor@users.noreply.github.com>
Co-authored-by: ibraheem-opentensor <ibraheem@opentensor.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants