- Go to https://app.hyperliquid.xyz/ and create an account by connecting a third party wallet wallet (more secure) or using email (less secure).
- Click the "Deposit" button to transfer USDC (not USDT, USDC.E or any other stablecoin) via the Arbitrum network to your account's address.
- Navigate to "More" -> "API" and follow instructions to create an API wallet (agent wallet).
- If not already installed, install Passivbot. Otherwise, pull latest master branch:
git pull
. - Update the requirements:
pip install -r requirements.txt
- Add your Hyperliquid wallet address and API wallet to
api-keys.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.
- In HyperLiquid, navigate to "Vaults" in the top menu and create a new vault.
- Set the name and description (limited to 250 characters).
- To find the wallet address of the vault, navigate to "Vaults" again and find your vault in the public vault list.
- Click on your vault and get the public address of the vault. This address will be your
YOUR_VAULT_PUBLIC_ADDRESS
inapi-keys.json
. Remember to set"is_vault"
to true.
Update api-keys.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.