Installation
Usage
Cruncher Commands
cruncher create
Create a new Cruncher profile.
Usage:
name- Name of the cruncher
cruncher register
Register as a Cruncher for a specific competition.
Usage:
crunchName- Name of the crunch competitioncruncherName- Name of the Cruncher to register
cruncher get-address
Get the address of a Cruncher by name.
Usage:
name- Name of the cruncher
cruncher get
Get Cruncher information by wallet address.
Usage:
walletAddress- Wallet address of the Cruncher (optional, defaults to current wallet)
cruncher get-claim-record
Get claim record for a specific Cruncher in a competition.
Usage:
crunchName- Name of the crunch competitioncruncherWalletAddress- Wallet address of the cruncher
cruncher get-claimable-checkpoints
Get claimable checkpoints for the current wallet holder.
Usage:
crunchName- Name of the crunch competition
Model Commands
model add
Submit a new model to a competition.
Usage:
crunchName- Name of the crunch competitionmodelId- Unique model identifiersubmissionId- Submission identifierresourceId- Resource identifierhardwareType- Type of hardware useddesiredState- Desired state of the model
--skip-signature- Skip model signing (optional)
model update
Update model results with new data.
Usage:
crunchName- Name of the crunch competitionmodelId- Model identifier to updateupdateData- Update data as JSON string
--skip-signature- Skip model signing (optional)
model get
Get detailed information about a specific model.
Usage:
modelId- Model identifier
model get-crunch-models
Get all models submitted to a specific competition.
Usage:
crunchName- Name of the crunch competition
Claim Commands
claim
Claim available checkpoint rewards.
Usage:
crunchName- Name of the crunch competition
Configuration
The CLI uses a configuration system for managing settings. Use theconfig commands to manage your configuration:
Configuration Options
network(string) - Solana network (localnet, devnet, mainnet)wallet(string) - Path to wallet keypair fileloglevel(string) - Log level (debug, info, warn, error)
Default Configuration
Command Reference Summary
| Command | Description |
|---|---|
get | Get crunch account details |
cruncher create | Create a Cruncher profile |
cruncher register | Register as a Cruncher for a competition |
cruncher get-address | Get Cruncher address by name |
cruncher get | Get Cruncher info by wallet address |
cruncher list | List crunchers for a competition |
cruncher get-claim-record | Get claim record for a Cruncher |
cruncher get-claimable-checkpoints | Get claimable checkpoints |
model add | Submit a new model |
model update | Update model results |
model get | Get model information |
model get-crunch-models | Get all models for a competition |
claim | Claim checkpoint rewards |
config | Configuration management |
Common Workflows
Participating in a Competition
-
Create Cruncher Profile:
-
Register for Competition:
-
Submit Models:
-
Update Model Results:
-
Check Claimable Rewards:
-
Claim Rewards:
Related Packages
@crunchdao/coordinator-cli- Competition management operations (creating, starting, ending competitions, managing rewards and checkpoints)- See Global Options for shared configuration options
Best Practices
- Monitor Rewards: Regularly check for claimable checkpoints
- Secure Wallets: Keep wallet keys secure and backed up