TypeScript type definitions and interfaces for the WalletConnect Protocol v2, enabling type-safe development across the WalletConnect ecosystem
70
{
"context": "This criteria evaluates how well the engineer utilizes the IKeyChain interface from @walletconnect/types to implement a secure credential manager. The focus is exclusively on proper usage of the package's secure storage abstractions.",
"type": "weighted_checklist",
"checklist": [
{
"name": "IKeyChain Implementation",
"description": "Uses IKeyChain interface from @walletconnect/types as the storage mechanism, either by implementing it or composing with an IKeyChain instance",
"max_score": 30
},
{
"name": "set Method Usage",
"description": "Correctly uses IKeyChain.set(key: string, value: string) method to store credentials securely",
"max_score": 15
},
{
"name": "get Method Usage",
"description": "Correctly uses IKeyChain.get(key: string) method to retrieve credentials, properly handling the return value",
"max_score": 15
},
{
"name": "getAll Method Usage",
"description": "Correctly uses IKeyChain.getAll() or IKeyChain.getKeys() method to list all stored credential keys",
"max_score": 15
},
{
"name": "delete Method Usage",
"description": "Correctly uses IKeyChain.delete(key: string) or IKeyChain.del(key: string) method to remove specific credentials",
"max_score": 15
},
{
"name": "Type Safety",
"description": "Properly types all interactions with IKeyChain interface, leveraging TypeScript types from @walletconnect/types",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-walletconnect--typesevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10