Skip to content

Commit 147aa27

Browse files
authored
Merge pull request #450 from macrocosm-os/staging
v2.12.0
2 parents 92c0ee5 + da79c0f commit 147aa27

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1892
-2404
lines changed

.env.validator.example

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# The network UID. If 1 for main, 61 for testnet.
2-
NETUID=61
2+
NETUID = 61
33

44
# The network name [test, finney, local].
55
SUBTENSOR_NETWORK = "test"
@@ -8,18 +8,18 @@ SUBTENSOR_NETWORK = "test"
88
SUBTENSOR_CHAIN_ENDPOINT = None
99

1010
# The name of your wallet.
11-
WALLET_NAME="validator"
11+
WALLET_NAME = "test_validator"
1212

1313
# The name of the hotkey associated with the validator wallet.
14-
HOTKEY="default"
14+
HOTKEY = "test_hotkey"
1515

1616
# Open port which can be used to connect to the network.
17-
AXON_PORT=22116
17+
AXON_PORT = 12345
1818

19-
# HuggingFace Access Token.
20-
HF_TOKEN=""
19+
# Subnet 19 API Details.
20+
SN19_API_KEY = "your_sn19_api_key_here"
21+
SN19_API_URL = "e.g. http://24.199.112.174:4051/"
2122

22-
23-
OPENAI_API_KEY="..."
24-
SN19_API_KEY="..."
25-
SN19_API_URL="e.g. http://24.199.109.169:8091/"
23+
# Third Party Access Tokens.
24+
OPENAI_API_KEY = "your_openai_api_key_here"
25+
HF_TOKEN = "your_huggingface_token_here"

assets/validator.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,19 @@ huggingface-cli login
2929
Before running a validator, you will need to create a .env.validator environment file. It is necessary for you to provide the following
3030

3131
```text
32-
NETUID= #[1, 61, 102]
33-
SUBTENSOR_NETWORK= #The network name [test, main, local]
34-
SUBTENSOR_CHAIN_ENDPOINT= #The chain endpoint [test if running on test, main if running on main, custom endpoint if running on local]
35-
WALLET_NAME= #Name of your wallet(coldkey)
36-
HOTKEY= #Name of your hotkey associated with above wallet
37-
AXON_PORT= #Number of the open tcp port
38-
HF_TOKEN= #Access token from Hugging Face where you accepted the License Agreement for lmsys
32+
NETUID = # [1, 61, 102]
33+
SUBTENSOR_NETWORK = # The network name [test, main, local]
34+
SUBTENSOR_CHAIN_ENDPOINT = # The chain endpoint [test if running on test, main if running on main, custom endpoint if running on local]
35+
WALLET_NAME = # Name of your wallet (coldkey)
36+
HOTKEY = # Name of your hotkey associated with above wallet
37+
AXON_PORT = # Number of the open tcp port
38+
SN19_API_KEY = # Your Subnet 19 API key
39+
SN19_API_URL = # Your Subnet 19 API URL
40+
OPENAI_API_KEY = # Your OpenAI API key
41+
HF_TOKEN = # Access token from Hugging Face where you accepted the License Agreement for lmsys
3942
```
43+
**Example Template**:
44+
Use `.env.validator.example`, located in the root directory, as template for required environment variables.
4045

4146
## Running
4247

contrib/CODE_REVIEW_DOCS.md

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)