-
Notifications
You must be signed in to change notification settings - Fork 3.3k
improvement(tools): updated kalshi and polymarket tools and blocks #3021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile OverviewGreptile SummaryThis PR updates the Kalshi and Polymarket prediction market integrations with enhanced API coverage and improved data structures. Kalshi Updates:
Polymarket Updates:
Documentation:
All tools follow established patterns for authentication ( Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant Block as Kalshi/Polymarket Block
participant Registry as Tool Registry
participant Tool as Tool (V1/V2)
participant API as External API
Note over User,API: Kalshi V2 Tool Flow
User->>Block: Select operation & provide params
Block->>Registry: Request kalshi_*_v2 tool
Registry->>Tool: Load V2 tool config
Tool->>Tool: Build auth headers (RSA signature)
Tool->>API: POST/GET with authentication
API-->>Tool: Full API response
Tool->>Tool: Transform to structured output
Tool-->>Block: Return enhanced data
Block-->>User: Display results
Note over User,API: Polymarket New Tools Flow
User->>Block: Select activity/leaderboard/holders
Block->>Registry: Request polymarket_get_* tool
Registry->>Tool: Load tool config
Tool->>Tool: Build query parameters
Tool->>API: GET request to Data API
API-->>Tool: JSON response
Tool->>Tool: Map to TypeScript types
Tool-->>Block: Return typed data
Block-->>User: Display results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No files reviewed, no comments
Summary
Type of Change
Testing
Tested manually
Checklist