Skip to content

Testship

Free, Open-source, and Fast Testing For Solana Anchor Programs
Terminal window
npx @blockchain-hq/testship@latest start

No installation required! Just run the command above in your Anchor project directory and start testing instantly.

📦 View on npm | 🐙 GitHub | 𝕏 @testshipxyz

See Testship in action - testing Anchor programs interactively:

Testship brings testing directly to your Solana Anchor programs, wherever they are. Unlike other testing platforms that require you to move your code to their IDE or playground, Testship works seamlessly with your existing development environment.

Value Proposition: Test your Anchor programs without writing tests.

🚀 Interactive UI

Instantly test any Anchor program with an automatically generated, intuitive testing interface. Auto-generated forms, real-time validation, and transaction history - zero config required.

🔑 Smart PDA Derivation

Automatic derivation of simple and complex Program Derived Addresses (PDAs). Handles account-based seeds, nested derivations, and multi-step patterns - no manual calculations needed.

💡 Account Suggestions

Intelligent account suggestions based on usage history. Form persistence across sessions, account type filtering, and quick address reuse. Never lose your test data.

🔗 Session Sharing

Share your complete testing session via URL. Includes IDL, accounts, form data, and cluster config. Perfect for team collaboration and bug reporting.

⚡ Live Hot Reloading

Make changes to your program, run anchor build, and watch the UI update automatically via WebSocket. No manual restarts - seamless development workflow.

🛠️ Utility Tools

Built-in converters for timestamps, lamports, durations, and string encoding. Everything you need for Solana development in one place.

  • Interactive UI - Auto-generated forms for all instructions
  • Smart PDA Derivation - Automatic derivation of simple & complex PDAs
  • Account Suggestions - Usage-based recommendations with localStorage persistence
  • Session Sharing - Share complete testing sessions via compressed URLs
  • Live Hot Reloading - WebSocket-based automatic UI updates on anchor build
  • Transaction History - Track, filter, and replay past transactions
  • Utility Tools - Timestamp, lamports, duration, and string converters
  • Form Persistence - Never lose your test data across sessions
  • Multi-Wallet Support - Works with Phantom, Solflare, and all Solana wallets
  • Multi-Program Support - Automatically detects all programs in your workspace
  • 📝 Export to automated test suites (TypeScript/Rust)
  • 🔍 Advanced account inspection and state diff
  • 📹 Test scenarios recording and playback
  • 🔑 Multi-signature transaction testing
  • 🤖 Automated Vulnerability Scanning
  • 🔄 CI/CD integration

Ready to streamline your Solana development workflow? Check out our Quick Start guide to begin testing your Anchor programs with Testship in under 30 seconds.