Earn Passive Income with Funding Fee Arbitrage on Hyperliquid
HyperHedge is a sophisticated DeFi application that enables users to create automated hedge positions combining perpetual futures and spot holdings on the Hyperliquid protocol. Capture funding rate premiums while maintaining market-neutral exposure.
- Automated Hedge Positions: Create market-neutral positions that earn from funding rate arbitrage
- Real-time Analytics: Monitor funding rates, portfolio performance, and market data
- Risk Management: Built-in risk controls and position monitoring
- Multiple Markets: Access to all available Hyperliquid markets
- Watch Mode: Monitor positions without active trading
- Node.js 18+
- npm or yarn
- A Web3 wallet (MetaMask, WalletConnect, etc.)
- Hyperliquid account and API keys
git clone https://github.com/hexaonelabs/hyperhedge.git
cd hyperhedgenpm installnpm run devThe application will be available at http://localhost:5173
npm run buildnpm run deployThe application supports both Hyperliquid mainnet and testnet environments. You can configure this through the UI:
- Connect your wallet
- Open the Hyperliquid Configuration modal
- Select your preferred environment (Mainnet/Testnet)
- Configure your API wallet and sub-account address
- Save your configuration
Your Hyperliquid API keys are securely stored locally in your browser and encrypted using your wallet signature. The application never sends your private keys to any external server.
Connect your wallet and setup API keys to start creating hedge positions on Hyperliquid.
Analyze funding rates across different markets to identify profitable opportunities.
Set up automated hedge positions that capture funding rate premiums while maintaining market neutrality.
- Portfolio Dashboard: Overview of your positions and performance
- Market Analytics: Real-time funding rates and market data
- Position Management: Create and monitor hedge positions
- Risk Management: Built-in controls and alerts
- Configuration: Secure API key and account management
- Local Storage: All sensitive data is stored locally in your browser
- Wallet Encryption: API keys are encrypted using your wallet signature
- No Server Storage: Private keys never leave your device
- Open Source: Full transparency of the codebase
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLintnpm run deploy- Build and deploy to Firebase
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request