CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-solana--web3-js

Comprehensive JavaScript SDK for building Solana blockchain applications with modern architecture and type safety

93

1.29x

Evaluation93%

1.29x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "This evaluation assesses the engineer's ability to use @solana/web3.js package for stake account splitting and merging operations. The criteria focus on correct usage of the StakeProgram class and its methods for managing stake accounts on the Solana blockchain.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Connection setup",
      "description": "Uses Connection class to establish connection to Solana cluster with appropriate endpoint URL",
      "max_score": 8
    },
    {
      "name": "StakeProgram.split usage",
      "description": "Correctly uses StakeProgram.split() method to create split stake instructions with proper parameters (stake account, authorized keypair, lamports, new stake account)",
      "max_score": 25
    },
    {
      "name": "StakeProgram.merge usage",
      "description": "Correctly uses StakeProgram.merge() method to create merge instructions with proper parameters (destination account, source account, authorized keypair)",
      "max_score": 25
    },
    {
      "name": "Keypair generation",
      "description": "Uses Keypair.generate() to create new keypairs for split stake accounts and properly manages keypair loading from files",
      "max_score": 10
    },
    {
      "name": "Transaction construction",
      "description": "Properly constructs Transaction objects, adds stake instructions, and sets recent blockhash using connection.getLatestBlockhash() or similar",
      "max_score": 12
    },
    {
      "name": "Transaction signing",
      "description": "Correctly signs transactions using transaction.sign() or similar methods with the authorized keypair and any required additional signers",
      "max_score": 8
    },
    {
      "name": "Transaction sending",
      "description": "Sends signed transactions using connection.sendTransaction() or connection.sendRawTransaction() and retrieves transaction signatures",
      "max_score": 7
    },
    {
      "name": "Transaction confirmation",
      "description": "Confirms transactions using connection.confirmTransaction() with appropriate confirmation strategy (e.g., using blockhash and lastValidBlockHeight)",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-solana--web3-js

tile.json