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

{
  "context": "This criteria evaluates how effectively an engineer uses @solana/web3.js to query account balances and token information from the Solana blockchain. The focus is on proper usage of Connection class methods, PublicKey handling, and token account queries.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Connection instantiation",
      "description": "Creates a Connection instance using the provided cluster URL to interact with the Solana RPC endpoint.",
      "max_score": 10
    },
    {
      "name": "PublicKey creation",
      "description": "Properly creates PublicKey objects from base58 strings using the PublicKey constructor for all wallet and token account addresses.",
      "max_score": 15
    },
    {
      "name": "getBalance method",
      "description": "Uses Connection.getBalance() method to retrieve SOL balance in lamports for a given public key.",
      "max_score": 20
    },
    {
      "name": "getParsedTokenAccountsByOwner method",
      "description": "Uses Connection.getParsedTokenAccountsByOwner() or Connection.getTokenAccountsByOwner() to retrieve all SPL token accounts owned by a wallet address.",
      "max_score": 25
    },
    {
      "name": "getTokenAccountBalance method",
      "description": "Uses Connection.getTokenAccountBalance() to retrieve token balance information including amount and decimals for a specific token account.",
      "max_score": 20
    },
    {
      "name": "Error handling",
      "description": "Properly handles errors when invalid public key strings are provided, allowing PublicKey constructor to throw or catching and re-throwing errors appropriately.",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

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

tile.json