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

{
  "context": "This criteria evaluates the engineer's ability to use @solana/web3.js to query and retrieve account information from the Solana blockchain. The focus is on proper usage of the Connection class, PublicKey handling, and the getAccountInfo method.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Connection initialization",
      "description": "Uses the Connection class constructor to create a connection to the Solana cluster with the provided RPC URL.",
      "max_score": 20
    },
    {
      "name": "PublicKey creation",
      "description": "Uses the PublicKey constructor to create a PublicKey object from the base58-encoded public key string.",
      "max_score": 20
    },
    {
      "name": "getAccountInfo usage",
      "description": "Calls the connection.getAccountInfo() method with the PublicKey object to retrieve account information.",
      "max_score": 25
    },
    {
      "name": "Account data extraction",
      "description": "Correctly extracts account properties from the returned AccountInfo object, including lamports, owner, executable, and data fields.",
      "max_score": 20
    },
    {
      "name": "Lamports conversion",
      "description": "Converts lamports to SOL by dividing by LAMPORTS_PER_SOL constant or equivalent calculation (1_000_000_000).",
      "max_score": 10
    },
    {
      "name": "Null account handling",
      "description": "Properly handles the case where getAccountInfo returns null for non-existent accounts.",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

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

tile.json