> ## Documentation Index
> Fetch the complete documentation index at: https://developers.gopher-ai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Register Wallet

<Tabs>
  <Tab title="Miner registration">
    Register your `miner` to the subnet:

    <Note>
      Replace `<netuid>` with the network id for the subnet.  Gopher testnet is `165` and mainnet is `42`.
    </Note>

    ```bash theme={null}
    btcli subnet register --netuid <netuid> --wallet.name miner --wallet.hotkey default
    ```

    When prompted to continue, type `y` and press enter again. Confirm your password and press enter to continue. Wait for the miner to be registered to the subnet.

    <Warning>
      You may encounter an error about exceeding blocks. This means that many people have registered to the subnet in the last hour, and you need to wait. This is normal; wait for one tempo (approximately 1 hour).
    </Warning>
  </Tab>

  <Tab title="Validator registration">
    Register your `validator` to the subnet:

    <Note>
      Replace `<netuid>` with the network id for the subnet.  Gopher testnet is `165` and mainnet is `42`.
    </Note>

    ```bash theme={null}
    btcli subnet register --netuid <netuid> --wallet.name validator --wallet.hotkey default
    ```

    When prompted to continue, type `y` and press enter again. Confirm your password and press enter to continue. Wait for the validator to be registered to the subnet.

    <Warning>
      You may encounter an error about exceeding blocks. This means that many people have registered to the subnet in the last hour, and you need to wait. This is normal; wait for one tempo (approximately 1 hour).
    </Warning>
  </Tab>
</Tabs>
