CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-walletconnect--types

TypeScript type definitions and interfaces for the WalletConnect Protocol v2, enabling type-safe development across the WalletConnect ecosystem

70

1.18x
Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "This evaluation assesses how well the engineer uses the @walletconnect/types package to implement cryptographic operations. The focus is on proper usage of ICrypto interface methods and CryptoTypes for key generation, shared key establishment, and encryption/decryption operations.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Key pair generation",
      "description": "Uses ICrypto.generateKeyPair() method to generate cryptographic key pairs for peers",
      "max_score": 20
    },
    {
      "name": "Client ID generation",
      "description": "Uses ICrypto.getClientId() method to derive unique client identifiers from public keys",
      "max_score": 15
    },
    {
      "name": "Shared key establishment",
      "description": "Uses ICrypto.generateSharedKey() method with proper parameters (selfPrivateKey, peerPublicKey) to establish shared encryption keys between peers",
      "max_score": 25
    },
    {
      "name": "Message encryption",
      "description": "Uses ICrypto.encrypt() method with CryptoTypes.EncryptParams (message, shared key, encoding type) to encrypt messages",
      "max_score": 20
    },
    {
      "name": "Message decryption",
      "description": "Uses ICrypto.decrypt() method with CryptoTypes.DecryptParams (encrypted data, shared key, encoding type) to decrypt messages",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-walletconnect--types

tile.json