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 the engineer's ability to construct Solana transactions with multiple instructions using @solana/web3.js. The focus is on proper use of Transaction, TransactionInstruction, and SystemProgram APIs to build atomic multi-instruction transactions with correct account metadata configuration.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Transaction instantiation",
"description": "Creates a Transaction object using the Transaction class from @solana/web3.js and sets the recentBlockhash property correctly",
"max_score": 10
},
{
"name": "First transfer instruction",
"description": "Uses SystemProgram.transfer() to create an instruction that transfers 1000 lamports from the source account to destination1 with correct keys parameter containing fromPubkey, toPubkey, and lamports",
"max_score": 20
},
{
"name": "Second transfer instruction",
"description": "Uses SystemProgram.transfer() to create an instruction that transfers 500 lamports from the source account to destination2 with correct keys parameter containing fromPubkey, toPubkey, and lamports",
"max_score": 20
},
{
"name": "Account creation instruction",
"description": "Uses SystemProgram.createAccount() to create an instruction for the new account with correct parameters: fromPubkey (source), newAccountPubkey, space (2048), programId (owner), and lamports (calculated for rent exemption or specified)",
"max_score": 25
},
{
"name": "Instruction ordering",
"description": "Adds all three instructions to the transaction in the correct order: first transfer, second transfer, then account creation using transaction.add() or by passing instructions to Transaction constructor",
"max_score": 15
},
{
"name": "Transaction signers",
"description": "Properly configures the transaction to include required signers by setting transaction.feePayer or ensuring both source keypair and new account keypair can sign (for account creation)",
"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