
Solana Kit
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-codeInstalls 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