How it works
Architecture
war.market is a frontend. The execution layer is Pear Protocol. Settlement happens on Hyperliquid.
war.market (UI) → Pear Protocol (execution) → Hyperliquid (settlement)Authentication
- Connect wallet on HyperEVM (chainId 999 or 14601)
- Sign EIP-712 message
- Pear creates an agent wallet
- Agent wallet holds your trading funds
The agent wallet is non-custodial. You control it through Pear's API. war.market never touches your funds.
Baskets
Each market is a basket trade. Example:
Taiwan Strait Crisis
- Long: INTC (40%), AMD (30%), ORCL (30%)
- Short: NVDA (40%), AAPL (35%), TSLA (25%)
- Leverage: 3x
When you click YES, Pear executes all six legs atomically. One transaction. One position.
Execution
Pear uses Hyperliquid perps under the hood. Each leg of the basket is a separate perp position, but Pear manages them as a single unit.
Benefits:
- Atomic execution (all or nothing)
- Single margin requirement
- Unified P&L tracking
- One-click close
Settlement
All trades settle on Hyperliquid L1. Real-time. No oracle latency issues.
Collateral is held in your Pear agent wallet as USDC. P&L updates continuously.
Closing positions
From the portfolio page:
- Select position
- Click close
- Pear unwinds all legs
- Funds return to agent wallet
You can withdraw from agent wallet anytime.