testing

Test Solana programs and clients across localnet, devnet, and mainnet environments.

6|2|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/Lightprotocol/skills --skill testing-lightprotocol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/Lightprotocol/skills/tree/main/skills/testing
Command: npx skills add https://github.com/Lightprotocol/skills --skill testing-lightprotocol

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of testing Solana programs, ensuring their functionality across different environments like localnet, devnet, and mainnet.

Core Features & Use Cases

  • Local Validation: Easily spin up and manage a local Solana validator for rapid development cycles.
  • Devnet/Mainnet Testing: Configure and execute tests against live network environments.
  • Program Address Management: Provides access to stable program addresses for Light Protocol components.
  • Use Case: A developer needs to verify a new Light Protocol smart contract's behavior before deploying to mainnet. They use this skill to run comprehensive tests on devnet, simulating real-world conditions.

Quick Start

Use the testing skill to start the local validator.

Frequently Asked Questions about testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test Solana programs on devnet and localnet?

Testing Solana programs across localnet and devnet requires environment variables like HELIUS_API_KEY and specific binaries including node, solana, and anchor to configure and execute tests against live network environments.

What is the best way to start a local Solana validator for smart contract testing?

The best way to start a local Solana validator for smart contract testing is to use the testing skill, which facilitates spinning up and managing a local Solana validator for rapid development cycles and pre-initialized account interactions.

Do I need a Helius API key to test Light Protocol smart contracts?

Yes, you need a HELIUS_API_KEY environment variable to test Light Protocol smart contracts on devnet, allowing you to simulate real-world conditions and interact with stable program addresses before mainnet deployment.

Can I manage stable program addresses for Light Protocol components during testing?

Yes, you can manage stable program addresses for Light Protocol components during testing, as the testing skill provides references for interacting with pre-initialized accounts and program addresses across localnet, devnet, and mainnet.

What binaries are required to run Solana program tests across different environments?

Running Solana program tests across different environments requires specific binaries such as node, solana, and anchor, which facilitate the execution of tests and interactions with local and live network environments.

Why test Solana programs on devnet before mainnet deployment?

Testing Solana programs on devnet before mainnet deployment allows developers to verify new Light Protocol smart contract behavior and simulate real-world conditions, ensuring functionality and stability across different network environments.