cartha-cli 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -639,8 +639,8 @@ def prove_lock(
639
639
  "• Liquidation events may result in partial loss of capital\n"
640
640
  "• Lost funds are NOT reimbursed - this is the LP risk model\n"
641
641
  "• You earn subnet rewards + liquidation fees in return\n"
642
- "• Minimum collateral: 100k USDC to maintain full emission scoring\n"
643
- "• If your withdrawable balance falls below 100k USDC, your emission scoring will be reduced\n\n"
642
+ "• Minimum collateral: 100k USDC total across all your positions to maintain full emission scoring\n"
643
+ "• If your total withdrawable balance across all positions falls below 100k USDC, your emission scoring will be reduced\n\n"
644
644
  "[bold red]Only commit funds you can afford to lose.[/]\n\n"
645
645
  "[dim]This disclosure is required for all liquidity providers.[/]\n"
646
646
  "[dim]more information: https://docs.0xmarkets.io/legal-and-risk[/]",
@@ -68,8 +68,11 @@ def register(
68
68
  session tokens instead of passwords.
69
69
  """
70
70
 
71
- assert wallet_name is not None # nosec - enforced by Typer prompt
72
- assert wallet_hotkey is not None # nosec - enforced by Typer prompt
71
+ # Prompt for wallet name and hotkey if not provided
72
+ if wallet_name is None:
73
+ wallet_name = typer.prompt("Coldkey wallet name", default="default")
74
+ if wallet_hotkey is None:
75
+ wallet_hotkey = typer.prompt("Hotkey name", default="default")
73
76
 
74
77
  # Auto-map netuid and verifier URL based on network
75
78
  if network == "test":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cartha-cli
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: CLI utilities for Cartha subnet miners.
5
5
  Project-URL: Homepage, https://cartha.finance
6
6
  Project-URL: Repository, https://github.com/General-Tao-Ventures/cartha-cli
@@ -45,34 +45,36 @@ Cartha CLI makes mining on the Cartha subnet effortless. As the Liquidity Provid
45
45
  - **💼 Multi-Pool Management** - Track multiple trading pairs in one place
46
46
  - **🔑 Secure by Default** - Your password stays hidden until you actually need it
47
47
 
48
- ## Quick Start
48
+ ## Installation
49
49
 
50
50
  ```bash
51
- # Install dependencies
52
- uv sync
51
+ pip install cartha-cli
52
+ ```
53
+
54
+ ## Quick Start
53
55
 
56
+ ```bash
54
57
  # Show available commands
55
- uv run cartha
58
+ cartha --help
56
59
 
57
60
  # Get started with registration
58
- uv run cartha miner register --help
61
+ cartha miner register --help
59
62
 
60
63
  # Check your miner status (no authentication needed)
61
- uv run cartha miner status --help
64
+ cartha miner status --help
62
65
 
63
66
  # Check CLI health and connectivity
64
- uv run cartha health
67
+ cartha health
65
68
 
66
69
  # Or use short aliases
67
- uv run cartha m status
68
- uv run cartha v lock
70
+ cartha m status
71
+ cartha v lock
69
72
  ```
70
73
 
71
74
  ## Requirements
72
75
 
73
76
  - Python 3.11
74
77
  - Bittensor wallet
75
- - [`uv`](https://github.com/astral-sh/uv) package manager (or pip)
76
78
 
77
79
  ## What You Can Do
78
80
 
@@ -17,12 +17,12 @@ cartha_cli/commands/miner_password.py,sha256=7cbcyrJ9KzCyJ68_174U_CXjBUt9BaYhgKA
17
17
  cartha_cli/commands/miner_status.py,sha256=tWlCWcuwm9NEd4USuCLp_6qObikX2odc2e7m6Y_vNrU,21873
18
18
  cartha_cli/commands/pair_status.py,sha256=Sk6-bIAcgAH3KxGg0Hw3PofLW_4eyonLUmJOkJ8gem0,19821
19
19
  cartha_cli/commands/pools.py,sha256=LkFJlur1T5lxV2qz7DeYYj9GbyRiy0wjb1mUNsV1zQg,4104
20
- cartha_cli/commands/prove_lock.py,sha256=rNxuKupTGyJ-SzKA5Yil6t6fPmLuzbX4jG4D4ZzVo4c,60562
21
- cartha_cli/commands/register.py,sha256=m7BLTTmiEbeXRrStUSNQbwI79IN4KOBEjU-nN6cSU4k,10109
20
+ cartha_cli/commands/prove_lock.py,sha256=xN87_lXmL-dao9GsLpalUsmlun8nLpBc7GIPaRLg8ig,60621
21
+ cartha_cli/commands/register.py,sha256=sxbYO0V4NucOKLZpaFoVnhFDHLSLDHREoMtN9DjyLsM,10227
22
22
  cartha_cli/commands/shared_options.py,sha256=itHzJSgxuKQxUVOh1_jVTcMQXjI3PPzexQyhqIbabxc,5874
23
23
  cartha_cli/commands/version.py,sha256=u5oeccQzK0LLcCbgZm0U8-Vslk5vB_lVvW3xT5HPeTg,456
24
- cartha_cli-1.0.0.dist-info/METADATA,sha256=W_n3aBURJG5xcgP-r9HF9grG5stONJLHYRsrUgaOZcg,5875
25
- cartha_cli-1.0.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
26
- cartha_cli-1.0.0.dist-info/entry_points.txt,sha256=sTYVMgb9l0fuJibUtWpGnIoDmgHinne97G4Y_cCwC-U,43
27
- cartha_cli-1.0.0.dist-info/licenses/LICENSE,sha256=B4UCiDn13m4xYwIl4TMKfbuKw7kh9pg4c81rJecxHSo,1076
28
- cartha_cli-1.0.0.dist-info/RECORD,,
24
+ cartha_cli-1.0.1.dist-info/METADATA,sha256=kNbcljoI3DNOQDvKkCKS_CPeKO8F5DR9dsI9gbN9Qk4,5794
25
+ cartha_cli-1.0.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
26
+ cartha_cli-1.0.1.dist-info/entry_points.txt,sha256=sTYVMgb9l0fuJibUtWpGnIoDmgHinne97G4Y_cCwC-U,43
27
+ cartha_cli-1.0.1.dist-info/licenses/LICENSE,sha256=B4UCiDn13m4xYwIl4TMKfbuKw7kh9pg4c81rJecxHSo,1076
28
+ cartha_cli-1.0.1.dist-info/RECORD,,