Skip to content

Commit

Permalink
update readme for new btcli commands
Browse files Browse the repository at this point in the history
  • Loading branch information
surcyf123 authored Sep 19, 2024
1 parent f2e5a34 commit fff6634
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,21 +87,21 @@ The `btcli` tool is used to manage wallets and keys.
1. **Create a Coldkey** (shared between miner and validator):

```bash
btcli new_coldkey --wallet.name mywallet
btcli w new_coldkey --wallet.name mywallet
```

2. **Create Hotkeys**:

- **Miner Hotkey**:

```bash
btcli new_hotkey --wallet.name mywallet --wallet.hotkey miner_hotkey
btcli w new_hotkey --wallet.name mywallet --wallet.hotkey miner_hotkey
```

- **Validator Hotkey**:

```bash
btcli new_hotkey --wallet.name mywallet --wallet.hotkey validator_hotkey
btcli w new_hotkey --wallet.name mywallet --wallet.hotkey validator_hotkey
```

### 4. Register Wallets
Expand All @@ -111,13 +111,13 @@ Register both the miner and validator on the Bittensor network.
- **Register the Miner**:

```bash
btcli register --wallet.name mywallet --wallet.hotkey miner_hotkey --subtensor.network finney
btcli s register --wallet.name mywallet --wallet.hotkey miner_hotkey --subtensor.network finney
```

- **Register the Validator**:

```bash
btcli register --wallet.name mywallet --wallet.hotkey validator_hotkey --subtensor.network finney
btcli s register --wallet.name mywallet --wallet.hotkey validator_hotkey --subtensor.network finney
```

> **Note**: Replace `finney` with the name of the network you are connecting to if different.
Expand All @@ -131,7 +131,7 @@ Register both the miner and validator on the Bittensor network.
In one terminal window, navigate to the project directory and run:

```bash
python miner.py --wallet.name mywallet --wallet.hotkey miner_hotkey --subtensor.network finney
python miner.py --wallet.name mywallet --wallet.hotkey miner_hotkey --subtensor.network finney --axon.port 8901
```

**Arguments**:
Expand Down

0 comments on commit fff6634

Please sign in to comment.