Commit Graph

118 Commits

Author SHA1 Message Date
ysq cef54e7373 feat: Upgrade SDK to version 0.1.4 and optimize event handling mechanism
1. Version upgrade: SDK version updated from 0.1.3 to 0.1.4
2. Remove BlockMetaEvent: Delete unnecessary block metadata event type and related code
3. Optimize event handling: Add block_time and block_time_ms fields to each event
4. Code optimization: Improve code formatting and structure
5. Example updates: Update example code and usage instructions in README
2025-07-25 16:43:06 +08:00
wood 3b89ca381c add block_time and block_time_ms 2025-07-25 15:32:05 +08:00
wood 566c2fda0d Merge branch 'main' of github.com:0xfnzero/solana-streamer into main 2025-07-25 13:44:40 +08:00
ysq a4987b9a3e feat: Add block metadata event support
- Implement BlockMetaEvent and SDKSystemEventParser
- Support block metadata subscription and processing
- Optimize event handling with separate tokio tasks
- Add commitment parameter support
- Upgrade version to 0.1.3
2025-07-24 19:37:34 +08:00
sgxiang a5269bb1ff Merge pull request #2 from cgrdavies/main
Plumb Account Required for Yellowstone GRPC Subscription
2025-07-24 19:24:38 +08:00
Chris Davies 690b9751c3 Update yellowstone_grpc.rs 2025-07-23 15:24:13 -04:00
ysq 7615102fd6 feat: enhance event parser with transfer data processing capabilities
- Bump version to 0.1.2
- Add TransferData struct for transaction data parsing
- Implement parse_transfer_datas_from_next_instructions function to extract transfer data from subsequent instructions
- Enhance UnifiedEvent trait with set_transfer_datas method
- Optimize transfer data extraction when parsing inner instructions
- Support transfer data parsing for multiple protocols (PumpFun, PumpSwap, Bonk, Raydium, etc.)
- Improve support for Token Program, Token 2022 Program, and System Program transfer instructions
2025-07-21 23:55:13 +08:00
ysq f43d44b350 feat: bump to v0.1.1 2025-07-20 00:39:42 +08:00
wood 666649efbd Merge branch 'main' of github.com:0xfnzero/solana-streamer into main 2025-07-20 00:03:28 +08:00
ysq c1cb1314f3 refactor: rename package to solana-streamer-sdk 2025-07-20 00:03:16 +08:00
wood 96f477f8e2 fix cargo.toml 2025-07-20 00:03:15 +08:00
ysq 041850f93b refactor: rename package to solana-streamer-sdk 2025-07-19 23:55:37 +08:00
ysq 9e34a01874 feat: refactor to multi-protocol event streaming system
Major architectural refactor, upgrading from simple logging system to comprehensive multi-protocol Solana DEX event streaming system:

 New Features:
- Support for 5 DEX protocols: PumpFun, PumpSwap, Bonk, Raydium CPMM, Raydium CLMM
- Implement unified event interface (UnifiedEvent trait) and event factory pattern
- Add dual streaming support: Yellowstone gRPC and ShredStream
- Add Chinese documentation (README_CN.md)

🏗️ Architectural Improvements:
- Refactor event parsing system with modular design
- Implement protocol-specific parsers and event types
- Optimize dependency management, update Cargo.toml
- Remove legacy logging modules, clean up redundant code

📊 Statistics:
- Added 46 files, 4511 lines of code
- Removed 1381 lines of legacy code
- Net addition of 3130 lines of code

Tech Stack:
- Rust async/await for asynchronous processing
- Protocol Buffers support
- Multi-protocol event parsing
- High-performance event stream subscription
2025-07-19 23:46:42 +08:00
周威威 a7c9721877 grpc optimization 2025-05-31 14:45:20 +08:00
wood f261b8a66d Update README.md 2025-05-28 12:47:19 +08:00
William 2a06ebe2c0 remove pumpfun create token 2025-05-21 20:41:00 +08:00
William b5bb229df3 update readme 2025-05-19 14:19:21 +08:00
William fcc4184636 update readme 2025-05-19 14:08:07 +08:00
William cddd335962 Merge pull request #5 from Chain-Fox/fix-regex-in-loop
perf: move regex compilation out of loop in RaydiumEvent::parse_logs
2025-05-19 13:46:05 +08:00
Burton Qin 43c877cbb3 perf: move regex compilation out of loop in RaydiumEvent::parse_logs 2025-05-19 00:47:35 +08:00
William 4198720c51 fix slippage and get_buy_token_amount_from_sol_amount 2025-05-14 22:11:16 +08:00
William 07651638b9 fix 2025-05-13 07:08:01 +08:00
William 3a60969b22 fix pump upgrade 2025-05-13 06:34:57 +08:00
William ee0f18a279 update poll tx status 2025-04-10 12:38:00 +08:00
William 8050d7ea8f rename jito mod 2025-04-10 12:29:42 +08:00
William c7acb32acf remove trade.rs 2025-04-10 11:56:19 +08:00
William 7c755058cc fix create token, add param with creator pubkey 2025-04-10 11:04:55 +08:00
William 1fd3163bf9 remove tonic-build lib 2025-04-09 23:44:14 +08:00
William fb9d47bc80 remove protobuf build 2025-04-09 23:36:51 +08:00
William a46bf4c77e fix duplicate instruction (2) 2025-04-09 21:07:27 +08:00
William d28675f96d update readme 2025-04-09 13:41:16 +08:00
William 351649b517 update readme 2025-04-09 13:38:19 +08:00
William 716611475b update readme 2025-04-09 13:36:15 +08:00
William dfcdf12a7e update readme 2025-04-02 14:25:30 +08:00
William 685ca6bd7e update readme 2025-04-02 14:18:52 +08:00
William d9cd8154b7 fix build errors 2025-04-02 14:08:48 +08:00
William ff877902a7 update readme 2025-04-02 14:03:56 +08:00
William ec03ed8edc add nextblock, 0slot support 2025-04-02 13:39:59 +08:00
William 2dc15b9020 add Arc 2025-02-26 09:56:20 +08:00
William ce06345106 CommitmentConfig 2025-02-26 04:02:49 +08:00
William 83484c12a4 rewrite Clone 2025-02-26 04:01:52 +08:00
William ec0b4e4981 change unit_price, unit_limit to uint 2025-02-21 23:13:28 +08:00
William 12ddfe4dc0 update fee for custructor 2025-02-21 23:02:15 +08:00
William ecb2ffa747 change priority_fee 2025-02-21 22:32:43 +08:00
William 8df2841b17 fix 2025-02-21 21:15:10 +08:00
William d3d2c37ee8 Merge branch 'main' of github.com:MiracleAI-Labs/pumpfun-sdk into main 2025-02-21 20:48:00 +08:00
William f4f3c0fb37 rebuild code 2025-02-21 20:47:28 +08:00
William 87fee74311 Merge branch 'main' of github.com:MiracleAI-Labs/pumpfun-sdk into main 2025-02-21 16:14:48 +08:00
William f2870ddd04 update readme 2025-02-21 16:14:36 +08:00
William a7c94838df add send_transactions 2025-02-16 14:21:42 +08:00