SOLANA_KEYPAIR_PATH: Path to your Solana keypair file
SOLANA_CLUSTER: (Optional) Solana cluster to use (defaults to 'devnet')
Commands
Test Management
# Create a new chaos testglitchtest-p<program-id>-tFUZZ-d300-i5# Options:# -p, --program <address> Target program address# -t, --type <type> Test type (FUZZ, LOAD, EXPLOIT, CONCURRENCY)# -d, --duration <seconds> Test duration in seconds (default: 300)# -i, --intensity <level> Test intensity 1-10 (default: 5)# View test resultsglitchtestresults<test-id># Cancel a running testglitchtestcancel<test-id>
Governance
# Create a proposalglitchgovernancepropose \-t"Test Title" \-d"Description" \-p<program-id> \-s1000# Options:# -t, --title <title> Proposal title# -d, --description <desc> Proposal description# -p, --program <address> Target program address# -s, --stake <amount> Amount of GLITCH to stake# Vote on a proposalglitchgovernancevote-p<proposal-id>-vyes# Execute a passed proposalglitchgovernanceexecute<proposal-id>