-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description:
The smart contracts reference a verification server that needs to be implemented in Rust. This is critical for the social media NFT verification and asset authenticity checks.
Requirements:
- Implement ECDSA signature verification for social media NFT minting
- Create API endpoints for asset verification (Twitch, Instagram, X, Google Analytics)
- Implement secure key management for signing verification messages
- Add rate limiting and authentication for API endpoints
- Create a database schema for storing verification records
- Implement a caching layer for API responses
##Technical Specifications:
// Core verification service structure
pub struct VerificationService {
private_key: Secp256k1PrivateKey,
api_clients: HashMap<Platform, Box<dyn ApiClient>>,
cache: RedisCache,
db: Database,
}
// API endpoints needed:
// POST /api/v1/verify/social-media
// POST /api/v1/verify/website
// POST /api/v1/verify/domain
// GET /api/v1/verification/{id}/status
Acceptance Criteria:
[ ] ECDSA signature generation and verification working
[ ] Integration with Twitch Helix API
[ ] Integration with Instagram Graph API
[ ] Integration with X (Twitter) API
[ ] Integration with Google Analytics API
[ ] Rate limiting implemented
[ ] Authentication middleware
[ ] Database schema for verification records
[ ] Comprehensive error handling
[ ] Unit and integration tests
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request