nirholas/pump-fun-sdk/pump-ts-vanity
Claude Code and agent skill by nirholas/pump-fun-sdk
- community
Checking that the SKILL.md file is still in the repository.
Educational single-threaded TypeScript vanity address generator for Solana using @solana/web3.js with async iteration, event-loop yielding, streaming generator API, and best-effort memory zeroization.
Install
npx vskill@latest install nirholas/pump-fun-sdk/pump-ts-vanitySKILL.md
The same SKILL.md was published earlier as nirholas/pump-fun-sdk/pump-ts-vanity.
TypeScript Vanity Generator — Educational Reference Implementation
Single-threaded TypeScript vanity address generator using @solana/web3.js with async iteration, event-loop yielding, and streaming generator API.
Architecture
Library API (3 Usage Patterns)
Event-Loop Yielding
Yields to the event loop every 1,000 iterations to prevent blocking.
Performance Comparison
| Feature | Rust | TypeScript | |
|---|---|---|---|
| Speed | 100K+ keys/sec | ~5K keys/sec | |
| Parallelism | Rayon (multi-core) | Single-threaded | |
| Memory safety | Zeroize trait | Best-effort fill(0) | |
| Use case | Production | Educational/prototyping |
Best-Effort Security
JavaScript's garbage collector may copy/relocate buffers, so fill(0) is best-effort.
Patterns to Follow
- Use
@solana/web3.jsKeypair.generate()— never custom RNG - Yield to event loop periodically in async generators
- Call
secretKey.fill(0)after use (best-effort zeroization) - Validate Base58 patterns before starting generation
- Use
setImmediateorsetTimeout(0)for yielding, notprocess.nextTick
Common Pitfalls
- Single-threaded — orders of magnitude slower than Rust for long prefixes
- GC may relocate buffers before
fill(0)— no guaranteed memory cleanup in JS - Base58 is case-sensitive — validate user input patterns
Keypair.generate()returns 64-byte array (32 secret + 32 public)
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pump-ts-vanity/SKILL.md
Popularity
- Repository stars
- 113
- Repository forks
- 35
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nirholas/pump-fun-sdk/pump-ts-vanity)