skills/testing/SKILL.md
For testing with Light Protocol programs and clients on localnet, devnet, and mainnet validation.
npx skillsauth add lightprotocol/skills testingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
AskUserQuestion to resolve blind spotsAskUserQuestion for anything unclear — never guess or assumeTask tool with subagents for parallel researchSkill toolTodoWriteRead, Glob, Grep, and DeepWiki MCP access, loading skills/ask-mcp. Scope reads to skill references, example repos, and docs.| Task | Reference |
|------|-----------|
| Start local validator | references/local.md |
| Test on devnet | references/devnet.md |
| Test Pinocchio programs | cargo test-sbf -p <program-name> (no Anchor required) |
These addresses are identical on devnet and mainnet.
| Program | Address |
|---------|---------|
| Light System | SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 |
| Compressed Token | cTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m |
| Account Compression | compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq |
| Light Registry | Lighton6oQpVkeewmo2mcPTQQp7kYHr4fWpAgJyEmDX |
See references/accounts.md for state trees, address trees, and protocol PDAs.
See references/addresses.md for devnet-specific addresses and lookup tables.
| Package | Link |
|---------|------|
| light-program-test | docs.rs |
| @lightprotocol/stateless.js | API docs |
| light-client | docs.rs |
This skill provides test patterns and configuration references only.
HELIUS_API_KEY (RPC provider key). Localnet testing needs no credentials. In production, load from a secrets manager.Read, Glob, Grep scoped to skill references, example repos, and docs.npx skills add Lightprotocol/skills from Lightprotocol/skills.documentation
For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.
development
For compressed token operations on Solana ~400x cheaper than SPL: create mints with interface PDAs, mint, transfer, approve, revoke, compress, decompress, merge, and Token-2022 with compression. Compressed token accounts are always rent-free. @lightprotocol/compressed-token (TypeScript) with createRpc() from @lightprotocol/stateless.js.
tools
For client and program development on Solana ~160x cheaper and without rent-exemption for per-user state, DePIN registrations, or custom compressed accounts. Create, update, close, burn, and reinitialize compressed accounts.
tools
For questions about Light Protocol's SDK, smart contracts and Solana development, Claude Code features, or agent skills. AI-powered answers grounded in repository context via DeepWiki MCP.