{"id":35190143,"url":"https://github.com/chainbuff/yellowstone-grpc-java","last_synced_at":"2026-05-21T10:34:37.061Z","repository":{"id":271444662,"uuid":"913409577","full_name":"ChainBuff/yellowstone-grpc-java","owner":"ChainBuff","description":"Solana Yellowstone gRPC java 示例项目","archived":false,"fork":false,"pushed_at":"2025-01-07T19:27:15.000Z","size":250,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T20:22:10.975Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChainBuff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-01-07T16:21:20.000Z","updated_at":"2025-01-07T19:27:18.000Z","dependencies_parsed_at":"2025-01-07T20:22:16.633Z","dependency_job_id":"ea63cf1c-6ab5-4b5e-9c3c-450312ac77b2","html_url":"https://github.com/ChainBuff/yellowstone-grpc-java","commit_stats":null,"previous_names":["chainbuff/yellowstone-grpc-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChainBuff/yellowstone-grpc-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainBuff%2Fyellowstone-grpc-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainBuff%2Fyellowstone-grpc-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainBuff%2Fyellowstone-grpc-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainBuff%2Fyellowstone-grpc-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChainBuff","download_url":"https://codeload.github.com/ChainBuff/yellowstone-grpc-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainBuff%2Fyellowstone-grpc-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28111179,"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-12-29T02:00:07.021Z","response_time":58,"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":[],"created_at":"2025-12-29T05:37:47.973Z","updated_at":"2025-12-29T05:37:48.723Z","avatar_url":"https://github.com/ChainBuff.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solana Yellowstone gRPC java 示例项目\n\n## 项目概述\n\n本项目提供了使用 java 接入 Solana Yellowstone gRPC 服务的示例代码。其中[solana-grpc-java](solana-grpc-java)中的代码是使用protoc根据[proto](proto)中的.proto文件生成，生成的具体过程本项目不再讨论，直接下载本项目打包引用到自己项目即可。\n## 环境要求\n- java 17+\n- maven\n- Git\n\n## 快速开始\n\n### 1. 克隆项目\u0026编译代码\n\n```bash\ngit clone https://github.com/ChainBuff/yellowstone-grpc-java.git\ncd yellowstone-grpc-java\nmvn clean install\n```\n\n### 2. 安装依赖包\n通过第一步 mvn clean install命令执行成功之后，solana-grpc-java 会打包安装到本地仓库，如需在自己项目中使用引入以下依赖即可。\n\n```xml\n\u003cdependency\u003e\n   \u003cgroupId\u003ecom.chainbuff\u003c/groupId\u003e\n   \u003cartifactId\u003esolana-grpc-java\u003c/artifactId\u003e\n   \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## 项目结构\n yellowstone-grpc-java\n   - example //示例代码在这里\n     - [SubscriptionClient.java](example%2Fsrc%2Fmain%2Fjava%2Fcom%2Fchainbuff%2Fgrpc%2FSubscriptionClient.java)此代码是一个订阅客户端示例，可以参考此代码实现自己的订阅客户端。\n   - proto   //yellowstone 的 proto文件，本项目不依赖此文件，只做备份使用\n   - solana-grpc-java //yellowstone grpc java代码，使用protoc和java相关插件生成，本项目不做详细解释；编译打包直接使用即可。\n\n### [00-订阅Transaction数据并解析](example%2Fsrc%2Fmain%2Fjava%2Fcom%2Fchainbuff%2Fexamples%2Fsubtrans%2FREADME.md)\n- 交易数据订阅的基础实现\n- 演示如何建立 gRPC 连接\n- 解析交易数据\n\n### [01-PUMP交易价格解析示例(待完善)](example%2Fsrc%2Fmain%2Fjava%2Fcom%2Fchainbuff%2Fexamples%2Fpumpprice%2FREADME.md)\n\n## 关键特性\n\n- 使用配置文件管理连接参数\n- 支持多种订阅过滤器\n- 实时数据推送\n- 心跳保活机制\n- 异步处理\n\n\n## 参考资源\n\n- [Solana 开发文档](https://docs.solana.com/)\n- [Yellowstone-grpc 文档](https://docs.helius.dev/yellowstone-grpc/getting-started)\n- [gRPC 官方文档](https://grpc.io/docs/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainbuff%2Fyellowstone-grpc-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchainbuff%2Fyellowstone-grpc-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainbuff%2Fyellowstone-grpc-java/lists"}