
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@crunchdao/cli
Advanced tools
A command-line interface for the Crunch Protocol, allowing for Coordinator Management, Crunch Management and Staking Operations.
Documentation: https://protocol.crunchdao.com/cli/
npm install -g @crunchdao/cli
# Configure your environment
crunch-cli config set network devnet
crunch-cli config set wallet ~/.config/solana/devnet.json
# Check your setup
crunch-cli config show
# Register as a coordinator
crunch-cli coordinator register "MyCoordinator"
The CLI is organized by functional domains rather than user roles:
crunch-cli coordinator - Coordinator-specific operationscrunch-cli cruncher - Participant/cruncher operationscrunch-cli staking - All staking-related operationscrunch-cli crunch - Crunch competition management and participationcrunch-cli model - Model & simulation tools (requires: pip install crunch-cli)crunch-cli config - Global configuration managementAll commands support these global options:
-n, --network <network> - Solana network (mainnet-beta|testnet|devnet|localhost)-w, --wallet <path> - Path to wallet keypair file-u, --url <url> - Custom RPC URL (overrides network)-o, --output <format> - Output format (json|table|yaml)-v, --verbose - Enable verbose logging-q, --quiet - Suppress non-error output--dry-run - Show what would be executed without running--timeout <seconds> - Command timeout in seconds# Deposit tokens for staking
crunch-cli staking deposit 1000
# Delegate to a coordinator
crunch-cli staking delegate 7x8yF...3k9L 500
# Check positions and rewards
crunch-cli staking positions
crunch-cli staking rewards
# Claim rewards
crunch-cli staking claim
# Add a model to a competition
crunch-cli cruncher model add "DataSci2024" "bot1" "submission123" "resource456" "gpu" "start"
# List models in a competition
crunch-cli cruncher model list "DataSci2024"
# Update model
crunch-cli cruncher model update "DataSci2024" "bot1" '{"state": "stop"}'
# Install Python companion
pip install crunch-cli
# Run simulations
crunch-cli model list
crunch-cli model run baseline
crunch-cli model validate scenario.yaml
The CLI uses a global configuration file stored at ~/.crunch/config.json:
# Set default network
crunch-cli config set network devnet
# Set default wallet
crunch-cli config set wallet ~/.config/solana/devnet.json
# View current configuration
crunch-cli config show
# Validate configuration
crunch-cli config validate
Please see the main repository's contributing guidelines.
MIT
FAQs
Crunch Protocol CLI
The npm package @crunchdao/cli receives a total of 23 weekly downloads. As such, @crunchdao/cli popularity was classified as not popular.
We found that @crunchdao/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.