Crypn is a powerful cryptocurrency analytics platform that provides real-time market data, advanced charting tools, and comprehensive trading insights for the Hyperliquid DEX. Whether you're a seasoned trader or just getting started, Crypn offers the tools you need to make informed decisions in the crypto market.









- Real-time Data: Connect to Hyperliquid's WebSocket API for live market data
- Multiple Timeframe Analysis: View charts ranging from 1-minute to monthly timeframes
- Advanced Technical Indicators: Over 30 technical indicators including:
- MACD, RSI, Bollinger Bands, Stochastic, DMI/ADX
- Ichimoku Cloud, TD Sequential, Fibonacci levels
- Advanced pattern recognition (Head & Shoulders, Harmonic Patterns)
- Liquidity Swings analysis
- Support & Resistance detection
- Market Overview: View all Hyperliquid assets with current prices, volumes, and funding rates
- Position Tracking: Track your open positions and trade history
- Cross-Vault Analysis: Track and compare multiple vault positions simultaneously
- Consensus signals: Identify potential trading opportunities using multi-indicator analysis
- Node.js (v14 or higher)
- npm (v6 or higher)
- Clone the repository:
git clone https://github.com/heyimsteve/crypn.git
cd crypn
- Install dependencies:
npm install
- Start the development server:
npm start
- The application will open in your browser at
http://localhost:3000
crypn/
├── public/ # Static files
├── src/
│ ├── components/ # Reusable UI components
│ ├── pages/ # Page components
│ ├── utils/ # Helper functions
│ ├── App.js # Main application component
│ ├── index.js # Application entry point
│ └── TabContext.js # Context for tab management
├── package.json # Project dependencies
└── README.md # Project documentation
The application connects to Hyperliquid's API endpoints to fetch market data:
fetchChartData.js
: Fetches candle data, order book, and recent tradesindicators.js
: Calculates technical indicators from raw price data- WebSocket connections: Maintains real-time data feeds
All chart components are built using the Lightweight Charts library:
PriceChart.js
: Main price chart with candlesticksVolumeChart.js
: Volume histogram chartMacdChart.js
,RsiChart.js
, etc.: Individual indicator chartsConsensusChart.js
: Multi-indicator analysis chart
Dashboard.js
: User or vault position dashboardPerpsData.js
: Overview of all perpetual contractsOpenOrders.js
: Track open ordersTradeHistory.js
: View trade historyMarket.js
: Live market overview
The application integrates with the Hyperliquid API:
https://api.hyperliquid.xyz/info
- Used for most data querieshttps://api.hyperliquid.xyz/exchange
- Used for trading operations (not implemented in this version)
wss://api.hyperliquid.xyz/ws
- Used for real-time data streaming
The indicators.js
file contains implementations of all technical indicators:
calculateRSI()
: Relative Strength Index calculationcalculateMACD()
: Moving Average Convergence DivergencecalculateBollingerBands()
: Bollinger Bands calculationcalculateTDSequential()
: TD Sequential indicatordetectHeadAndShoulders()
: Pattern recognition algorithmscalculateConsensusSignals()
: Multi-indicator signal generator
calculateROE()
: Return on Equity calculationsformatNumber()
: Consistent number formatting with appropriate decimalsgetMarketTrend()
: Market trend analysis
The application supports tracking multiple vaults simultaneously:
- Compare positions across different vaults
- Consensus view combining all vault positions
- Analyze performance across different strategies
The application reads wallet addresses from:
- URL parameters (e.g.,
?wallet=0x123...
) - User input in the WalletInput component
- Predefined vault addresses for the vault dashboard
To add a new indicator:
- Implement the indicator calculation in
indicators.js
- Create a new chart component in the components directory
- Add the component to the appropriate page (typically
CoinDetails.js
)
This project is licensed under the MIT License - see the LICENSE file for details.
- Hyperliquid API for providing the market data
- Lightweight Charts library for chart rendering
- TradingView for chart styling inspiration
- React and Tailwind CSS for the UI framework
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Project Link: https://github.com/heyimsteve/crypn