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 use @solana/web3.js WebSocket subscription APIs to monitor real-time account changes. The focus is on proper usage of the createSolanaRpcSubscriptions function, accountNotifications method, subscription lifecycle management, and extracting data from account notification payloads.",
"type": "weighted_checklist",
"checklist": [
{
"name": "WebSocket Client Creation",
"description": "Uses createSolanaRpcSubscriptions() to create a WebSocket RPC subscriptions client with the correct endpoint URL",
"max_score": 15
},
{
"name": "Address Conversion",
"description": "Properly converts the string account address to an Address type using the address() helper function from @solana/web3.js",
"max_score": 10
},
{
"name": "Account Subscription",
"description": "Correctly calls accountNotifications() method on the subscriptions client with the account address to create a subscription object",
"max_score": 20
},
{
"name": "Subscription Activation",
"description": "Properly calls .subscribe() on the subscription object to activate the subscription and obtain an async iterable",
"max_score": 15
},
{
"name": "Async Iteration",
"description": "Uses proper async iteration (for await...of) to process notifications from the subscription async iterable",
"max_score": 15
},
{
"name": "Notification Data Extraction",
"description": "Correctly extracts lamports balance and slot from the notification payload structure (notification.value.lamports and notification.context.slot)",
"max_score": 15
},
{
"name": "Subscription Cleanup",
"description": "Properly unsubscribes or aborts the subscription when stopping the monitor to prevent resource leaks",
"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