# Hyperliquid Testnet Wallet Setup

To run the strategies on Hyperliquid Testnet, you need a wallet
with testnet USDC. Here's how to set it up.

## 1. Create a wallet (if you don't have one)

Hyperliquid uses standard Ethereum wallets. You can generate one:
```bash
# Using Python (never use this key on mainnet!)
python3 -c "
from eth_account import Account
acct = Account.create()
print(f'Address: {acct.address}')
print(f'Private Key: 0x{acct.key.hex()}')
"
```

Or use any Ethereum wallet you already have (MetaMask, Rabby, etc.)

## 2. Deposit on mainnet first

The testnet faucet only works for addresses that have deposited
on Hyperliquid mainnet. Send a small amount of USDC to your
address on mainnet (app.hyperliquid.xyz).

## 3. Get testnet USDC

Go to https://app.hyperliquid-testnet.xyz/drip and claim
1,000 mock USDC. You can claim once every 4 hours.

## 4. Set the environment variable

```bash
export HYPERLIQUID_TESTNET_PK=0x_your_private_key_here
```

## 5. Verify

```bash
curl -s https://api.hyperliquid-testnet.xyz/info \
  -H "Content-Type: application/json" \
  -d '{"type":"clearinghouseState","user":"YOUR_ADDRESS"}'
```

You should see your testnet balance in the response.
