compresskit-cli v0.1.1 is a command-line toolkit for analyzing Solana programs and migrating their accounts to ZK Compression using the Light Protocol SDK. It provides four core commands: analyze (scan for compression opportunities), cost (side-by-side rent comparison), migrate (generate a MIGRATION.md with Rust and TypeScript migration code), and verify (check remaining uncompressed accounts after migration). It also includes a template scaffold command to generate Anchor programs with compressed account patterns for loyalty, gaming, and social use cases. Release cadence is experimental (pre-v1). Key differentiator: end-to-end migration workflow (analysis → costing → code generation → verification) vs. manual Light Protocol integration with no reusable templates.
npm install compresskit-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Run analysis for a Solana program ID (Tokenkeg...) to discover compressible accounts and estimate rent savings.
Manually implement migration steps from MIGRATION.md (Rust + TypeScript snippets provided).
Use --output to specify an empty directory; backup existing files before running.
Always specify --network mainnet when targeting production; defaults to devnet.
Re-run cost after program deployment to confirm numbers.
Use Anchor or Solana CLI for actual deployment; compresskit only generates code and analysis.
Add '@lightprotocol/compressed-token' and '@lightprotocol/stateless.js' to your Cargo.toml / package.json.
Review and fix TypeScript snippets manually; use `tsc --noEmit` to catch errors.
Replace placeholder program ID (e.g., '9xQeWvG816b...') with your actual program ID in the generated Rust code.
Verify program is deployed; pass --network mainnet if targeting mainnet-beta.
No dependency data recorded yet.