solana-dev

Guide end-to-end Solana dapp development with Anchor programs and Surfpool testing.

1|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/tawf-labs/zkt-hackathon --skill solana-dev-tawf-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solana-dev
Source: https://github.com/tawf-labs/zkt-hackathon/tree/main/.claude/skills/solana-dev%20copy
Command: npx skills add https://github.com/tawf-labs/zkt-hackathon --skill solana-dev-tawf-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the chaos of setting up and building Solana projects correctly—covering wallet connection, transaction flows, Anchor/Pinocchio program development, testing, and the real-world toolchain/version issues that commonly break builds.

Core Features & Use Cases

  • End-to-end Solana development playbook: from wallet connection and UI transaction UX to compiling, deploying, and iterating on programs.
  • Framework-kit-first frontends: opinionated patterns for React/Next.js integration using the modern Solana JS stack.
  • Anchor or Pinocchio program workflows: guidance for account models, PDAs, CPIs, IDLs/codegen, and performance tradeoffs.
  • Local testing strategy: practical selection of LiteSVM/Mollusk vs Surfpool vs solana-test-validator, including debugging common runtime/tooling failures.
  • Compatibility + error diagnosis: fixes for GLIBC/Rust/Anchor/CLI mismatches, dependency conflicts, and common build/runtime errors.
  • Security guardrails: agent-safe procedures for simulation, confirmation, and untrusted on-chain data handling.

Quick Start

Ask to build and deploy your Solana dapp end-to-end on devnet using framework-kit for wallet connection, Anchor for the program, and Surfpool for testing.

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 wallet connection and Anchor?

To build a Solana dapp, you need to integrate a framework-kit frontend for wallet connection, write an Anchor or Pinocchio program, and use Surfpool for testing. This ensures correct transaction UX and reliable deployment.

What is the best way to test Solana smart contracts locally?

The best way to test Solana smart contracts is selecting between LiteSVM, Mollusk, and Surfpool based on your needs. You can run local integration testing to validate transaction flows before deploying to devnet.

Do I need Rust and Node.js 18+ for Solana development?

Yes, you need Node.js 18+ and Rust with Solana and Anchor CLIs installed. These toolchains are required to compile programs, run local validators, and manage project dependencies correctly.

How do I debug Solana Anchor toolchain compatibility and build errors?

To debug Solana Anchor toolchain errors, you must resolve GLIBC, Rust, and CLI version mismatches. Fixing dependency conflicts and aligning your environment versions prevents common build and runtime failures.

What are the security guardrails for Solana transaction simulation?

Solana transaction simulation requires strict safety practices to prevent signing or sending without explicit user approval. You must validate untrusted RPC and on-chain data while using simulation-first transaction handling.

Should I use Anchor or Pinocchio for my Solana program?

Choosing between Anchor or Pinocchio depends on your performance tradeoffs. Anchor provides robust tooling for account models and CPIs, while Pinocchio offers lower-level control for optimized Solana program execution.