solana-toolkit-guide
БесплатноБез исполняемых скриптовНе проверенGuide to the Solana Wallet Toolkit — vanity address generation with multi-threaded search, official Solana Labs libraries, Rust and TypeScript…
от nirholas★ 289 звёзд на GitHubОб этом скилле
Solana Wallet Toolkit Guide
A Solana development toolkit using official Solana Labs libraries. Features vanity address generation with parallel, multi-threaded search across all CPU cores in both Rust and TypeScript.
Features
| Feature | Description | Implementation |
|---|---|---|
| Vanity Addresses | Custom wallet address prefixes | Rust (fastest) + TypeScript |
| Multi-threaded | Parallel search using all CPU cores | Rust + Node.js workers |
| Wallet Generation | Standard Solana wallet creation | TypeScript |
| Key Management | Keypair import/export | TypeScript |
| MCP Server | AI agent interface | TypeScript |
Vanity Address Generation
What Are Vanity Addresses?
Custom Solana addresses that start with a specific prefix:
SPA...— Brand your Sperax walletDeFi...— DeFi-themed addressChad...— Flex address
Rust Implementation (Fastest)
# Build
cargo build --release
# Generate address starting with "SPA"
./target/release/solana-vanity --prefix SPA --threads 16
Performance comparison for 3-character prefix:
| Threads | Time (avg) |
|---|---|
| 1 | ~45 seconds |
| 4 | ~12 seconds |
| 8 | ~6 seconds |
| 16 | ~3 seconds |
TypeScript Implementation
# Install
npm install @nirholas/solana-wallet-toolkit
# Generate vanity address
npx solana-vanity --prefix SPA
import { generateVanityAddress } from '@nirholas/solana-wallet-toolkit';
const result = await generateVanityAddress({
prefix: 'SPA',
threads: 8,
caseSensitive: false
});
console.log(`Address: ${result.publicKey}`);
console.log(`Found in: ${result.attempts} attempts`);
Difficulty Scaling
Solana uses Base58 encoding. Expected attempts for a prefix:
| Prefix Length | Avg Attempts | Time (8 threads) |
|---|---|---|
| 1 char | ~58 | < 1 second |
| 2 chars | ~3,364 | < 1 second |
| 3 chars | ~195,112 | ~3 seconds |
| 4 chars | ~11.3M | ~3 minutes |
| 5 chars | ~656M | ~3 hours |
| 6 chars | ~38B | ~7 days |
Wallet Generation
import { Wallet } from '@nirholas/solana-wallet-toolkit';
// Create new wallet
const wallet = Wallet.create();
console.log(wallet.publicKey.toBase58());
// From seed phrase
const restored = Wallet.fromMnemonic('your twelve words here');
// Export keypair
const keypair = wallet.exportKeypair();
MCP Integration
{
"mcpServers": {
"solana-toolkit": {
"command": "npx",
"args": ["@nirholas/solana-wallet-toolkit", "mcp"]
}
}
}
Tools:
generateWallet— Create new Solana walletgenerateVanityAddress— Generate vanity addressgetBalance— Check SOL/SPL token balancegetTokenAccounts— List token holdings
Use Cases
Brand Identity
Generate a branded wallet address for your project that's recognizable and memorable.
Security Research
Test address generation performance and entropy distribution.
Portfolio Tracking
Use the toolkit to create and manage multiple Solana wallets for different purposes.
Links
- GitHub: https://github.com/nirholas/solana-wallet-toolkit
- Solana Docs: https://docs.solana.com
- Sperax (multi-chain DeFi): https://app.sperax.io
Установить solana-toolkit-guide в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл solana-toolkit-guide?
Guide to the Solana Wallet Toolkit — vanity address generation with multi-threaded search, official Solana Labs libraries, Rust and TypeScript implementations. Includes wallet generation, custom address prefixes, and OG names on the blockchain.
Как установить скилл solana-toolkit-guide?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл solana-toolkit-guide запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic