{"id":30240072,"url":"https://github.com/iyedexe/binfrost","last_synced_at":"2025-08-15T04:09:00.573Z","repository":{"id":270780751,"uuid":"911159052","full_name":"iyedexe/binfrost","owner":"iyedexe","description":"Unofficial Client Library for Binance in C++","archived":false,"fork":false,"pushed_at":"2025-08-09T13:51:28.000Z","size":221,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T15:22:35.655Z","etag":null,"topics":["async","binance","bitcoin","cpp17","cpp20","crypto","fix","low-latency","rest","websocket"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iyedexe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-02T11:26:30.000Z","updated_at":"2025-08-09T13:51:31.000Z","dependencies_parsed_at":"2025-01-03T03:34:00.589Z","dependency_job_id":"2fcf99a1-052f-4cc4-8e0d-e2253757b0d1","html_url":"https://github.com/iyedexe/binfrost","commit_stats":null,"previous_names":["iyedexe/fix_bnb","iyedexe/binanceclientcpp","iyedexe/bnb-client-cpp","iyedexe/binfrost"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iyedexe/binfrost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyedexe%2Fbinfrost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyedexe%2Fbinfrost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyedexe%2Fbinfrost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyedexe%2Fbinfrost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iyedexe","download_url":"https://codeload.github.com/iyedexe/binfrost/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iyedexe%2Fbinfrost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270520049,"owners_count":24599280,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","binance","bitcoin","cpp17","cpp20","crypto","fix","low-latency","rest","websocket"],"created_at":"2025-08-15T04:08:56.806Z","updated_at":"2025-08-15T04:09:00.564Z","avatar_url":"https://github.com/iyedexe.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ctable align=\"center\"\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003cimg src=\"https://github.com/user-attachments/assets/621b8250-6fef-4a25-946c-3e2ff20de9f8\" alt=\"BINFROSTLOGO\" width=\"150\" height=\"150\" /\u003e\n    \u003c/td\u003e\n    \u003ctd style=\"padding-left: 15px; vertical-align: middle;\"\u003e\n      \u003cstrong\u003eA blazing-fast, multi-protocol Binance client library — bridging your code to the Binance universe.\u003c/strong\u003e\u003cbr /\u003e\n      \u003cem\u003e\"Like the mythical Bifrost bridge, Binfrost connects you instantly and securely — only here, it’s crypto, not Asgard.\"\u003c/em\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\n\n---\n\n## 🚀 Overview\n**Binfrost** is a C++ client library for Binance with a focus on **performance** and **ease of use**.  \nIt supports:\n- **FIX protocol**\n- **WebSocket streams**\n- **REST API**\n\nYou can establish **Order Entry**, **Market Data**, and **Drop Copy** FIX connections.  \nThe architecture is designed for **low latency**, **cross-platform builds**, and **scalability**.\n\n---\n\n## 📦 Features\n\n- ✅ **FIX Protocol** — TLS connections, custom message cracker, order management  \n- ✅ **WebSocket API** — Exchange info, order placement, cancel orders, test orders, user streams  \n- ✅ **REST API** — Fully integrated with HMAC signing and examples  \n- ✅ **Portable Build** — Windows \u0026 Linux with [vcpkg](https://vcpkg.io)  \n- ✅ **Unit Tests** — For key components (signatures, payloads, key loading)  \n- ✅ **Performance-Oriented** — Designed for low-latency trading systems  \n\n---\n\n## 🛠️ Building\n\n### Windows\n```powershell\nset VCPKG_ROOT=C:\\Users\\Administrator\\Desktop\\workbench\\vcpkg\ncmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=%VCPKG_ROOT%\\scripts\\buildsystems\\vcpkg.cmake\ncmake --build build\n```\n\n### Linux\n\nMake sure vcpkg is installed and VCPKG_ROOT \u0026 PATH are configured:\n```\nexport VCPKG_ROOT=$HOME/workbench/vcpkg\nexport PATH=$PATH:$VCPKG_ROOT\n```\n\nBuild from the build folder:\n\n```\ncmake .. -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake\nmake\n```\n## ✅ DONE\n\n- ✅ **FIX** Build basic client  \n- ✅ **FIX** Connect TLS to Binance  \n- ✅ **FIX** ED25519 signature generation  \n- ✅ **FIX** Unit tests added  \n- ✅ **FIX** Separated client session \u0026 router  \n- ✅ **WS_API** Base implementation  \n- ✅ **UTILS** Refactored utils, added HMAC  \n- ✅ **REST_CLIENT** Full implementation  \n- ✅ **WS_STREAMS** User streams tested \u0026 refactored  \n- ✅ **WS_API** Exchange info, Place/Test/Cancel Orders  \n- ✅ **BUILD** vcpkg dependencies, cross-platform builds  \n- ✅ **FIX** Migrated from **fix8** → **QuickFIX**  \n- ✅ **FIX** Implemented `placeOrder` \u0026 `subscribeToFeed`  \n- ✅ **FIX** Integrated codegen classes \u0026 custom message cracker  \n- ✅ **FIX** Dual session config for feeder/broker  \n- ✅ **FIX** `onMessage` handler for user  \n- ✅ **CRYPTO** ED25519 key loading  \n- ✅ **FIX** Feeder \u0026 broker wrapper  \n- ✅ **FIX** Get Market Info implementation  \n\n---\n\n## 📋 TODO\n\n- ✅ **WS** Example builds via vcpkg  \n- ✅ **LIBRARY** Export as library for RTEX integration  \n- ✅ **LIBRARY** Version 0.0 Beta  \n- ✅ **WS_API** Rework WS to use beast instead of wspp\n- ✅ **WS_API** Logon without signature after authentication  \n- ✅ **FIX** Add response type with code, type, and data  \n- ✅ **REST** Remove singleton request builder and aggregate to client  \n- ✅ **WS** Remove singleton request builder and aggregate to client  \n- ✅ **UTESTS** More coverage for signatures, payloads, key loading  \n- ✅ **WS_ALL** Parameter enforcement for request types  \n- ✅ **FIX** Implement FIX messages fully  \n- ✅ **WS** Feeder-Broker implementation  \n- ✅ **CRYPTO** RSA key loading and sign  \n\n\n## ⚡ Inspiration\n\nThe name Binfrost is a nod to the Bifrost bridge from Norse mythology — a rainbow bridge connecting worlds.\nHere, it’s the bridge between your C++ code and the Binance trading universe.\n\n## 📜 License\n\nMIT License — free to use, modify, and share.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyedexe%2Fbinfrost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiyedexe%2Fbinfrost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiyedexe%2Fbinfrost/lists"}