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-9/

{
  "context": "This criteria evaluates the engineer's ability to construct Solana transactions with multiple instructions using @solana/web3.js. The focus is on proper use of Transaction, TransactionInstruction, and SystemProgram APIs to build atomic multi-instruction transactions with correct account metadata configuration.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Transaction instantiation",
      "description": "Creates a Transaction object using the Transaction class from @solana/web3.js and sets the recentBlockhash property correctly",
      "max_score": 10
    },
    {
      "name": "First transfer instruction",
      "description": "Uses SystemProgram.transfer() to create an instruction that transfers 1000 lamports from the source account to destination1 with correct keys parameter containing fromPubkey, toPubkey, and lamports",
      "max_score": 20
    },
    {
      "name": "Second transfer instruction",
      "description": "Uses SystemProgram.transfer() to create an instruction that transfers 500 lamports from the source account to destination2 with correct keys parameter containing fromPubkey, toPubkey, and lamports",
      "max_score": 20
    },
    {
      "name": "Account creation instruction",
      "description": "Uses SystemProgram.createAccount() to create an instruction for the new account with correct parameters: fromPubkey (source), newAccountPubkey, space (2048), programId (owner), and lamports (calculated for rent exemption or specified)",
      "max_score": 25
    },
    {
      "name": "Instruction ordering",
      "description": "Adds all three instructions to the transaction in the correct order: first transfer, second transfer, then account creation using transaction.add() or by passing instructions to Transaction constructor",
      "max_score": 15
    },
    {
      "name": "Transaction signers",
      "description": "Properly configures the transaction to include required signers by setting transaction.feePayer or ensuring both source keypair and new account keypair can sign (for account creation)",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

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

tile.json