Comprehensive JavaScript SDK for building Solana blockchain applications with modern architecture and type safety
93
Evaluation — 93%
↑ 1.29xAgent success when using this tile
{
"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-jsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10