This is the modern Solana JavaScript SDK that ditches classes for functional composition with pipes. You build transactions by chaining setTransactionMessageFeePayer and appendTransactionMessageInstruction calls through pipe functions instead of the old object-oriented approach. The big wins are tree-shaking (78% smaller bundles), zero dependencies, and 10x faster crypto with native Ed25519. The documentation is thorough with actual working examples, from basic SOL transfers to account fetching. If you're starting fresh on Solana or tired of the old web3.js bloat, this is what Anza built to replace it. The functional style takes some adjustment but the bundle size alone makes it worth learning.

skills.sh installs
355
GitHub stars
129
last updated
Aug 21, 2026

Install

$ npx -y skills add sendaifun/skills --skill solana-kit --agent claude-code

Installs into .claude/skills of the current project.

Files

Solana Kit Development Guide

A comprehensive guide for building Solana applications with @solana/kit - the modern, tree-shakeable, zero-dependency JavaScript SDK from Anza.

Overview

Solana Kit (formerly web3.js 2.0) is a complete rewrite of the Solana JavaScript SDK with:

  • Tree-shakeable: Only ship code you use (-78% bundle size)
  • Zero dependencies: No third-party packages
  • Functional design: Composable, no classes
  • 10x faster crypto: Native Ed25519 support
  • TypeScript-first: Full type safety

Quick Start

Installation

npm install @solana/kit

For specific program interactions:

npm install @solana-program/system @solana-program/token

Minimal Example

import {
  createSolanaRpc,
  createSolanaRpcSubscriptions,
  generateKeyPairSigner,
  lamports,
  pipe,
  createTransactionMessage,
  setTransactionMessageFeePayer,
  setTransactionMessageLifetimeUsingBlockhash,
  appendTransactionMessageInstruction,
  signTransactionMessageWithSigners,
  sendAndConfirmTransactionFactory,
  getSignatureFromTransaction,
} from "@solana/kit";
import { getTransferSolInstruction } from "@solana-program/system";

Sponsors

Details

Repository
github.com/sendaifun/skills
Categories
Documentation, Finance & Trading, Web3 & Blockchain
First seen
Jun 3, 2026

More from sendaifun/skills

All 20
1tfboy1 avataracademic-paper-writer-protfboy1/academic-paper-writer基于规范目录结构的学术论文排版助手。支持 PDF / .doc / .docx / .md 多种输入格式,自动选择 OCR 管道、重排版管道或 MD 直转管道。包含环境清理确认、断点恢复、智能配图裁剪、逐单元增量生成 DOCX、双单元质量核查、中间状态保存和 BibTeX 参考文献管理。所有中间文件放 resource352skills.sh installs
2davila7 avatarchangelog-generatordavila7/claude-code-templatesAutomatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, 350skills.sh installs
3guia-matthieu avatarstorytelling-storybrandguia-matthieu/clawfu-skillsMaster Donald Miller's 7-part StoryBrand framework from "Building a StoryBrand" (2017). Clarify your message so customers actually listen. Use when: Creating or347skills.sh installs
4pproenca avatar37signals-railspproenca/dot-skills37signals Rails coding principles and conventions from DHH, Jorge Manrubia, and the Fizzy/Basecamp/HEY codebase. This skill should be used when writing, reviewi346skills.sh installs
5sanjay3290 avatargoogle-ttssanjay3290/ai-skillsConvert documents and text to audio using Google Cloud Text-to-Speech. Use this skill when the user wants to: narrate a document, read aloud text, generate audi346skills.sh installs
6rysweet avatarlearning-path-builderrysweet/amplihackCreates personalized learning paths for technologies, frameworks, or concepts. Use for user-interactive session only for onboarding new technologies, hackathon 343skills.sh installs