-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
## Quick Guide for Passivbot on Hyperliquid | ||
|
||
### Hyperliquid account creation | ||
|
||
1. Go to https://app.hyperliquid.xyz/ and create an account by connecting a third party wallet wallet (more secure) or using email (less secure). | ||
2. Click the "Deposit" button to transfer USDC (not USDT, USDC.E or any other stablecoin) via the Arbitrum network to your account's address. | ||
3. Navigate to "More" -> "API" and follow instructions to create an API wallet (agent wallet). | ||
|
||
### Passivbot setup | ||
|
||
1. If not already installed, install Passivbot. Otherwise, pull latest master branch: `git pull`. | ||
2. Update the requirements: | ||
```bash | ||
pip install -r requirements.txt | ||
``` | ||
3. Add your Hyperliquid wallet address and API wallet to `api-keys.json`: | ||
```json | ||
"hyperliquid_01": { | ||
"exchange": "hyperliquid", | ||
"wallet_address": "YOUR_USDC_PUBLIC_WALLET_ADDRESS", | ||
"private_key": "API_PRIVATE_KEY", | ||
"is_vault": false | ||
} | ||
``` | ||
For the `"private_key"`, use the API wallet created in the API section on Hyperliquid. | ||
|
||
Now Passivbot may be run as normal. Note that Hyperliquid has a minimum $10 order size. | ||
|
||
#### HyperLiquid with a Vault (CopyTrading-like) | ||
1. In HyperLiquid, navigate to "Vaults" in the top menu and create a new vault. | ||
2. Set the name and description (limited to 250 characters). | ||
3. To find the wallet address of the vault, navigate to "Vaults" again and find your vault in the public vault list. | ||
4. Click on your vault and get the public address of the vault. This address will be your `YOUR_VAULT_PUBLIC_ADDRESS` in `api-keys.json`. Remember to set `"is_vault"` to true. | ||
|
||
Update `api-keys.json`: | ||
```json | ||
"hyperliquid_01": { | ||
"exchange": "hyperliquid", | ||
"wallet_address": "YOUR_VAULT_PUBLIC_ADDRESS", | ||
"private_key": "API_PRIVATE_KEY", | ||
"is_vault": true | ||
} | ||
``` | ||
|
||
Refer to Hyperliquid's documentation for more details. |