Backend Issue #15:
Title: Create Blockchain Data Integration Service
Description:
Build a service to interact with Stellar blockchain and PredictIQ smart contracts for real-time data.
Requirements:
- Set up Stellar SDK integration
- Implement contract interaction methods:
- Get market data
- Get platform statistics
- Query user bets
- Get oracle results
- Implement RPC connection pooling
- Add retry logic for failed requests
- Implement event listening for contract events
- Cache blockchain data appropriately
- Handle network switching (testnet/mainnet)
- Implement transaction monitoring
- Add blockchain health checks
- Create data synchronization service
- Handle blockchain reorganizations
Acceptance Criteria:
Technical Notes:
typescript
// Example service method
async getMarketData(marketId: string): Promise {
// Check cache first
// Query contract
// Transform and return data
}
[ ] git checkout -b features/issue-15-Blockchain Integration Service
Labels: backend, blockchain, integration, high-priority
Backend Issue #15:
Title: Create Blockchain Data Integration Service
Description:
Build a service to interact with Stellar blockchain and PredictIQ smart contracts for real-time data.
Requirements:
Acceptance Criteria:
Technical Notes:
typescript
// Example service method
async getMarketData(marketId: string): Promise {
// Check cache first
// Query contract
// Transform and return data
}
[ ]
git checkout -b features/issue-15-Blockchain Integration ServicedevelopbranchLabels: backend, blockchain, integration, high-priority