Skip to content

Interactive UI - Automatic Testing Interface for Solana Anchor Programs

Testship automatically generates a beautiful, intuitive testing interface for any Anchor program. No configuration, no boilerplate code - just instant access to all your program’s instructions and accounts.

When you launch Testship, it:

  1. Reads your program’s IDL (Interface Definition Language)
  2. Analyzes all instructions and their parameters
  3. Generates a fully functional UI with proper input fields
  4. Displays account requirements and types

The UI automatically determines the appropriate input type for each parameter:

  • Public Keys: Special input with validation and copy/paste support
  • Numbers: Numeric inputs with proper range validation
  • Strings: Text inputs with length constraints
  • Booleans: Toggle switches
  • Enums: Dropdown selectors with all available options
  • Complex Types: Nested forms for structs and custom types

As you interact with the UI:

  • Input validation happens in real-time
  • Error messages guide you to correct issues
  • Transaction status updates appear immediately
  • Success/failure states are clearly indicated

After executing an instruction, you’ll see:

  • Transaction signature
  • Block confirmation status
  • Account state changes
  • Program logs
  • Error details (if any)
  1. Select Instruction: Click on any instruction from the sidebar
  2. Fill Parameters: Enter required values in the auto-generated form
  3. Select Accounts: Choose from suggested accounts or enter custom ones
  4. Execute: Click the “Execute” button to send the transaction
  5. View Results: See transaction details and updated account states
  • Zero Setup: No need to write test scripts
  • Visual Testing: See your program in action immediately
  • Quick Iteration: Test changes faster than traditional methods
  • Non-Developer Friendly: Share with team members who don’t code
  • Comprehensive: Access all instructions and accounts in one place

Click on any account to inspect:

  • Current state and data
  • Owner program
  • Balance
  • Rent status

Execute multiple instructions in sequence:

  1. Queue up instructions
  2. Configure parameters for each
  3. Execute as a single transaction or separately

View all past transactions:

  • Timestamps
  • Success/failure status
  • Parameters used
  • Quick replay functionality

Learn how Testship automatically handles complex PDAs in PDA Derivation.