Overview
This page covers the blockchain integration aspects of the Iris Classification coordinator, including CLI setup, Coordinator registration, and prize distribution through the Crunch Protocol on Solana.Prerequisites
- Solana wallet with SOL tokens for transaction fees
- Crunch Protocol CLI tools installed:
@crunchdao/coordinator-cli@crunchdao/cruncher-cli
- Completed Coordinator implementation (see Coordinator Node)
CLI Installation
CLI Setup
Coordinator Configuration
Configure your Coordinator wallet for blockchain transactions:Coordinator Registration
Register as a Coordinator on the Crunch Protocol:Competition Management
Creating Competitions
Lifecycle Management
Prize Distribution
Checkpoint Initialization
Prize File Format
The Coordinator must generate a JSON file with the following format:timestamp- Unix timestamp in milliseconds (required)model- Model identifier receiving the prize (required)prize- Prize amount in micro USDC (required)
Multiple Checkpoints
Checkpoints can be created throughout the competition lifecycle:Integration with Coordinator
Blockchain-Ready Output
Your Coordinator should generate coordinator cli compatible output files, or convert to the checkpoint create prize format before creating a checkpoint.Security Considerations
Wallet Security
- Store private keys securely
- Use hardware wallets for mainnet deployments
- Implement multi-signature for large prize pools