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

{
  "context": "This criteria evaluates how well the engineer uses @solana/web3.js to construct TransactionInstruction objects for the Solana memo program. It focuses on proper instantiation of TransactionInstruction, correct usage of PublicKey, proper account metadata configuration, and correct data encoding.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "TransactionInstruction instantiation",
      "description": "Creates a new TransactionInstruction object using the TransactionInstruction constructor or class",
      "max_score": 25
    },
    {
      "name": "Program ID configuration",
      "description": "Sets the programId property to a PublicKey instance representing the memo program (MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr)",
      "max_score": 20
    },
    {
      "name": "PublicKey usage",
      "description": "Uses PublicKey class to create or handle the memo program ID and payer address (either via constructor, PublicKey.default, or proper type handling)",
      "max_score": 15
    },
    {
      "name": "Account metadata array",
      "description": "Includes a keys array in the TransactionInstruction containing account metadata objects with pubkey, isSigner, and isWritable properties",
      "max_score": 20
    },
    {
      "name": "Payer as signer",
      "description": "Configures the payer account in the keys array with isSigner set to true",
      "max_score": 10
    },
    {
      "name": "Data encoding",
      "description": "Encodes the memo message string into a Buffer or Uint8Array for the instruction's data property (e.g., using Buffer.from with UTF-8 encoding)",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

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

tile.json