Skip to content

Commit eee9be6

Browse files
authored
Add configuration readme (#61)
1 parent 817de77 commit eee9be6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ SDK for Hyperliquid API trading with Python.
1919
```bash
2020
pip install hyperliquid-python-sdk
2121
```
22+
## Configuration
23+
24+
- Set the public key as the `account_address` in examples/config.json.
25+
- Set your private key as the `secret_key` in examples/config.json.
26+
- See the example of loading the config in examples/example_utils.py
27+
28+
### [Optional] Generate a new API key for an API Wallet
29+
Generate and authorize a new API private key on https://app.hyperliquid.xyz/API, and set the API wallet's private key as the `secret_key` in examples/config.json. Note that you must still set the public key of the main wallet *not* the API wallet as the `account_address` in examples/config.json
30+
2231
## Usage Examples
2332
```python
2433
from hyperliquid.info import Info

0 commit comments

Comments
 (0)