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

{
  "context": "This criteria evaluates how effectively an engineer uses the @solana/web3.js package to simulate Solana transactions. The focus is on proper usage of the Connection class, transaction deserialization, simulation method calls, and handling of simulation results.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Connection initialization",
      "description": "Uses the Connection class to establish a connection to Solana devnet using clusterApiUrl('devnet') or an equivalent devnet RPC endpoint URL",
      "max_score": 15
    },
    {
      "name": "Transaction deserialization",
      "description": "Correctly deserializes the base64-encoded transaction string using Transaction.from() or VersionedTransaction.deserialize() with appropriate buffer handling (e.g., Buffer.from(serializedTransaction, 'base64'))",
      "max_score": 20
    },
    {
      "name": "Simulation method usage",
      "description": "Calls the simulateTransaction() method on the Connection instance with the deserialized transaction object",
      "max_score": 20
    },
    {
      "name": "Compute units extraction",
      "description": "Extracts compute units consumed from the simulation result using the unitsConsumed property from the simulation response value",
      "max_score": 15
    },
    {
      "name": "Logs extraction",
      "description": "Retrieves program logs from the simulation result using the logs property from the simulation response value",
      "max_score": 15
    },
    {
      "name": "Error handling",
      "description": "Properly handles simulation errors by checking the err property in the simulation result value and extracting error information when the simulation fails",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

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

tile.json