solana-dev

Develop Solana dApps with Anchor and Pinocchio program support.

Updated Jun 4, 2024
One-click install
npx skills add https://github.com/meta-light/meta-light --skill solana-dev-meta-light
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solana-dev
Source: https://github.com/meta-light/meta-light/tree/main/.agents/skills/solana-dev
Command: npx skills add https://github.com/meta-light/meta-light --skill solana-dev-meta-light

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node, rust, solana-cli, anchor-cli, solana-program, solana-zk-sdk, solana-commitment-config, spl-token-2022, spl-associated-token-account, spl-token-confidential-transfer-proof-generation, spl-token-confidential-transfer-proof-extraction, tokio, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides comprehensive support for Solana development, including building dApps, working with Anchor programs, and handling various Solana-related tasks.

Core Features & Use Cases

  • DApp UI and Wallet Connection: Integrates with framework-kit and wallet-standard for UI and wallet connection.
  • On-chain Program Development: Supports Anchor and Pinocchio programs with various testing options.
  • Security Hardening: Provides guardrails for transaction review, untrusted data handling, and security checklists.
  • Quick On-chain Lookups: Offers live documentation search and on-chain lookups using public RPC.
  • Solana MCP Server: Integrates with the Solana Developer MCP server for real-time documentation access and expert assistance.
  • Use Case: A developer wants to build a new dApp on Solana. This Skill can guide them through the process, including setting up the environment, writing Anchor programs, and integrating with external services.

Quick Start

Use the solana-dev skill to set up a new development environment for a Solana dApp.

Frequently Asked Questions about solana-dev

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

FAQPage Schema
How do I build a Solana dApp with Anchor and wallet integration?

To build a Solana dApp, this Skill guides you through setting up the environment, writing on-chain Anchor programs, and integrating wallet connections using framework-kit and wallet-standard. It provides end-to-end support for your dApp UI and program logic.

What do I need installed to start Solana program development?

Solana program development requires Node.js, the Rust toolchain, Solana CLI, and Anchor CLI. You must install these dependencies to utilize the environment setup, on-chain program testing, and documentation access features provided.

Can I use Pinocchio instead of Anchor for on-chain program development?

Yes, you can use Pinocchio as an alternative to Anchor for on-chain program development. This Skill supports both frameworks, offering various testing options and guidance for writing programs with Pinocchio.

How do I handle untrusted data and perform security checks for Solana programs?

To secure Solana programs, this Skill provides security hardening guardrails including transaction review checklists and untrusted data handling procedures. These mechanisms help you validate inputs and secure your on-chain logic.

How can I access live Solana documentation and perform on-chain lookups?

You can access live Solana documentation and perform on-chain lookups by utilizing the integrated Solana Developer MCP server and public RPC. This allows for real-time documentation search and quick on-chain data retrieval.

Does this Skill support SPL token 2022 and confidential transfers?

Yes, this Skill supports SPL token 2022 and confidential transfers by leveraging specific dependencies like spl-token-confidential-transfer-proof-generation and spl-token-confidential-transfer-proof-extraction for your Solana programs.