solana-toolkit-guide

solana-toolkit-guide is a skill for Claude Code, Codex from nirholas/three.ws. It costs 50 tokens per session (909 once invoked), scanned A, original, Apache-2.0.

A toolkit for creating and managing Solana wallets, including addresses with a chosen starting pattern. Solana is a blockchain, and vanity addresses are wallet addresses generated to begin with selected characters.

In plain words
What is it for?
Generating wallets, importing and exporting keypairs, creating vanity addresses, and building Solana wallet functionality in Rust or TypeScript.
Why use it?
It provides documented Rust and TypeScript approaches for wallet creation, keypair handling, and searching for matching address prefixes.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nirholas/three.ws/solana-toolkit-guide
Any agent
npx skills add nirholas/three.ws --skill solana-toolkit-guide
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for solana-toolkit-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/solana-toolkit-guide.svg)](https://agentmods.dev/skills/nirholas/three.ws/solana-toolkit-guide)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/solana-toolkit-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/solana-toolkit-guide.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 909 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00050 $0.00909
Opus 5 $0.00025 $0.00454
Sonnet 5 $0.00010 $0.00182
Haiku 4.5 $0.00005 $0.00091

Measured yesterday against content hash 818ede2e1d04, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

solana-toolkit-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

data/skills/development/solana-toolkit-guide/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on 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 wallet
  • DeFi... — DeFi-themed address
  • Chad... — 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

Read the full file on GitHub · 141 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 141 lines · 50 tokens per session scan A 818ede2e1d04

Subscribe to this mod's changes

solana-toolkit-guide is a skill published in the GitHub repository nirholas/three.ws (110 stars, last pushed yesterday), licensed Apache-2.0. It adds 50 tokens to every session and 909 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

solana

Use when working on Solana software, including one or more of: Solana client code using TypeScript, Rust libraries that use Solana crates, Anchor programs, Quasar programs, LiteSVM tests, including Rust program files, TypeScript tests, and Anchor.toml or Quasar.toml configuration. Designed to create minimal, reusable…

quicknode/solana-finance-claude-plugin · 76 tokens

handling-rust-errors

HASH error handling patterns using error-stack crate. Use when working with Result types, Report types, defining custom errors, propagating errors with changecontext, adding context with attach, implementing Error trait, or documenting error conditions in Rust code.

hashintel/hash · 52 tokens

use-ts-sdk

Orchestrates TypeScript SDK integration for Aptos dApps. Routes to granular skills for specific tasks (client setup, accounts, transactions, view functions, types, wallet adapter). Use this skill for fullstack dApp integration or when multiple SDK concerns are involved. Triggers on: 'typescript sdk', 'ts-sdk', 'aptos…

aptos-labs/aptos-agent-skills · 102 tokens

ts-sdk-account

How to create and use Account (signer) in @aptos-labs/ts-sdk. Covers Account.generate(), fromPrivateKey(), fromDerivationPath(), Ed25519 vs SingleKey vs MultiKey vs Keyless, serialization (fromHex/toHex). Triggers on: 'Account.generate', 'Account.fromPrivateKey', 'Ed25519PrivateKey', 'SDK account', 'mnemonic'…

aptos-labs/aptos-agent-skills · 96 tokens

ts-sdk-address

How to create and use AccountAddress in @aptos-labs/ts-sdk. Covers address format (AIP-40), from/fromString/fromStrict, special addresses, LONG vs SHORT form, and derived addresses (object, resource, token, user-derived). Triggers on: 'AccountAddress', 'AccountAddress.from', 'AIP-40', 'derived address'…

aptos-labs/aptos-agent-skills · 95 tokens

ts-sdk-transactions

How to build, sign, submit, and simulate transactions in @aptos-labs/ts-sdk. Covers build.simple(), signAndSubmitTransaction(), waitForTransaction(), simulate, sponsored (fee payer), and multi-agent. Triggers on: 'build.simple', 'signAndSubmitTransaction', 'transaction.build', 'waitForTransaction', 'signAsFeePayer'…

aptos-labs/aptos-agent-skills · 94 tokens