Skip to content

Commit 512d507

Browse files
authored
Merge pull request #2908 from opentensor/feat/roman/add-lev-for-config-wallet
Add local env variable for `config.wallet.*`
2 parents 6950464 + a24aefa commit 512d507

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bittensor/core/settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@
126126
"_mock": False,
127127
},
128128
"wallet": {
129-
"name": "default",
130-
"hotkey": "default",
131-
"path": str(WALLETS_DIR),
129+
"name": os.getenv("BT_WALLET_NAME") or "default",
130+
"hotkey": os.getenv("BT_WALLET_HOTKEY") or "default",
131+
"path": os.getenv("BT_WALLET_PATH") or str(WALLETS_DIR),
132132
},
133133
}
134134
)

0 commit comments

Comments
 (0)