-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy path.env.example
More file actions
28 lines (26 loc) · 1.49 KB
/
.env.example
File metadata and controls
28 lines (26 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ─── Network ───────────────────────────────────────────────
NETUID=7
WALLET_NAME=default
HOTKEY_NAME=default
# Validators should point at a local subtensor lite node for cheap
# commitment polling. Examples:
# SUBTENSOR_NETWORK=local # ws://127.0.0.1:9944 (lite node or dev env)
# SUBTENSOR_NETWORK=finney # public mainnet entrypoint
# SUBTENSOR_NETWORK=ws://host:9944 # custom remote node
SUBTENSOR_NETWORK=finney
PORT=8091
WALLET_PATH=~/.bittensor/wallets
LOG_LEVEL=info
# ─── Chain: Bitcoin (env_prefix=BTC) ───────────────────────
BTC_MODE=lightweight # node = local Bitcoin node | lightweight = Blockstream API (no node required)
BTC_NETWORK=mainnet # mainnet | testnet (auto-detected from RPC URL in node mode)
BTC_RPC_URL= # Required for BTC_MODE=node only
BTC_RPC_USER=
BTC_RPC_PASS=
# ─── Miner-only ───────────────────────────────────────────
MINER_BTC_ADDRESS=
BTC_PRIVATE_KEY= # WIF private key — required for miners in lightweight mode
# Skip fulfilling a swap when fewer than this many blocks remain before its
# timeout. Guards against slow dest-chain inclusion turning a send into a
# slash. Default: 5 blocks (~1 min at 12s). Set to 0 to disable.
MINER_TIMEOUT_CUSHION_BLOCKS=5