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 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-jsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10