Getting Started
This guide walks through first-time setup: install Heat, create an account, understand funding, and run your first protocol commands.
1. Install Heat
# One-command install (recommended)
curl -fsSL https://raw.githubusercontent.com/dzmbs/heat-cli/main/install.sh | bash
# Or install with cargo
cargo install --git https://github.com/dzmbs/heat-cli --bin heatConfirm it works:
heat --version
heat --helpSee Installation for other methods and platform details.
2. Create a Heat account
Heat uses named accounts to manage keys. Each account has encrypted local key material plus account metadata under ~/.heat/.
Option A: Generate a new Heat account locally
heat accounts create trading --generate --persist-password ~/.heat/secrets/trading.passwordThis is the recommended path for both humans and agents:
- Heat generates the key locally
- Heat generates the encryption password locally
- Heat stores the password at the path you chose
- future signing commands can reuse that stored password path automatically
Option B: Create from an existing private key
heat accounts create trading --key-file /path/to/private-key.txt --persist-password ~/.heat/secrets/trading.passwordOption C: Import an existing keystore
If you already have an Ethereum V3 keystore file:
heat accounts import trading --keystore /path/to/keystore.json3. Set a default account
heat accounts use tradingOverride per-command with --account:
heat hl balance --account other-account4. Verify account details
heat accounts list
heat accounts get trading
heat configThe address shown by heat accounts get trading is important for onboarding.
- Hyperliquid funding is currently done externally to that account address.
- Polymarket uses the same Heat account for signing, but may derive a different effective Polymarket wallet depending on signature type.
- Aave and LI.FI use the same Heat EVM account model directly.
- DefiLlama is read-only market data and does not require an account for normal usage.
5. Understand funding today
Hyperliquid
Heat does not currently include a Hyperliquid deposit or bridge command.
Current flow:
- get your account address with
heat accounts get trading - fund that address externally for Hyperliquid
- return to Heat and verify with
heat hl balance
Polymarket
Heat can fetch Polymarket deposit addresses, but it does not send the transfer itself.
Current flow:
- run
heat pm bridge deposit - send funds externally to the returned deposit address
- check status with
heat pm bridge status - run approvals with
heat pm approve checkandheat pm approve set
Aave
Aave does not need a special onboarding flow beyond having funds on the target EVM chain.
Current flow:
- make sure your Heat EVM account has funds on Ethereum, Arbitrum, or Base
- inspect available reserves with
heat aave markets --chain <chain> - preview with
--dry-runbeforesupplyorwithdraw
LI.FI
LI.FI is Heat's EVM bridge layer.
Current flow:
- fund your source-chain Heat account
- preview route execution with
heat lifi bridge ... --dry-run - execute the bridge when ready
- check progress with
heat lifi status
6. Run your first read-only commands
Hyperliquid
heat hl price BTC
heat hl perps
heat hl spotPolymarket
heat pm markets list --limit 5
heat pm markets search "election"
heat pm price <token_id> --side buyAave
heat aave markets --chain ethereum
heat aave positions --chain arbitrum --account trading
heat aave health --chain base --account tradingLI.FI
heat lifi chains
heat lifi tokens --chain ethereum
heat lifi routes --from-chain ethereum --to-chain arbitrum --from-token USDC --to-token USDC --amount 1000000 --from-address 0x...DefiLlama
heat llama protocols list --limit 5
heat llama chains list --limit 5
heat llama fees overview --chain Ethereum7. Verify funded accounts
Hyperliquid
heat hl balance
heat hl positions
heat hl ordersPolymarket
heat pm bridge status
heat pm approve check
heat pm balance
heat pm positionsAave
heat aave positions --chain ethereum
heat aave health --chain ethereumLI.FI
heat lifi bridge 100 USDC --from ethereum --to base --account trading --dry-run8. Preview dangerous commands first
Use --dry-run before any action that could move money, place an order, bridge funds, or execute a lending action.
Hyperliquid
heat hl buy ETH 0.1 --price 3500 --dry-runPolymarket
heat pm buy <token_id> --price 0.55 --size 100 --dry-runAave
heat aave supply USDC 1000 --chain ethereum --account trading --dry-runLI.FI
heat lifi bridge 100 USDC --from ethereum --to arbitrum --account trading --dry-run9. Agent workflow guidance
If you are building an agent on top of Heat, use this pattern:
- resolve or confirm the active account
- inspect addresses and balances
- if funding is missing, ask the human to fund externally or bridge with LI.FI if appropriate
- re-check balances or deposit status
- use
--dry-runbefore proposing a live action - require explicit confirmation before real-money writes
Recommended agent wording for Hyperliquid
Your Heat account is configured, but Heat does not yet support Hyperliquid funding inside the CLI. Please fund address
<ADDRESS>externally, then tell me when to continue.
Recommended agent wording for Polymarket
Your Heat account is configured, but Heat does not yet move funds on your behalf into Polymarket directly. Please send funds to the deposit address returned by
heat pm bridge deposit, then tell me when to continue.
Recommended agent wording for LI.FI
I can bridge supported EVM assets with
heat lifi bridge, but I will first show you a dry-run preview and wait for explicit confirmation before executing.
10. Account resolution order
Heat resolves which account to use in this order:
--accountflagHEAT_ACCOUNTenvironment variabledefault_accountin~/.heat/config.toml~/.heat/default-accountfile set byheat accounts use
If none are set, commands that require an account fail with an auth error and a hint.