Wirekrak ⚡
A High-Performance WebSocket SDK for Real-Time Kraken Trading
Wirekrak is a modern C++ WebSocket SDK designed for low-latency, real-time trading applications on the Kraken exchange.It is built with production-grade architecture, focusing on reliability, determinism, and extensibility.
🚀 Built for the Kraken Forge Hackathon
🧩 Problem Statement
Developers integrating with the Kraken WebSocket API must manage complex, error-prone concerns such as subscription state tracking, reconnect logic, and fragile JSON message handling. Existing solutions often expose low-level streams without strong typing or lifecycle guarantees, increasing the risk of bugs in real-time systems. Wirekrak addresses this by providing a lightweight, strongly typed C++ SDK that abstracts protocol complexity and delivers reliable, deterministic WebSocket interactions.
🛠️ What I Built
Wirekrak is a lightweight C++ SDK for the Kraken WebSocket API, designed around a clean, layered architecture that separates transport, client policy, protocol handling, and subscription management. The current implementation focuses on trade and order book subscriptions, providing strongly typed message handling and deterministic lifecycle management across acknowledgements and reconnects.
What makes it unique is its modular, layered design, which makes the SDK easy to extend with additional channels, transports, or features over time, while maintaining reliability, testability, and scalability. This makes Wirekrak well suited as a foundation for production-grade trading and market-data systems.